Agent skill
add-check
Add a new code quality check to CI, justfile, and pre-commit hooks. Use when adding linters, formatters, type checkers, or other code quality tools to the project.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/add-check
SKILL.md
Adding a New Check
When adding a new code quality check (linter, formatter, type checker, etc.), update these three locations:
1. justfile
Add a new recipe and include it in the default target:
default: lint format typecheck your-check
your-check:
uv run YOUR_COMMAND
2. .github/workflows/ci.yaml
Add a step to the verify job after the existing checks:
- name: Run YOUR_CHECK
run: uv run YOUR_COMMAND
3. lefthook.yml
Add a job to the pre-commit.jobs list:
- name: YOUR_CHECK
glob: "*.py"
run: YOUR_COMMAND {staged_files}
If the tool can auto-fix issues, add stage_fixed: true.
Checklist
- Add dev dependency to
pyproject.tomlif needed - Add justfile recipe and update
defaulttarget - Add CI workflow step
- Add lefthook pre-commit job
- Run
justto verify all checks pass
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?