Linting — Git skill for Claude Code
Run rm -rf .mypy_cache && pre-commit run --all-files and fix the issues.
How to install Linting
Installs to ~/.claude/commands/holmesgpt-holmesgpt-linting.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/HolmesGPT/holmesgpt/HEAD/.claude/commands/linting.md -o ~/.claude/commands/holmesgpt-holmesgpt-linting.md Restart Claude Code, or start a new session, for it to be picked up.
What Linting does
Run rm -rf .mypy_cache && pre-commit run --all-files and fix the issues.
Alternatives in Git
- Fix GitHub Issue — by jeremymailen - Analyzes and fixes GitHub issues using a structured approach with GitHub CLI for issue detai 708 ★
- Husky — by evmts - Sets up and manages Husky Git hooks by configuring pre-commit hooks, establishing commit message st 440 ★
- Pre Merge Check — Run pre-merge checks before submitting a PR 387 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Check Progress
Fix issues, summarize progress, run pre-commit, propose commit message (no staging/commit)
Bob Fix Precommit
Run pre-commit on a git repo and resolve everything it fires, where safe to auto-fix. Never auto-allowlists se
CommitAndNext
Commit the current applied fix and advance to the next /fix-issues finding.
Code Rabbit
Local code review on current changes — find issues, fix, verify, commit
Merge Prep
Get a docs change ready to merge: whole-set generation, linting, link and drift checks, in one deliberate pass
Fix CI
Analyze Github Actions logs and fix issues
Related Agents
Pre Commit Linter
Use this agent when the user wants to commit code using Claude. It should be triggered automatically before an
Python Code Quality Engineer
Production-grade Python code quality engineer enforcing Ruff linting, mypy strict type checking, comprehensive
Hive Quality
Unified quality enforcement agent combining type-checking (mypy) and linting/formatting (ruff) to maintain cod