/qual:recording-design-decisionsfrom qual
Records design decisions as structured annotations on spec files: rejected alternatives, accepted risks, and spec critiques. Use after a spec is written to preserve reasoning.
Ships in qual. 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.
Design conversations end; the reasons behind the design shouldn't. Record them on the spec's lines once the spec file exists.
alternative on the spec lines where the chosen
design lives. Summary: what the option was. detail: why not now.
Tag revisit:<condition> naming something observable — "concurrent
sessions exceed 1000", "the channels API leaves preview" — never
"later" or "if needed".waiver on the lines that accept it, with the risk
and why it is acceptable now.concern on the
spec's line range. The spec's author answers in the thread.After the spec is written and its line ranges are stable — not mid-conversation. Collect the decisions from the discussion, then write them as one batch:
{"kind": "alternative", "location": "docs/specs/cache.md:40:52", "message": "Per-tenant cache processes", "detail": "One shared process is simpler below ~50 tenants", "tags": ["revisit:tenants exceed 50"]}
{"kind": "waiver", "location": "docs/specs/cache.md:60:64", "message": "No cache warm-up on deploy", "detail": "Cold starts cost ~2s p99 for 1 minute; acceptable for internal tools"}
Write that to a batch file outside the repository, as in
qual:using-qualifier Mechanics, then
qualifier record --stdin --dry-run < file and qualifier record --stdin < file.
Line shapes: qualifier agents batch.
Spans drift as the spec is edited. That is expected: qual:closing-the-loop
re-anchors drifted records with --supersedes on the new lines rather than
dropping the span.
A rejected option is worth recording when someone would plausibly propose it again. Skip options nobody would revisit.
Next: qual:planning-from-threads.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub empathic/qualifier --plugin qual9 skills in this plugin
/closing-the-loopUse when a code change is complete, before committing or reporting it done, including when the user will commit it — resolves threads the change fixed, records shortcuts as concerns instead of TODO comments, re-records drifted annotations, and records design decisions settled in conversation/consulting-threadsUse before modifying a file in a repository with .qual files — reads the open blockers, concerns, and alternatives on the lines about to change so the edit accounts for them/escalating-decisionsUse when a qualifier thread needs a human judgment call — design trade-offs, won't-fix calls, or conflicting findings — to mark it as waiting on a decision, walk the human through the options, and record their answer under their own identity/handing-off-threadsUse before ending a session or handing work to another agent or person — checks that open qualifier threads are self-sufficient and that nothing decided in this session lives only in chat/planning-from-threadsUse when writing an implementation plan from a spec or from open qualifier threads — every plan task names the thread IDs it addresses, and ordering constraints are recorded as references rather than only in prose/reviewing-into-qualifierUse when reviewing code or a design document, whether asked for a review or reviewing your own work before merge — writes every finding as a qualifier annotation instead of reporting it in chat, then verifies each finding against the code