plankton-code-quality

Automate code quality enforcement during file edits with PostToolUse hooks.

16|3|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/sehoon787/my-claude --skill plankton-code-quality-sehoon787
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plankton-code-quality
Source: https://github.com/sehoon787/my-claude/tree/main/skills/ecc/plankton-code-quality
Command: npx skills add https://github.com/sehoon787/my-claude --skill plankton-code-quality-sehoon787

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Write-time code quality enforcement to prevent drift, ensure formatting, and catch issues as files are edited, reducing debugging time and rework.

Core Features & Use Cases

  • Auto-formatting and linting on every file edit via PostToolUse hooks
  • Spawns Claude subprocesses to fix violations the agent didn't catch
  • Tiered model routing for fixes (Haiku, Sonnet, Opus) across languages
  • Supports Python, TypeScript, Shell, YAML, JSON, TOML, Markdown, Dockerfile
  • Guardrails: config-protection hooks and stop guardian to prevent rule gaming
  • Per-project integration with Plankton hooks for Claude Code workflows Use Case: In a multi-language repo, ensure consistent style on every change without slowing development.

Quick Start

Install Plankton hooks in your Claude Code project to enable write-time quality enforcement.

Frequently Asked Questions about plankton-code-quality

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate code formatting and linting during file edits in Claude Code?

Automate code formatting and linting during file edits by integrating PostToolUse hooks. These hooks trigger Claude subprocesses to fix violations immediately as files are edited, preventing drift and reducing rework across multi-language projects.

What is write-time code quality enforcement and how does it work?

Write-time code quality enforcement applies linting and formatting the moment a file is saved. It uses PostToolUse hooks to spawn Claude subprocesses that automatically detect and fix violations, catching issues as edits occur rather than during separate review.

Does this code quality hook approach support Python, TypeScript, and YAML files?

Yes, the hook system supports Python, TypeScript, Shell, YAML, JSON, TOML, Markdown, and Dockerfile formats. It applies tiered model routing across these languages to ensure consistent style and fix violations on every change.

How do PostToolUse hooks prevent agents from gaming linting rules?

PostToolUse hooks include config-protection hooks and a stop guardian to prevent rule gaming. These guardrails ensure the automated formatting and linting rules are strictly enforced without being bypassed during the file edit process.

Can I use tiered model routing for code fixes across different programming languages?

Yes, tiered model routing using Haiku, Sonnet, and Opus models can be used for code fixes across multiple languages. This routing scales the automated violation fixing process efficiently during file edits.

What are the limitations of using hooks for automated code quality in multi-language repos?

The primary limitation is the requirement for Plankton integration and PostToolUse hooks. While it supports multiple languages, this automated quality enforcement is specifically designed for Claude Code workflows and requires proper model routing setup.