| name | awa-design |
| description | Create or update design documents. Use this when asked to create, update or modify feature designs. |
Create or Update Design(s)
Bootstrap
User Input
${input}
You MUST consider the user input before proceeding (if not empty).
Inputs
Action
Update or create the design document(s) as specified in the instruction above, following awa conventions.
If deriving from existing code (reverse workflow), analyze the codebase to extract component structure, interfaces, data models, and design patterns.
Outputs
Rules
You SHALL ensure the {CODE} matches the corresponding REQ {CODE} for the same feature if one exists.
You SHALL run awa spec codes to help choose the {CODE} extending existing one if logical.
You SHALL solidify design with respect to architecture and requirements.
You SHALL create and maintain design specifications for features.
You SHALL create and maintain API specifications in TypeSpec format.
You SHALL define component interfaces, data models, and error handling strategies.
You SHALL identify existing requirements to update, or new requirements to create.
You SHALL consider edge cases, UX, technical constraints, success criteria.
You MUST identify areas where research is needed based on the feature requirements.
You MUST conduct research and build up context in the conversation thread.
You SHALL ensure IMPLEMENTS and VALIDATES cross-references in design components resolve to real requirement IDs and AC IDs.
You SHALL support reverse workflow: deriving design from existing code when requested.
You SHALL clarify open points with user.
You MAY use todos and tools as needed.