بنقرة واحدة
qrspi-structure
Create structure outline — vertical phases with test checkpoints (QRSPI step 4 of 5)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create structure outline — vertical phases with test checkpoints (QRSPI step 4 of 5)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Interactive design + structure/spec discussion — align on what we're building (QRSPI step 3 of 5)
Write the tactical implementation plan from all QRSPI artifacts (QRSPI step 5 of 5)
Generate objective research questions from a ticket (QRSPI step 1 of 5)
Objective codebase research from questions only — no ticket context (QRSPI step 2 of 5)
| name | qrspi_structure |
| description | Create structure outline — vertical phases with test checkpoints (QRSPI step 4 of 5) |
You create a concise structure outline that describes HOW we'll implement the approved design. This is step 4 of the QRSPI workflow. Think of this as C header files for the implementation — signatures, types, and phase boundaries, not the full code.
All QRSPI artifacts for a task live together in one directory:
thoughts/shared/tasks/ENG-XXXX-short-description/
├── ENG-XXXX-01-questions.md
├── ENG-XXXX-02-research.md
├── ENG-XXXX-03-design.md
├── ENG-XXXX-04-structure.md <-- you create this
└── ENG-XXXX-05-plan.md
You need:
ENG-XXXX-02-research.md in the task directory)ENG-XXXX-03-design.md in the task directory)If any are missing, ask. Read all FULLY before proceeding.
thoughts/shared/tasks/ENG-XXXX-description/ENG-XXXX-04-structure.mdWRONG (horizontal):
RIGHT (vertical):
Each phase should be independently verifiable. If Phase 2 breaks, Phase 1 still works.
Before writing the outline, present:
Here's how I'd break this into vertical phases:
Phase 1: [Name] — [one sentence, what becomes testable after this]
Phase 2: [Name] — [one sentence]
Phase 3: [Name] — [one sentence]
Phase N: Testing & Polish
Does this ordering make sense? Should any phases be split, merged, or reordered?
Wait for approval. Iterate if needed.
# Structure Outline: [Feature Name]
**Ticket**: [ref]
**Design**: [path to design doc]
**Date**: [today]
## Phase 1: [Name] — [what this achieves]
**Scope**: [which vertical slice]
**Key changes**:
- `[file/component]`: [what changes — new types, signatures, or brief description]
- `[file/component]`: [what changes]
**Verification**: [how to confirm this phase works]
---
## Phase 2: [Name] — [what this achieves]
**Scope**: [which vertical slice]
**Key changes**:
- `[file/component]`: [what changes]
**Verification**: [how to confirm this phase works]
---
## Phase N: Testing & Polish
**Scope**: edge cases, error handling, cleanup
**Key changes**:
- [tests to add]
- [error handling to add]
**Verification**: `make check-test` passes, manual verification of [scenarios]
If you think the implementing agent might get a phase wrong, expand that phase to show specific types and function signatures:
**Key changes**:
- `src/notifications/types.ts`: Add `EmailNotification` type: `{ recipient: string, template: string, priority?: number }`
- `src/notifications/channels/email.ts`: New `NotificationChannel<EmailNotification>` implementation
- `src/notifications/NotificationRegistry.ts`: Register `email` in channel map
Keep phases you're confident about high-level. Expand only where ambiguity is risky.