Writes a typed call-stack architecture handoff: code-shaped contracts plus execution flows, implementation-ready for another engineer. User-invoked only. Not for weighing approaches or deciding the design; use architecture first.
Ships in tech-spec. 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.
A tech spec is a typed call-stack architecture handoff: contracts as TypeScript pseudocode plus end-to-end execution flows. Prose explains why; types and call stacks define what changes. Design only: never implement, and save a file only when the user asks; otherwise return the spec inline.
/skill tech-spec <the change, in a few sentences, or a path to read first>
<path>", "put it in docs/".
Absent that, the finished spec is the reply itself: no file, in this run
or a prior one in the same session, gets created for it. This holds
regardless of which path below runs or how long the spec is; length is
never itself a reason to write a file.tdd skill be
installed to reference in the TDD Test Plan section; both are frontmatter
facts, not something to explain to the user unless asked.There is no operator in a headless run without an --answers file: ask_user is not registered, so
any call is refused as an unregistered tool rather than answered, and a
second try will not resolve differently. In Path B (below), that means: state the
question, your recommendation grounded in the codebase and any docs read
(or the most defensible engineering default when nothing grounds it), and
the reasoning; adopt the recommendation; mark it assumed — confirm; move
to the next question. Run every question this way, end to end, not just
the first. The interview is the plan to execute, not an outline to
abbreviate because no one answered the opening question. Never invent a
fact or a codebase detail to back an assumption; anything genuinely
unknown becomes an Open Question in the spec, not a plausible guess. This
degrades the interview only; it never licenses writing a file that
wasn't asked for.
The steps below are the plan; do not open a task list for them. tasks
sits outside this skill's tool surface and any call to it is refused.
bash is also outside this skill's tool surface. Verify what you wrote
with grep, read, and find, never bash.
raw input → parser → domain input → service → adapter → typed result → projection → output), current-vs-proposed when changing behavior, and failure /
retry / idempotency flow where reachable.tdd skill:
one failing behavior test, minimal implementation, repeat. Cover happy
paths, failure paths, parser rejection, invariants, changed seams, or
state why a path is deliberately untested.When drafting the spec, read references/spec-outline.md and use that shape (omit sections that truly do not apply, but never omit contracts, seams, call stacks, or the test plan for being hard).
The spec follows the outline, every boundary has a typed contract or a stated reason it needs none, every behavior has a call stack, unknowns are open questions rather than invented design, nothing was implemented, and no file was written unless the request asked for one.
Before returning the spec, read references/red-flags.md.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/tech-spec:tech-specfrom tech-spec
npx claudepluginhub panstudio/pancode --plugin tech-spec