/py-pit:click-cli-linterfrom py-pit
Audits existing Python Click CLIs for architecture problems, anti-patterns, and UX issues, then proposes minimal, high-value fixes.
Ships in py-pit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill when reviewing or fixing an existing Python CLI built with Click.
This skill focuses on:
Apply this skill when the user:
Do not apply when:
Prefer this skill when the user:
Do not prefer this skill when:
Audit an existing Click CLI and provide:
Prefer minimal, high-leverage improvements over full rewrites.
Review the CLI across three layers:
Do not nitpick style unless it affects correctness, maintainability, or usability.
Always follow these rules.
Focus on:
Do not pad the review with trivial style comments.
Fix the smallest thing that materially improves the CLI.
Prefer:
print("Done")
to:
click.echo("Done")
rather than rewriting the whole command.
Separate:
Make it clear which problems are most important.
Do not change command names, hierarchy, or behavior unnecessarily.
Improve structure and idioms while preserving what the CLI is trying to do unless the current design is clearly broken.
Recommend:
click.echo()@click.option() / @click.argument() usageAvoid recommending solutions that drift into another framework unless explicitly requested.
Check for:
print() instead of click.echo()Group issues into:
Prefer small targeted changes.
Examples:
print() with click.echo()help= text to optionsWhen useful, provide:
When linting or reviewing a Click CLI, prefer this structure:
If the user asks for only a patch, still internally follow this structure and return the patch directly.
Call these out explicitly when present:
print() instead of click.echo()Before finishing an answer verify:
What SKILL.md sets; muted values are Claude Code's defaults
16 skills in this plugin
/alembic-migrationsProduction-safe Alembic migration workflows for SQLAlchemy 2.x projects. Use this skill when adding Alembic, generating migrations, reviewing autogenerate diffs, fixing broken migrations, or establishing a safe schema evolution workflow in a Python backend./background-jobs-boundariesGuardrails for background work in FastAPI and Python services. Prevent misuse of in-process background execution (e.g. FastAPI BackgroundTasks)./click-cliDesign, generate, and improve Python CLIs using the Click library. Focus on idiomatic architecture, command groups, modular layouts, CLI UX conventions, and avoiding common Click anti-patterns./code-qualityOpinionated code health stack for Python repos using Ruff, pre-commit, and Markdown linting. Prefers consolidation over redundant tooling, preserves working repos unless migration is requested, and provides a simple adoption path for both new and existing projects./dockerize-serviceGenerate a local-development Docker Compose setup for an existing Python project. Produces a multi-stage Dockerfile, Compose file, env config, and dockerignore based on detected project signals./fastapi-errorsOpinionated error architecture for FastAPI services. Enforces a single internal exception hierarchy, constructor-based messages, consistent API error responses, and centralized logging for unexpected failures.Generated from the plugin's indexed repository (robhowley/py-pit-skills) — no native marketplace selected
npx claudepluginhub p/robhowley-py-pitOther plugins' skills for the same job