2.3 KiB
2.3 KiB
name, description
| name | description |
|---|---|
| spec-pipeline | Lean implementation loop: UI/UX (Ideas -> Spec) -> Architect (Clarify -> Spec) -> Developer -> User Verification. |
Execution Logic
-
Phase 0a: UI/UX Proposal & Alternative Ideas (User-Facing Features Only)
@uiuxanalyzes the user's initial idea for cognitive friction, accessibility, and kid-friendliness.@uiuxpitches 1–3 alternative interaction approaches (e.g., comparing floating tooltips vs. top-center banners, custom cursor reticles, or streamlined dialogs).@uiuxhighlights the most intuitive option with[Recommended]and asks up to 3 clarification questions.@uiuxSTOP: Waits for user feedback/selection before writing the UI spec.- Bypass Rule: If the feature is strictly internal engine/backend logic (e.g., physics, serialization, scanning), skip directly to Phase 1a.
-
Phase 0b: UI Spec Generation
- User approves an option or provides feedback.
@uiuxoutputs the UI/UX specification (control layouts, widget behaviors, visual feedback states, and cursor logic).
-
Phase 1a: Architecture Proposal & Clarification
@architectanalyzes existing patterns and the Phase 0b UI/UX specification.@architectpitches 1–3 Godot best-practice implementation options and asks up to 3 clarification questions with[Recommended]choices.@architectstops without writing the spec file yet.
-
Phase 1b: User Feedback & Spec Generation
- User approves, modifies, or selects choices from
@architect's proposal. @architectwrites the finalized specification todocs/specs/[feature-name].mdand logs decisions indocs/architecture/tech_debt_and_optimizations.md.- STOP: Wait for final user sign-off on the spec before invoking developer.
- User approves, modifies, or selects choices from
-
Phase 2: Implementation & Engine Validation
@developerupdates code and scenes using targeted diffs based ondocs/specs/[feature-name].md.@developerruns headless syntax verification.- If static check fails,
@developerfixes the code immediately.
-
Phase 3: User Hand-off (Stop)
- Present the changes to the user to test inside the Godot Editor.
-
Phase 4: Documentation (Triggered manually by user)
- Only call
@writerafter the user confirms: "Feature verified and working."
- Only call