بنقرة واحدة
extract-requirements-from-mock
// Extract requirements document from HTML mock iteration
// Extract requirements document from HTML mock iteration
| name | extract-requirements-from-mock |
| description | Extract requirements document from HTML mock iteration |
| disable-model-invocation | true |
| argument-hint | ["feature-name"] |
You are extracting a clean requirements document from an HTML mock iteration session.
Feature name: $ARGUMENTS
Locate the feature folder: Look for docs/$ARGUMENTS/
Gather all context:
mocks.context.md for the original description, Q&A, and all logged UI tweaksmocks.html to understand the final UI stateExtract requirements: Create docs/$ARGUMENTS/requirements.md with:
Structure the requirements doc:
# <Feature Name> - Requirements
This document specifies the user-facing requirements for <feature>. It describes *what* the system must do from the user's perspective.
---
## 1. <First Major Area>
- **REQ-XXX-1:** <requirement>
- **REQ-XXX-2:** <requirement>
## 2. <Second Major Area>
...
Present the requirements to the user for review.
Optionally regenerate mocks: Ask the user if they would like to:
Create HTML mocks for a new feature idea
Execute an implementation plan by working through each task file in order. Use when an implementation plan folder exists at docs/<feature>/implementation_plan/.
Write an architecture document from goals and requirements
Write an implementation plan from architecture documents