Agent skill
quality-check
Run all quality checks including linting, formatting, and type checking. Use when user asks to check code quality, run checks, or verify code before committing.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/quality-check
SKILL.md
Quality Check Skill
Run comprehensive quality checks for the project including ESLint, Prettier formatting, and TypeScript type checking.
Instructions
When this skill is invoked:
-
Execute the quality check script:
bashbash .claude/skills/quality-check/scripts/run-checks.sh -
The script will:
- Run ESLint, Prettier formatting check, and TypeScript type checking
- Display color-coded results for each check
- Provide a summary showing passed/failed counts
- List suggested fixes for any failures
-
If the script exits with code 1 (failures detected):
- Show the complete output from the script
- Ask the user if they want to run suggested auto-fix commands:
npm run lint:fixfor linting issuesnpm run formatfor formatting issues
- Explain that type errors require manual fixes
-
If the script exits with code 0 (all passed):
- Confirm success and show the script output
- Let the user know the code is ready
Script Details
The run-checks.sh script:
- Runs all three quality checks in sequence
- Uses colored output for better readability
- Tracks which checks failed and provides specific suggestions
- Returns appropriate exit codes for CI/CD integration
When to Use
- User asks to "check code quality" or "run checks"
- Before creating a commit
- After making code changes
- When user asks "is the code ready?"
Success Criteria
All three checks must pass (exit code 0) for overall success.
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?