plankton-code-quality

Enforce write-time code quality with Plankton via PostToolUse hooks.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates code formatting, linting, and AI-powered fixes on every file edit, ensuring consistent code quality and preventing common errors before they are committed.

Core Features & Use Cases

  • Write-time Enforcement: Applies formatting and linting rules automatically as you code.
  • AI-Powered Fixes: Leverages Claude models (Haiku, Sonnet, Opus) to fix complex violations.
  • Config Protection: Prevents LLMs from disabling linter rules to pass checks.
  • Package Manager Enforcement: Blocks legacy package managers to ensure modern dependency management.
  • Use Case: Automatically format Python, TypeScript, Shell, YAML, and Markdown files as you edit them, with AI fixing any linting errors that formatters can't resolve.

Quick Start

Clone the Plankton repository and run claude in the directory to activate the hooks.

Frequently Asked Questions about plankton-code-quality

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

FAQPage Schema
How do I automatically format and lint code on every file edit?

Write-time code quality enforcement automatically formats and lints code on every file edit using PostToolUse hooks. This process applies formatting rules and runs linters as you code, preventing inconsistencies before they are committed.

Can Claude fix linting violations that auto-formatters cannot resolve?

Claude models can fix complex linting violations that auto-formatters cannot resolve. This Skill leverages Claude to automatically address unfixable linting errors and prevents LLMs from disabling linter rules to pass quality checks.

Does this code quality enforcement work with Python and TypeScript?

This code quality enforcement works with Python and TypeScript, as well as Shell, YAML, and Markdown files. It requires specific language linters and a Claude Code environment to integrate auto-formatting and AI-powered fixes across these languages.

How do I prevent LLMs from disabling linter rules to bypass quality checks?

You can prevent LLMs from disabling linter rules to bypass quality checks by using write-time enforcement with config protection. This mechanism blocks AI attempts to modify linter configurations and blocks legacy package managers to ensure modern dependency management.

What is the best way to enforce consistent code style across multiple languages?

The best way to enforce consistent code style across multiple languages is through write-time code quality enforcement using PostToolUse hooks. This approach integrates auto-formatting, linting, and Claude-powered fixes directly into your editing workflow via Claude Code.