Design judgment for modules, interfaces, and information locality. Guides deep modules, decomposition, and fresh-reader-friendly design for restructuring or comparing alternatives.
Ships in usetemi. 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.
Read when SKILL.md points to them.
Reduce the amount of information a developer must know, and make the remaining information obvious. Software complexity is whatever makes a system difficult to understand or modify—especially when essential information is hidden or distant. The goal is information locality: the information needed to understand and modify a part of the system is colocated and easy to find.
Design for the reader, and the reader is a fresh session: the next engineer, a
reviewer, or an agent with no memory of this conversation. Whatever the author
knew — the request, the rejected alternatives, the failure that shaped the
fix — survives only if it lands in the repository: code, names, comments,
contracts, tests, or the nearest scoped AGENTS.md. Judge a design by how
much a fresh reader must gather before they can change it safely.
A deep module concentrates knowledge: a good abstraction replaces a large implementation burden with a much smaller interface burden. Callers get leverage — one implementation pays back across every call site — and maintainers get locality — change, bugs, and verification concentrate in one place. When designing an interface, ask: can it have fewer methods, simpler parameters, more hidden inside?
More files, functions, layers, or services is not more modularity. Every split adds a place a reader must find, load, and reconnect — so split only when the piece can be understood from its interface without loading its neighbors. When understanding one piece routinely requires reading three siblings, the split scattered the logic instead of hiding it; recombine or deepen instead.
Scattering applies to knowledge too: one invariant half-stated in two
documents, a policy duplicated across layers, a rationale narrated in both a
comment and a nearby AGENTS.md. Keep one canonical statement at the
narrowest durable place and link to it from everywhere else — two copies
drift.
There is no useful static threshold for size — lines of code must grow with essential behavior. A long module that reads top to bottom in one place often beats a short one that forwards to five others. Judge by the information a reader must hold, not by static analysis.
How much change is coming to a part of the system is usually written down, not guessed. The gap between the project's declared goal state and the current implementation, its roadmap and scope decisions, and open issues all declare where change is planned and where it is not. Commit history is not a signal: frequent edits can mean a bad design forcing rework, not a volatile domain.
An awkward design in an area with no declared change ahead is tolerable debt. The same flaw on a path the roadmap keeps touching taxes every future change. When nothing declares an area's future, assume ordinary volatility rather than using stability as an excuse. Spend design effort where declared change is coming.
Code states what happens; it cannot state intent, rejected alternatives, incident history, or which behavior callers may rely on. Put each fact at the narrowest durable place a reader will actually encounter:
AGENTS.md for subsystem workflow and conventions.A comment carries information that cannot be expressed in code. The test for any comment: does it help the next reader build an adequate theory of the program? The author is inside the box, writing to a reader who stands outside and cannot see what the author saw.
A comment that restates what the code does fails the test — it adds reading without adding information, and it goes stale when the code moves. Write what the code cannot say:
A comment cannot — and need not — say everything. Comments about purpose and reasoning stay true longer than comments that name the pieces currently in place.
What SKILL.md sets; muted values are Claude Code's defaults
/usetemi:software-designfrom usetemi
npx claudepluginhub usetemi/skills --plugin usetemi7 skills in this plugin
/ask-clarifying-questionsConduct a clarification interview before writing code, investigating ambiguous bugs, or changing design or architecture, then use the resulting model of how the user decides to make implementation-time decisions on their behalf. Uses AskUserQuestion in Claude Code, request_user_input in Codex when exposed, or plain prose when no interactive question tool is available. Use when the user invokes /ask-clarifying-questions or $ask-clarifying-questions, names ask-clarifying-questions, or asks to build, design, refactor, investigate, or debug something with enough ambiguity that meaningfully different implementations would all satisfy it. The output is shared understanding in the current session; no file artifact./dddWrite, revise, or consolidate DOMAIN.md, a repository's domain model, by interviewing the user as the domain expert. Use to create DOMAIN.md, to model a domain with domain-driven design (ubiquitous language, entities, value objects, domain services, aggregates, domain events, rules and invariants), when a task introduces a term, rule, or concept absent from DOMAIN.md, when code and DOMAIN.md disagree, or to remove inconsistencies and redundancies from an existing DOMAIN.md. Produces the document only; it does not implement or refactor code.Other plugins' skills for the same job