
Plankton Code Quality
Plankton Code Quality enforces code formatting and linting standards automatically every time Claude Code edits a file, using a three-phase system that auto-formats, collects violations, and delegates fixes to appropriately-tiered Claude subprocesses. It serves developers and teams who want real-time code quality without agent-side rule-gaming, and solves the problem of quality issues slipping through or agents disabling linters to avoid fixing code. The skill supports multiple languages including Python, TypeScript, Shell, YAML, and JSON, and includes protection mechanisms to prevent configuration tampering.
- skills.sh installs
- 4.9K
- GitHub stars
- 229.1K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add affaan-m/everything-claude-code --skill plankton-code-quality --agent claude-codeInstalls into .claude/skills of the current project.
Files
Plankton Code Quality Skill
Integration reference for Plankton (credit: @alxfazio), a write-time code quality enforcement system for Claude Code. Plankton runs formatters and linters on every file edit via PostToolUse hooks, then spawns Claude subprocesses to fix violations the agent didn't catch.
When to Use
- You want automatic formatting and linting on every file edit (not just at commit time)
- You need defense against agents modifying linter configs to pass instead of fixing code
- You want tiered model routing for fixes (Haiku for simple style, Sonnet for logic, Opus for types)
- You work with multiple languages (Python, TypeScript, Shell, YAML, JSON, TOML, Markdown, Dockerfile)
How It Works
Three-Phase Architecture
Every time Claude Code edits or writes a file, Plankton's multi_linter.sh PostToolUse hook runs:
Phase 1: Auto-Format (Silent)
├─ Runs formatters (ruff format, biome, shfmt, taplo, markdownlint)
├─ Fixes 40-50% of issues silently
└─ No output to main agent
Phase 2: Collect Violations (JSON)
├─ Runs linters and collects unfixable violations
├─ Returns structured JSON: {line, column, code, message, linter}
└─ Still no output to main agent
Sponsors
Details
- Repository
- github.com/affaan-m/everything-claude-code
- Category
- Code Review & Quality
More from affaan-m/everything-claude-code
All 256- Swift Concurrency 6 24.9K
- Visa Doc Translate4.9K
- Ai Regression Testing4.8K
- Architecture Decision Records4.8K
- Blueprint4.8K
- Everything Claude Code Conventions4.8K
- Exa Search4.8K
- Kotlin Testing4.8K
- Customs Trade Compliance4.7K
- Data Scraper Agent4.7K
- Documentation Lookup4.7K
- Enterprise Agent Ops4.7K
- Flutter Dart Code Review4.7K
- Inventory Demand Planning4.7K
- Kotlin Ktor Patterns4.7K
- Nanoclaw Repl4.7K
- Pytorch Patterns4.7K
- Ralphinho Rfc Pipeline4.7K
- Carrier Relationship Management4.6K
- Context Budget4.6K
- Crosspost4.6K
- Energy Procurement4.6K
- Fal Ai Media4.6K
- Kotlin Exposed Patterns4.6K