/pythonista:python-architecturefrom pythonista
Whole-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.
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, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Whole-module/codebase structural critique: harvests mattpocock/codebase-design's deletion test
and module/interface/seam vocabulary (see references/vocabulary.md), drops everything else
that skill did (CONTEXT.md/ADR integration, the interactive grilling loop, the self-contained
HTML report). Read-only, always -- like python-review, this skill produces a report and never
edits a file or proposes running a mutating tool.
This is a different kind of work than python-review: a review pass finds smells and contract
violations in code as written; this skill asks whether the shape of a module -- its interface
relative to its implementation, where its seam sits -- is earning its keep. Different cost,
different scope, which is why it stays its own skill rather than a third python-review lens.
python-workflow's critique recipe, which may end its report with a
one-line recommendation to run this skill (see that skill's SKILL.md) -- critique only
recommends it, it never invokes itdisable-model-invocation: true) and not one of ship-it's
"elect deep work" options -- that checkpoint only covers python-testing-patterns,
python-refactor, and python-performance-optimizationcritique's recommendation and no
path was given, ask which module to audit -- this skill never infers a target from commit
history or "hot spots" on its own.Explore-subagent
dispatch, no commit-history walk, no CONTEXT.md lookup. The target is a finished module, not
a sprawling codebase; a direct read is enough, and keeps this a single-session, no-fan-out
skill like python-refactor and python-testing-patterns.references/vocabulary.md to every module, class, or
significant function in scope:
CONTEXT.md write, no ADR check, no interactive grilling loop.One entry per module/seam concern, most significant first:
### <module or function name> -- <Strong | Worth exploring | Speculative>
- Location: <file:line-range>
- Shape: deep | shallow (one line: why)
- Deletion test: what happens if this is deleted -- vanishes, or reappears elsewhere?
- Recommendation: plain-English description of the change, not a diff or an implementation plan
End with one line: total findings by strength. If nothing in scope is shallow, say so plainly -- "no deletion-test failures found" is a valid, complete result, not a reason to invent a finding.
| Content | Routes to | Why |
|---|---|---|
| How to execute a structural change (Extract Method, Encapsulate Global State, DI) | python-refactor | This skill identifies that a seam/interface should change, never the mechanics of the change itself |
| Idiom-level cleanup (EAFP, guard clauses, comprehensions) | python-patterns | Not a shape-of-the-interface question |
CONTEXT.md/ADR reading or writing | (dropped) | This repo has neither; requiring them would make this skill unreachable on its own primary target (a standalone script or module) |
| The interactive grilling decision tree, the self-contained HTML/Tailwind/Mermaid report | (dropped) | improve-codebase-architecture's HTML output can't be consumed by critique's report stage -- this plugin's modularity rule requires structured output between skills, never prose or a browser report. That's the reason this skill exists at all, not a missing CONTEXT.md (the original justification for owning this skill was checked against the source and found false: the soft dependency creates CONTEXT.md lazily, it doesn't skip) |
| Deepening a cluster's internal seams, designing an interface twice via parallel sub-agents | (dropped -- not harvested) | Scoped harvest is the deletion test and the module/interface/seam glossary only; codebase-design's DEEPENING.md/DESIGN-IT-TWICE.md content wasn't part of this skill's build scope |
python-review.CONTEXT.md or docs/adr/ -- dropped from the harvest.critique's
recommendation with no path given -- asks instead.disable-model-invocation: true -- explicit call only, or reachable via python-workflow's
critique recipe recommending it by name. Never auto-triggered, and never part of ship-it's
"elect deep work" checkpoint.references/vocabulary.md -- the full glossary, the deep-vs-shallow diagram, and the three
principles this skill applies (the deletion test, "the interface is the test surface," "one
adapter = hypothetical, two = real").
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub takfes/indie-marketplace --plugin pythonista12 skills in this plugin
/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-packagingCreate distributable Python packages with proper project structure, setup.py/pyproject.toml, and publishing to PyPI -- plus CLI surface design (argument ergonomics: positionals vs. options, subcommands, exit codes, output format), not just entry-point wiring. Use when packaging Python libraries, designing or building CLI tools, or distributing Python code./python-