/pythonista:python-workflowfrom pythonista
Run the pythonista pipeline against Python code via one of three recipes — critique (read-only scan -> review -> report, the default with no recipe named), tidy (safe-tier mutation: scan -> patterns -> quality-tools -> verify, with an approval checkpoint before any write), or ship-it (scan -> document -> patterns -> quality-tools -> optional deep work -> verify -> commit). Use for a health check or review baseline (critique), a low-risk cleanup pass (tidy), or a full mutate-and-commit pass (ship-it). With no recipe named, always run critique — only run tidy or ship-it when the user names that recipe explicitly.
Ships in pythonista. 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.
Orchestrator for the pythonista pipeline. One skill, a recipe argument selects what runs.
| Recipe | Pipeline |
|---|---|
critique (default) | scan -> review -> report — read-only, zero checkpoints |
tidy | scan -> [approve plan] -> patterns -> quality-tools -> verify -> [approve terminal act] |
ship-it | scan -> [approve plan] -> document -> patterns -> quality-tools -> [elect deep work] -> verify -> [approve commit] -> commit |
No recipe argument runs critique. Never select tidy or ship-it unless the user names that recipe explicitly, by that name — do not infer either from phrases like "clean this up" alone.
tidy and ship-it hand off to python-document, python-patterns, and python-quality-tools by name — all three exist in this marketplace; tidy is reachable end-to-end and ship-it's safe tier through verify is too. Deep-work stages (python-testing-patterns, python-refactor, python-performance-optimization) remain electable as described below; ship-it's commit step is inlined and names no other plugin.
critique — scan -> review -> reportpython-scan's entry point against the target path (path relative to this skill's own directory — resolve it from wherever this skill was loaded):
../python-scan/scripts/analyze_all.py <path> --format jsonpython-review against the same target, passing it the scan's JSON report so it doesn't re-report what python-scan already flagged (see python-review's own SKILL.md, Dispatch). python-review picks diff or module mode itself from what the user named — pass that choice through rather than deciding it here.--format text (or reformat the JSON yourself) for its severity breakdown, category breakdown, and highest-severity findings with file:line, then append python-review's ## Standards / ## Contract sections verbatim underneath. If python-scan's find_code_smells.py flagged a god class, or python-review's Standards axis raised a Divergent Change, Feature Envy, Message Chains, Middle Man, or Refused Bequest finding — whole-module structural signals, not idiom-level ones — end the report with one line: architecture review recommended: run python-architecture. Text only; nothing in this recipe invokes it.--output to the scan — this recipe writes zero files, always.Both tidy and ship-it use these; each decides something real, none is a formality to click through.
After the scan, before any write. Using the scan evidence, propose which stages will run and which the evidence says can be skipped — present this as a plan, not a silent decision:
| Stage | Skip proposed when | Evidence source |
|---|---|---|
python-document | docstring coverage >=80% and type-hint coverage >=90% | check_documentation.py |
python-patterns | find_dead_code, find_duplicates, find_unpythonic, find_overengineering all empty | those four analyzers |
python-quality-tools | never — no python-scan analyzer produces ruff/mypy evidence | — |
Wait for the user to approve, adjust, or reject the plan before running any stage that writes.
ship-it only)After the safe tier (document -> patterns -> quality-tools), before verify. Ask explicitly whether to hand off to python-testing-patterns, python-refactor, and/or python-performance-optimization — attach the scan evidence relevant to each. Only enter a deep-work stage with the user's explicit consent given at this checkpoint; approving the plan in step 1 is not consent for this. No answer or "no" means skip straight to verify.
ship-it: draft a Conventional Commits message from the accumulated diff, present the diff and the message, and do not commit until approved.tidy: there is no commit. Mutations from patterns/quality-tools (and any deep-work stage) are already applied to the working tree as they run — this checkpoint presents the full diff since the scan and asks the user to keep or revert it. Never leave uncommitted mutations without asking.tidy — scan -> patterns -> quality-tools -> verify../python-scan/scripts/analyze_all.py <path> --format json (same entry point as critique).python-quality-tools is never proposed as skippable.python-patterns against <path> (skip if approved), then python-quality-tools against <path>.tidy never commits — that's ship-it's job.ship-it — scan -> document -> patterns -> quality-tools -> [deep work] -> verify -> commitpython-document.python-document -> python-patterns -> python-quality-tools.tidy's verify step: re-run the scan and diff against the step-1 baseline, run the test suite if one exists, report unresolved gaps plainly.git commit with that message — a single-line git commit -m "<message>" for a one-line message, or a heredoc-style invocation when the message has a body/footer. Report the resulting commit.tidy or ship-it unless the user names the recipe explicitly, by that name. With no argument, always run critique.critique never writes a file, never edits code, and never runs a mutating tool.tidy and ship-it never run a mutating stage before the plan checkpoint is approved. ship-it never enters a deep-work stage without explicit consent at the "elect deep work" checkpoint.ship-it never runs git commit before the commit checkpoint is approved.python-quality-tools is never proposed as skippable, in either recipe.radon/complexipy), report that category as unavailable rather than trying to install anything.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub takfes/indie-marketplace --plugin pythonista12 skills in this plugin
/python-architectureWhole-module structural critique using deep-module design vocabulary: is a module's interface small relative to what it hides (deep) or nearly as complex as its implementation (shallow), does it survive the deletion test, and does its seam sit in the right place. Emits structured findings, never an HTML report or a mutation. Explicit call only, or reachable through python-workflow's critique recipe recommending it by name.
/python-documentAdd missing module summaries, docstrings, type annotations, and why-comments to Python code -- additive only, never changing behavior or rewording existing documentation. Use when the user asks to document, add docstrings/type hints/comments to, or improve documentation coverage of Python code, or as the documentation stage of a ship pipeline./python-