renchris

Fix Lint — Code Quality skill for Claude Code

Code Quality community

Run linting and type checking, fix all auto-fixable issues.

How to install Fix Lint

Installs to ~/.claude/skills/renchris-claude-infrastructure-fix-lint/SKILL.md

Terminal
mkdir -p ~/.claude/skills/renchris-claude-infrastructure-fix-lint && curl -fsSL https://raw.githubusercontent.com/renchris/claude-infrastructure/HEAD/commands/fix-lint.md -o ~/.claude/skills/renchris-claude-infrastructure-fix-lint/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Fix Lint does

Run linting and type checking, fix all auto-fixable issues:

  1. Detect project type (Next.js/Python/both)
  2. Run appropriate linters:
    • TypeScript: bun run lint --fix or npm run lint -- --fix
    • Python: ruff check --fix && ruff format
  3. Run type checking:
    • TypeScript: tsc --noEmit
    • Python: mypy .
  4. Report any remaining issues that need manual fixes
  5. Summarize what was fixed

Focus on: $ARGUMENTS (or current directory if empty)

Alternatives in Code Quality

  • Brooks Sweep — Run all Brooks-Lint analyses in one pass, auto-fix safe findings, confirm risky ones 1.5k ★
  • Lint Task — Lint coder-eval Task YAML 166 ★
  • Lint — Run code quality checks on the project 155 ★

Full documentation available on GitHub

View Source Repository