Agent skill
lint
Run formatting and linting checks on the codebase
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/lint-ahtavarasmus-lightfriend
SKILL.md
Quick Lint Check
Run all code quality checks without committing.
Process
Step 1: Check Formatting
cd backend && cargo fmt --check
Report pass/fail status.
Step 2: Run Clippy
cd backend && cargo clippy --workspace --all-targets --all-features -- -D warnings
Report any warnings or errors.
Step 3: Summary
Report overall status:
- Formatting: PASS/FAIL
- Clippy: PASS/FAIL (with count of issues if any)
Auto-Fix Option
If formatting fails, offer to auto-fix:
cd backend && cargo fmt
For clippy issues, some can be auto-fixed:
cd backend && cargo clippy --fix --allow-dirty --allow-staged
Note: Not all clippy issues are auto-fixable. Manual fixes may be required.
Quick Reference
# Check only
cd backend && cargo fmt --check && cargo clippy --workspace --all-targets --all-features -- -D warnings
# Auto-fix formatting
cd backend && cargo fmt
# Auto-fix clippy (where possible)
cd backend && cargo clippy --fix --allow-dirty --allow-staged
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?