plankton-code-quality

Run formatters and linters on file edits and delegate fixes to Claude Code.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/derekhu0002/ai4pb-orchestrator --skill plankton-code-quality-derekhu0002
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plankton-code-quality
Source: https://github.com/derekhu0002/ai4pb-orchestrator/tree/main/skills/plankton-code-quality
Command: npx skills add https://github.com/derekhu0002/ai4pb-orchestrator --skill plankton-code-quality-derekhu0002

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensures code quality is enforced at write-time by running auto-formatters and linters on every file edit and applying Claude-powered fixes, preventing drift between code and standards.

Core Features & Use Cases

  • Automatic formatting and linting during edit time via PostToolUse hooks.
  • Tiered model-based fixes (Haiku, Sonnet, Opus) to resolve violations with appropriate effort.
  • Strong defense against configuration tampering and insecure dependencies, with per-language tooling checks.

Quick Start

Clone Plankton into your project, install required dependencies, and start Claude Code to enable write-time formatting, linting, and fixes.

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?

You can automate code formatting and linting during edits by using PostToolUse hooks to run formatters and linters, then delegating violations to tiered model-assisted fixes. This enforces write-time code quality across Python, TypeScript, Shell, YAML, JSON, and more.

Can I use Claude Code to fix linting violations automatically?

Yes, Claude Code can fix linting violations automatically through a three-phase workflow: auto-format, collect violations, and delegate fixes using tiered models like Haiku, Sonnet, and Opus to apply appropriate effort for resolving issues.

Does write-time code quality enforcement work with multiple programming languages?

Write-time code quality enforcement supports multiple programming languages including Python, TypeScript, Shell, YAML, JSON, TOML, Markdown, and Dockerfile projects. Per-language tooling definitions and dependency management are applied automatically.

How do I prevent linter configuration tampering in an automated workflow?

To prevent linter configuration tampering in an automated workflow, dedicated hooks safeguard linter and config changes, while per-language tooling checks defend against insecure dependencies and unauthorized modifications.

What is the best way to run auto-formatters on every file edit without manual intervention?

The best way to run auto-formatters on every file edit without manual intervention is by integrating PostToolUse hooks that trigger a three-phase workflow: auto-format files, collect remaining violations, and verify delegated model-assisted fixes.

Why do I need tiered model-based fixes for code quality violations?

Tiered model-based fixes for code quality violations are needed to resolve issues with appropriate effort, using models like Haiku, Sonnet, and Opus to match the complexity of the violation and prevent drift between code and standards.