Plankton Code Quality
Write-time formatting, linting, and Claude-powered fixes for every file edit, enforced through hooks.
- CCM score
- 65 of 100
- skills.sh installs
- 11.9K
- GitHub stars
- 312.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers formatting, linting, and subprocess-driven fixes across Python, TypeScript, Shell, YAML, JSON, TOML, Markdown, and Dockerfile files
- Runs a three-phase PostToolUse flow: silent auto-format, JSON violation collection, then tiered
claude -pfixes with re-verification - Enforces config protection through a PreToolUse guard and a Stop hook that detects linter config changes via
git diff - Designed for teams that want quality checks during editing rather than only at commit time
Install
$ npx -y skills add affaan-m/ecc --skill plankton-code-quality -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/affaan-m/ecc
- Category
- Code Review & Quality
- First seen
- Jul 14, 2026
Questions
What does the plankton-code-quality skill do?
It enforces code quality at write time by running formatters and linters on every file edit through PostToolUse hooks. Violations the agent did not fix are handed to Claude subprocesses, and any that remain are reported back to the main agent.
How do I install the plankton-code-quality skill?
Run npx -y skills add affaan-m/ecc --skill plankton-code-quality -y in your project. After that, the agent gets write-time formatting, linting and auto-fix hooks on file edits.
Which tools does Plankton need before it works?
Core dependencies are jaq, ruff and uv, installed with brew install jaq ruff uv, plus uv sync --all-extras for Python linters. Each other language needs its own linter, such as biome for TypeScript, shellcheck and shfmt for Shell, or hadolint for Dockerfiles.
Where does plankton-code-quality rank in the Code Review & Quality category?
It ranks in the top 100 on the Code Review & Quality category page. Its distinct focus is write-time enforcement that also stops agents from editing linter configs to pass.
More from affaan-m/ecc
All 257- Fal Ai Media11.8K
- Visa Doc Translate11.8K
- Inventory Demand Planning11.8K
- Customs Trade Compliance11.8K
- Brand Voice11.8K
- Seo11.7K
- Kotlin Ktor Patterns11.7K
- Enterprise Agent Ops11.7K
- Quality Nonconformance11.7K
- Ralphinho Rfc Pipeline11.7K
- Crosspost11.7K
- Agent Eval11.7K
- Production Scheduling11.6K
- Videodb11.6K
- Nanoclaw Repl11.6K
- Logistics Exception Management11.6K
- Kotlin Exposed Patterns11.6K
- Carrier Relationship Management11.6K
- Energy Procurement11.6K
- Nuxt4 Patterns11.5K
- Returns Reverse Logistics11.5K
- Team Builder11.5K
- X Api11.5K
- Dmux Workflows11.5K
Similar to Plankton Code Quality
More Code Review & QualityAi Quality GateMCP servermustafacagri31 starsAutomated quality checks for AI-written JavaScript and TypeScript via ESLint, AST fixes, and Prettier.
claude-md-improverSkillanthropics/claude-plugins-official15.8K installsAudit and improve CLAUDE.md files by scoring them against quality criteria, then propose targeted updates after approval.
Pare LintMCP serverdave-london141 starsStructured linting and formatting via ESLint, Prettier, Biome, and Oxlint as typed JSON.
qlty-checkSkillparcadei/continuous-claude-v3487 installsUnified qlty CLI wrapper that checks, formats, and measures code quality across many languages.
code-formatter-installerSkillpatricio0312rev/skills279 installsStep-by-step setup of Prettier, ESLint, EditorConfig, and git hooks across JS, Python, Go, and Rust projects.