re-spec
Installation
SKILL.md
Re-spec
Feature spec precedes prototype; prototype iteration settles what UI really does, write-fspec records it as V file. Downstream /to-tickets and writing-plans read spec, so spec still promising dropped stories or old field names breaks tickets and plans. This skill pulls spec back in line. Reply in Chinese.
Codex: $ARGUMENTS = text after command. No interactive picker → print numbered options, stop for user's reply; never answer own question.
Rules
- Active fspec V is truth for what UI shows and how it behaves; spec keeps everything fspec cannot say: problem, motivation, backend, data, API, test seams.
- Spec stays at story and decision level. Cite fspec, never copy its tables: one line in Further Notes (superpowers: closest notes section)
界面细节以 products/fspec/<line>/CURRENT.md 为准(V<n>). Duplicated detail drifts. - Use fspec 术语表 terms verbatim; rename every old term in spec.
- Touch only what V changes for this feature. V rows marked backfill (
回补), or unrelated to spec's feature, stay out of spec. - Testing Decisions stay byte-identical: test seams were agreed with user. New behavior no seam covers → suggest in reply, don't block on it.
- Write nothing before user confirms change list. User pre-approved in request → write every unambiguous edit at once, then ask open questions; answers land as follow-up edit. Never hold back whole revision for one question.