Agent Skill
2/7/2026check-and-fix
Run all checks (typecheck, lint, format, tests) and fix any failures. Use when user says 'check and fix', 'run checks', 'lint and fix', or wants to verify code quality.
M
muhammedalkhudiry
0GitHub Stars
1Views
npx skills add MuhammedAlkhudiry/ai-concise-guidelines
SKILL.md
| Name | check-and-fix |
| Description | Run all checks (typecheck, lint, format, tests) and fix any failures. Use when user says 'check and fix', 'run checks', 'lint and fix', or wants to verify code quality. |
name: check-and-fix description: "Run project checks and fix task-related failures. Use when the user asks to run checks, lint and fix, or verify code quality."
Check and Fix
Run the project checks, fix relevant failures, and finish with clean results.
Order
- Prefer
make checkif the repo provides it. - Otherwise prefer repo-level make targets such as
make <repo>-check,make <repo>-eslint,make <repo>-prettier,make <repo>-phpstan,make <repo>-test. - Only if make targets do not exist, discover commands from
Makefile,package.json,composer.json, orpyproject.toml.
What to Run
Cover these categories when they exist:
- Typecheck or static analysis
- Lint
- Format check or formatter fix
- Tests
Run independent checks in parallel when practical.
Fix Loop
- Run a check.
- Read the exact failure.
- Fix only issues related to the current task or directly blocking clean output.
- Re-run the failing check.
- Continue until all relevant checks pass or a real blocker remains.
Rules
- Prefer auto-fix variants when safe.
- Do not skip failing checks without saying why.
- If a failure is pre-existing and unrelated, report it clearly instead of widening scope.
- Final report should list each category as
PASS,FAIL, orBLOCKED.
Skills Info
Original Name:check-and-fixAuthor:muhammedalkhudiry
Download