Tms design
Pipeline stage 02 — author the single design contract, minimal sufficient change, capture follow-upsFrom its SKILL.md
npx -y skills add TmsNine/tms-pipeline --skill tms-designAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.1 KB, as published. Nobody here has run it
Run pipeline stage 02_design for $1.
Read THIS project's AGENTS.md / CLAUDE.md for project specifics: product rules, tenant/auth/persistence constraints, task-folder path, backlog location, output language.
Method
- Read
00_ticket.md+01_research.md(+ interview answers if any). - Design the minimal sufficient change at the owning layer. Smallest surface area, moving parts, and abstraction count — not the smallest diff at any cost. Prefer flat over layered, decoupling over DRY, local clarity over clever reuse. Do not patch symptoms or add child-side fallbacks that hide an upstream mistake; fix the owner layer.
- Inspect change-surface triggers and design for them: shared contracts/schemas (producer + consumer), routes/guards/layouts, queries/mutations (keys, invalidation, loading/empty/error/success/optimistic/stale states), schema/persistence (serializers, migrations, read + write paths), auth/permission, async (retries, idempotency, ordering, failure visibility), legal/billing/privacy copy.
- Write
<task-folder>/02_design.mdas the single design contract: what "done" means, 3–5 observable pass/fail criteria, primary signal (user-visible/runtime) + secondary signals. If migrations/contracts/auth change, state rollout order.
If the design exposes a genuinely open product/architecture tradeoff, present up to two viable options with one recommendation and ask before locking.
Closing — follow-up capture (mandatory)
Deferred work, future improvements, spec gaps, or architecture deltas discovered while designing → consolidate into the project backlog (or the owning product/architecture doc) per its rules before the turn ends: bundle, don't shard; check existing bundles first; backlog row = one-line index. Follow-ups left only in 02_design.md are lost.
Stop for confirmation before 02b_gap_audit (staged execution).