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.
Best use case
add-check is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
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.
Teams using add-check should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/add-check/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How add-check Compares
| Feature / Agent | add-check | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
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.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
SKILL.md Source
# 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:
```just
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:
```yaml
- name: Run YOUR_CHECK
run: uv run YOUR_COMMAND
```
## 3. lefthook.yml
Add a job to the `pre-commit.jobs` list:
```yaml
- 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.toml` if needed
- [ ] Add justfile recipe and update `default` target
- [ ] Add CI workflow step
- [ ] Add lefthook pre-commit job
- [ ] Run `just` to verify all checks passRelated Skills
tpscheck-automation
Automate Tpscheck tasks via Rube MCP (Composio). Always search tools first for current schemas.
speckit-check
Run `specify check` to verify that Spec Kit required tools (git, claude, gemini, code, cursor-agent, windsurf, qwen, opencode, codex, shai, qoder, etc.) are installed and available; interpret results and suggest next steps. Use when the user says "check Spec Kit environment", "specify not working", or "slash commands not showing".
safety-checker
Identifies unsafe operations in Zig code including pointer casts, bounds checking, null pointer dereferences, and undefined behavior. Use when writing low-level code, reviewing safety-critical sections, or debugging crashes.
identitycheck-automation
Automate Identitycheck tasks via Rube MCP (Composio). Always search tools first for current schemas.
check-duplicates
Check for duplicate or similar cases. Use before deep analysis to avoid investigating the same incident twice. Takes a CASE_ID and returns list of similar cases.
aget-check-evolution
Monitor .aget/evolution/ directory health. Validates file counts, naming conventions, disk usage, and returns health status with alerts on anomalies.
security-validation-checklist
Guides security validation checklist: Signal protocol security, encryption standards, authentication patterns, data protection. Use when validating security, reviewing security implementations, or ensuring security compliance.
security-compliance-compliance-check
You are a compliance expert specializing in regulatory requirements for software systems including GDPR, HIPAA, SOC2, PCI-DSS, and other industry standards. Perform compliance audits and provide im...
security-checklist
Analyze a security checklist Excel file by interactively identifying the relevant sheet, countermeasure entries, and output column, then checking whether GitHub Enterprise supports each item using the customer-security-trust FAQ and past reference checklists.
Pentest Checklist
This skill should be used when the user asks to "plan a penetration test", "create a security assessment checklist", "prepare for penetration testing", "define pentest scope", "follow security testing best practices", or needs a structured methodology for penetration testing engagements.
owasp-mobile-security-checker
Analyze Flutter and mobile applications for OWASP Mobile Top 10 (2024) security compliance. Use this skill when performing security audits, vulnerability assessments, or compliance checks on mobile applications. Performs automated scans for hardcoded secrets, insecure storage, weak cryptography, network security issues, and provides detailed remediation guidance.
Dependency Health Check
Assess dependency health across CVE exposure, freshness, maintainer risk, and license compatibility