com um clique
design
System design with progressive disclosure, produces workstream files
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
System design with progressive disclosure, produces workstream files
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Quality bug fixes (P1/P2). Full TDD cycle, branch from master via feature/, no production deploy.
Execute ONE executable leaf workstream with TDD, guard enforcement, and ws-verdict output
Deployment orchestration. Creates PR to master (after @oneshot) or merges for release.
Feature planning orchestrator (discovery -> idea -> ux -> design -> workstream tree)
Emergency P0 fixes. Fast-track production deployment with minimal changes. Branch from master, immediate deploy.
Autonomous feature execution via sdp orchestrate outer loop
| 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
sdp/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