holistic-linting
БесплатноБез исполняемых скриптовНе проверенThis skill should be used when the model needs to ensure code quality through comprehensive linting and formatting. It provides automatic linting workflows…
Об этом скилле
Holistic Linting Skill
This skill embeds comprehensive linting and formatting verification into Claude Code's workflow, preventing the common pattern where code is claimed "production ready" without actually running quality checks.
Purpose
Prevent Claude from:
- Completing tasks without formatting and linting modified files
- Claiming code is "production quality" based on pattern-matching rather than verification
- Assuming only 2 linters exist (mypy + ruff) when projects may have 4+ linting tools
- Suppressing linting errors with
# type: ignoreor# noqacomments without understanding root causes
Ensure Claude:
- Automatically formats and lints all modified files before task completion
- Reads project-specific linting configuration from
CLAUDE.md - Resolves linting issues systematically using root-cause analysis
- Orchestrates concurrent linting agents when multiple files have issues
When This Skill Applies
This skill applies to all code editing tasks in projects with linting configuration. It provides different behavior based on Claude's role:
For Orchestrators (Interactive Claude Code CLI)
After completing implementation work:
- Delegate immediately - Launch linting-root-cause-resolver agent for modified files
- Read reports - Agent produces resolution reports in
.claude/reports/ - Delegate review - Launch post-linting-architecture-reviewer to validate resolution quality
- Iterate if needed - Re-delegate to resolver if reviewer identifies issues
CRITICAL: Orchestrators do NOT run formatting or linting commands themselves. The agent gathers its own linting data, formats files, runs linters, and resolves issues. Orchestrators only delegate tasks and read completion reports.
For Sub-Agents (Task-delegated agents)
Before completing any task that involved Edit/Write/MultiEdit:
- Format touched files - Run formatters on files the agent modified
- Lint touched files - Run linters on files the agent modified
- Resolve issues directly - Use linting tools directly to fix issues
- Don't complete - Don't mark task complete until all linting issues in touched files are resolved
Agent Delegation (Orchestrator Only)
Complete Linting Workflow
CRITICAL PRINCIPLE: Orchestrators delegate work to agents. Orchestrators do NOT run formatting commands, linting commands, or quality checks themselves. The agent does ALL work (formatting, linting, resolution). The orchestrator only delegates tasks and reads reports to determine if more work is needed.
WHY THIS MATTERS:
- Pre-gathering linting data wastes orchestrator context window
- Running linters duplicates agent work (agent will run them again)
- Violates separation of concerns: "Orchestrators route context, agents do work"
- Creates context rot with linting output that becomes stale
- Prevents agents from gathering their own fresh context
The orchestrator MUST follow this delegation-first workflow:
Step 1: Delegate to linting-root-cause-resolver immediately
Delegate linting resolution WITHOUT running any linting commands first:
Task(
agent="linting-root-cause-resolver",
prompt="Format, lint, and resolve any issues in <file_path>"
)
What NOT to do before delegating:
- ❌ Do NOT run
ruff formatbefore delegating - ❌ Do NOT run
ruff checkbefore delegating - ❌ Do NOT run
mypybefore delegating - ❌ Do NOT gather linting output for the agent
- ❌ Do NOT read error messages to provide to the agent
What TO do:
- ✅ Delegate immediately with just the file path
- ✅ Let agent gather its own linting data
- ✅ Trust agent to run formatters and linters itself
- ✅ Wait for agent to complete and produce reports
Reason: The agent follows systematic root-cause analysis workflows. It autonomously:
- Reads project linting configuration from
CLAUDE.md - Runs formatters on modified files (ruff format, prettier, etc.)
- Executes linters to identify issues (ruff, mypy, pyright, etc.)
- Researches rule documentation
- Traces type flows and architectural context
- Implements elegant fixes following python3-development patterns
- Verifies resolution by re-running linters
- Creates resolution artifacts in
.claude/reports/and.claude/artifacts/
Multiple Files Modified:
Launch concurrent agents (one per file) WITHOUT pre-gathering linting data:
Task(agent="linting-root-cause-resolver", prompt="Format, lint, and resolve any issues in src/auth.py")
Task(agent="linting-root-cause-resolver", prompt="Format, lint, and resolve any issues in src/api.py")
Task(agent="linting-root-cause-resolver", prompt="Format, lint, and resolve any issues in tests/test_auth.py")
Reason for concurrency: Independent file resolutions proceed in parallel, reducing total time.
Step 2: Delegate to post-linting-architecture-reviewer
After linting agent completes, delegate architectural review:
Task(
ag
Установить holistic-linting в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл holistic-linting?
This skill should be used when the model needs to ensure code quality through comprehensive linting and formatting. It provides automatic linting workflows for orchestrators (format → lint → resolve via concurrent agents) and sub-agents (lint touched files before task completion). Prevents claiming "production ready" code without verification. Includes linting rules knowledge base for ruff, mypy, and bandit, plus the linting-root-cause-resolver agent for systematic issue resolution.
Как установить скилл holistic-linting?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл holistic-linting запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic