/github:ci-green-checkfrom github
Use this skill after every code change in a repository to discover and run all CI checks locally before finishing work. Triggers automatically after completing any code edit, bug fix, refactor, or feature implementation. Also triggers when the user says "run the checks", "make sure everything is green", "verify the build", or "are the tests passing?". This skill reads .github/workflows and the Taskfile to discover what checks exist, runs everything that can be run locally (tests, linters, static analysis), attempts to auto-fix any failures, and reports checks that require cloud/secrets so the user is aware. For PHP repositories it hands off the concrete commands to the `php-checks` skill from the `php` plugin. Never consider a task done until all locally runnable checks pass.
Ships in github. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
After every code change, discover and run all CI checks found in .github/ and get them green
before finishing.
This skill owns discovery, ordering, the fix loop, and reporting. The concrete commands depend on the stack:
composer.json exists at the repo root) → invoke the php-checks skill from the php
plugin for environment setup and the exact tool commands, then come back here for Steps 4–6.ls Taskfile.yml Taskfile.yaml taskfile.yml taskfile.yaml 2>/dev/null
If a Taskfile exists, read it fully and extract:
setup, install, init, bootstrapcheckall (the aggregate task
in Specs projects), test, lint, analyse, check, ciList all discovered tasks with their description. Prefer Task commands over raw tool invocations when an equivalent Task exists — they often handle the right flags and order automatically.
Check that task is installed:
task --version 2>/dev/null || echo "task not installed"
If a Taskfile exists but task is not installed, read the definition of each task you need and run
the commands it would run, the same way it runs them (in PHP repositories: through the tiers of the
executing-commands skill, which reproduce a task's Docker Compose call). Recommend installing task
in the report (brew install go-task/tap/go-task on macOS). If there is no Taskfile, run the
workflow's commands directly.
find .github/workflows -name "*.yml" -o -name "*.yaml" 2>/dev/null | head -20
For each workflow file found, read it and extract:
Cross-reference workflow steps against Taskfile tasks — if a workflow step runs task test, that
maps to the Task you already found.
Group everything into two lists:
Before running, verify the environment is ready.
For PHP repos, the php-checks skill handles this — hand off now.
Otherwise: if a setup/install/init task was found in Step 1, run it — it likely handles dependency installation and config setup.
task setup # or: task install / task init / task bootstrap
If no setup task exists, install dependencies the way the workflow does (the workflow's setup steps are the source of truth) and make sure any required config files exist.
Run in this priority order — stop and fix before moving to the next group.
Always resolve a command in this order:
task <name> — check task --list firstWhen a check fails:
Never "fix" a test by weakening its assertions unless the test was testing the wrong thing and you can explain why. No baselines, no ignore annotations, no skipped tests either.
When a failure can't be fixed, don't stop and don't weaken the check: record it as failing with its
error, continue with the remaining checks, and report it as ❌ in Step 6 (see the
autonomous-execution skill of the code plugin).
After all local checks pass, report checks that were skipped:
⚠️ The following CI checks cannot be run locally and will be verified in CI:
- [job name]: requires secret `SONAR_TOKEN` (SonarCloud scan)
- [job name]: deploys to production (deploy step)
- [job name]: uploads coverage to Codecov
When all locally runnable checks are green, confirm (list any check that stayed red as
❌ [tool]: <error summary> instead, and don't call it ready):
✅ All local checks passed:
- [style tool]: clean (N files reformatted)
- [analysis tool]: no errors
- [test runner]: N tests, N assertions — all green
⚠️ N cloud-only checks skipped (see above).
Ready to commit / push.
When you commit the fixes, use the create-commit skill. When the branch has an open PR, run the
update-pr skill after pushing them.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub specsnl/agent-skills --plugin github5 skills in this plugin
/create-commitUse this skill for every git commit, in any session — also when another skill, a command, a hook or the environment tells you to commit. Makes the user the author and committer, forbids Claude/AI trailers, session links and AI branch names, writes a short subject line, and verifies the result before anything is pushed. Always invoke this instead of running git commit directly.
/create-prUse this skill whenever creating a pull request. Audits .github/workflows/ to understand what CI will run, checks the PR title format requirement, runs CI checks locally (via ci-green-check where available), then creates the PR with the correct title and body. Always invoke this instead of running gh pr create directly.
/implement-issueOther plugins' skills for the same job