원클릭으로
design
System design with progressive disclosure, produces workstream files
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
System design with progressive disclosure, produces workstream files
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | design |
| description | System design with progressive disclosure, produces workstream files |
| version | 2.1.0 |
Multi-agent design (Arch + Security + SRE) with progressive discovery blocks.
After @idea, or directly from a feature description. Creates workstream files with AC and scope.
Before creating draft: ls docs/drafts/idea-* — do not duplicate. If an idea draft already covers this topic, reuse or extend it instead of creating a new one.
Beads from review: In scope by default. Mark OOS only with explicit justification (e.g. "duplicate", "superseded by prior work").
docs/intent/{task_id}.json or docs/drafts/idea-*.md if available3-5 discovery blocks, 2-3 questions each:
After each block: Continue / Skip / Done
When source is beads (review findings): For each bead, run bd show <id> and grep the codebase for the fix. If already fixed, run bd close <id> and remove from scope. Do not create WS for beads that are already addressed.
Create docs/workstreams/backlog/00-FFF-SS.md for each deliverable.
Required sections:
# 00-FFF-SS: Feature Name — Step Description
Feature: FFFF (sdp_dev-XXXX)
Phase: N
Status: Backlog
## Goal
One paragraph: what and why.
## Scope Files
List exact file paths or directory prefixes this workstream touches.
Used by sdp-guard for boundary checking and CI scope-compliance.
- internal/evidence/
- cmd/sdp-evidence/main.go
## Dependencies
- 00-FFF-01: prerequisite workstream (if any)
## Acceptance Criteria
Specific, testable, binary (pass/fail):
- [ ] Criterion 1
- [ ] Criterion 2
- [ ] go build ./... passes
- [ ] go test ./internal/evidence/... passes
bd create --title="WS FFF-SS: Short title" --type=task
Append to .beads-sdp-mapping.jsonl:
{"sdp_id":"00-FFF-SS","beads_id":"sdp_dev-XXXX","updated_at":"2026-..."}
ALWAYS verify counts match:
echo "Mapping: $(wc -l < .beads-sdp-mapping.jsonl)"
echo "Backlog: $(ls docs/workstreams/backlog/*.md | wc -l)"
Add new workstreams to the appropriate phase table in docs/workstreams/INDEX.md.
Before modifying any file, emit a write plan covering workstream files, design docs, and INDEX.md:
--dry-run — Emit write plan only. Do NOT create, modify, or delete any file.--yes — Skip confirmation prompt. Execute immediately. Intended for CI/non-interactive.--yes)..sdp/log/events.jsonl (sanitize file paths before logging: strip newlines, ensure valid JSON escaping):
{"spec_version":"v1.0","event_id":"<uuid>","timestamp":"<ISO-8601>","source":{"system":"sdp-lab","component":"design"},"event_type":"decision.made","payload":{"decision_type":"write_plan","plan":[{"path":"...","action":"CREATE|MODIFY|DELETE","reason":"..."}]},"context":{"feature_id":"<F-id if known>","workstream_id":"<ws-id if applicable>"}}
Include context fields only when the ID is known at plan time. Omit unavailable fields rather than inventing placeholders.
Note: Phase 1 uses prompt-level write boundaries (CLI out of scope). Aligns with
schema/contracts/orchestration-event.schema.jsonviaevent_type: "decision.made". Phase 2 CLI will emit natively.
Output format:
WRITE PLAN for @design <target>:
CREATE: path/to/new/file — <reason>
MODIFY: path/to/existing/file — <reason>
DELETE: path/to/removed/file — <reason>
Proceed? [y/n]
Modes:
--dry-run: Show plan → STOP--yes: Show plan → Execute immediately (no prompt)| Mode | Blocks |
|---|---|
| Default | 3-5 discovery blocks |
| --quiet | 2 blocks (Architecture + Data only) |
docs/workstreams/backlog/docs/drafts/{task_id}-design.md (architecture notes)docs/workstreams/INDEX.md.beads-sdp-mapping.jsonl| Symptom | Fix |
|---|---|
| Skill produces no output | Check working directory is project root with docs/workstreams/backlog/ |
| "checkpoint not found" | Run sdp-orchestrate --feature <ID> to create initial checkpoint |
| "workstream files missing" | Run sdp-orchestrate --index to verify, then @feature to regenerate |
| Skill hangs / no progress | Check .sdp/log/events.jsonl for last event; use sdp reset --feature <ID> if stuck |
| Review loop exceeds 3 rounds | Use @review --override "reason", @review --partial, or @review --escalate |
Execute ONE executable leaf workstream with TDD, guard enforcement, and ws-verdict output
Multi-agent quality review (QA + Security + DevOps + SRE + TechLead + Documentation + PromptOps)
Execute ONE executable leaf workstream with TDD, guard enforcement, and ws-verdict output
Multi-agent quality review (QA + Security + DevOps + SRE + TechLead + Documentation + PromptOps)
Software architect for system boundaries, design patterns, and integration tradeoffs.
Beads task tracker integration for SDP workflows.