diff --git a/.github/skills/fix-nightly-warnings/SKILL.md b/.github/skills/fix-nightly-warnings/SKILL.md new file mode 100644 index 00000000000..07810873c80 --- /dev/null +++ b/.github/skills/fix-nightly-warnings/SKILL.md @@ -0,0 +1,102 @@ +--- +name: fix-nightly-warnings +description: 'Fix ITK nightly build errors or compilation warnings reported on CDash. Use when: addressing CDash nightly failures. Creates a branch, fixes warnings, and opens a PR upstream.' +argument-hint: What warnings should this skill fix? +--- + +# Fix ITK Nightly Build Errors and Warnings + +Creates a focused branch containing fixes for errors or warnings reported on the ITK CDash nightly dashboard, then opens a PR upstream. + +## When to Use + +- CDash nightly build reports new errors, warnings, or Doxygen warnings +- User says "fix nightly errors", "address CDash warnings", or "there are new Doxygen warnings" + +## Available Scripts + +- **`scripts/list_nightly_warnings.py`** — Lists CDash builds that have warnings or errors. Defaults to `Nightly` builds from the last 24 hours. +- **`scripts/get_build_warnings.py`** — Fetches and summarizes warnings (or errors) for a specific CDash build ID, grouped by source file and warning flag. + +Run `python3 scripts/