What problem does it solve?
Plankton Code Quality integrates write-time quality enforcement into Claude Code workflows, automatically formatting and linting code as you edit to prevent drift and reduce review effort.
Core Features & Use Cases
- Auto-Format Phase: Runs formatters (ruff format, biome, shfmt, taplo, markdownlint) and fixes many issues silently.
- Violation Collection: Runs linters and collects unfixable issues into a structured report for review.
- Delegation & Tiering: Spawns Claude subprocesses and routes fixes to Haiku/Sonnet/Opus based on violation complexity; re-runs for verification.
- Defense against config tampering: PreToolUse hooks block unwanted linter-config edits, with a Stop hook to detect changes and a protected-files list.
- Language Support: Python, TypeScript, Shell, YAML, Markdown, Dockerfile, TOML, JSON.
Quick Start
Install Plankton hooks in your Claude Code project and run Claude Code to enable write-time formatting, linting, and automated fixes.