بنقرة واحدة
sdd-design
Create `design.md` with architecture decisions and file changes.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create `design.md` with architecture decisions and file changes.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Mandatory thoth-mem workflow contract for orchestrator/subagent memory ownership, parent session_id/project dispatch, prompt-save prohibitions, project-scoped read tools, session-summary ownership, and durable observation rules. Use whenever work mentions thoth-mem, persistent memory, orchestrator/subagents, session_id, project, saved prompts, session summaries, or project-level memory context.
Execute SDD task lists with real-time progress tracking, sub-agent dispatch, and verification checkpoints.
Review SDD task plans for execution blockers and return [OKAY] or [REJECT].
Generate phased `tasks.md` checklists from specs and design.
Repository understanding and hierarchical codemap generation
Mandatory step-0 requirements discovery for non-trivial work before any implementation or SDD routing decisions.
| name | sdd-design |
| description | Create `design.md` with architecture decisions and file changes. |
Create the technical design that explains how the approved spec will be built.
~/.config/opencode/skills/_shared/openspec-convention.md~/.config/opencode/skills/_shared/persistence-contract.md~/.config/opencode/skills/_shared/thoth-mem-convention.mdThe orchestrator passes the artifact store mode (thoth-mem, openspec, or
hybrid). Follow
~/.config/opencode/skills/_shared/persistence-contract.md for read/write
rules per mode.
thoth-mem: persist to thoth-mem only — do NOT create or modify
openspec/ files.openspec: write files only — do NOT call thoth-mem save tools.hybrid: persist to both (default).change-nameRead the shared conventions.
Recover sdd/{change-name}/proposal and sdd/{change-name}/spec using the
retrieval protocol in
~/.config/opencode/skills/_shared/persistence-contract.md.
If revising work, recover sdd/{change-name}/design with the same
mode-aware retrieval rules.
Read the actual code paths affected by the change before deciding on an approach.
If the selected mode includes OpenSpec, write
openspec/changes/{change-name}/design.md using this structure. In
thoth-mem mode, produce the same content without creating the file:
# Design: {Change Title}
## Technical Approach
## Architecture Decisions
### Decision: {Title}
**Choice**:
**Alternatives considered**:
**Rationale**:
## Data Flow
## File Changes
## Interfaces / Contracts
## Testing Strategy
## Migration / Rollout
## Open Questions
If the selected mode includes thoth-mem, persist the design with:
thoth_mem_mem_save(
title: "sdd/{change-name}/design",
topic_key: "sdd/{change-name}/design",
type: "architecture",
project: "{project}",
scope: "project",
content: "{full design markdown}"
)
Return:
ChangeArtifact: openspec/changes/{change-name}/design.mdTopic Key: sdd/{change-name}/designKey Decisions: concise bullet listFiles Planned: created, modified, deleted pathsNext Step: sdd-tasks~/.config/opencode/skills/_shared/persistence-contract.md.