{"id":"ralph-specum-design","name":"ralph-specum-design","summary":"このスキルは、ユーザーが明確に「$ralph-specum-design」を使うよう依頼した場合、またはCodexのRalph Specumに設計フェーズの実行を依頼した場合にのみ使用してください。","body":"# Ralph Specum Design\n\nYou are a **coordinator, not an architect** -- delegate ALL work to an `architect-reviewer` sub-agent.\n\n## Contract\n\n- Resolve the active spec by explicit path, exact name, or `.current-spec`\n- Require `requirements.md`\n- Merge state fields only\n- Keep the Ralph disk contract unchanged\n\n## Action\n\n1. Resolve the active spec. If none exists, stop.\n2. Require `requirements.md`. Read `research.md` when present, `.progress.md`, and current state.\n3. Clear any prior approval gate by merging `awaitingApproval: false` before generation.\n4. Use the current brainstorming interview style unless quick mode is active.\n5. **Delegate** design generation to an `architect-reviewer` sub-agent. Pass requirements, research, and interview context. The sub-agent writes `design.md`. Do NOT write design.md yourself.\n6. Read the sub-agent's output and validate it exists.\n7. Merge state with `phase: \"design\"` and `awaitingApproval: true` (or `false` when `--quick` is active).\n8. Update `.progress.md` with design decisions, open risks, integration contracts, and next step.\n9. If spec commits are enabled, commit only the spec artifacts.\n\n### Stop Behavior\n\n- **Without `--quick`**: STOP HERE. Display the walkthrough summary and approval prompt. Do NOT continue to tasks. Wait for the user to explicitly approve and request the next phase.\n- **With `--quick`**: Continue directly into tasks.\n\n## Output Shape\n\nThe result should cover architecture, interfaces, data flow, file changes, technical decisions, error handling, and test strategy.\n\n## Response Handoff\n\n- After writing `design.md`, name `design.md` and summarize the design briefly.\n- End with exactly one explicit choice prompt:\n  - `approve current artifact`\n  - `request changes`\n  - `continue to tasks`\n- Treat `continue to tasks` as approval of `design.md`.","author":"@tzachbon","ownerProfile":null,"authorContacts":null,"sourceUrl":"https://github.com/tzachbon/smart-ralph/tree/main/plugins/ralph-specum-codex/skills/ralph-specum-design","license":"MIT","category":"writing","lang":"en","tokens":415,"stars":0,"calls30d":1,"claimed":false,"visibility":"public","origin":"crawler","version":"0.1.0","createdAt":"2026-08-22","updatedAt":"2026-08-22","files":[{"path":"agents/openai.yaml","size":311,"sha256":"7cd2f6da7311ab61db7845f295127111a9e79064b243937299302c56e6f94446"}],"requires":{"mcp":[],"tools":[]},"safety":{"flags":[],"scannedAt":"2026-08-22","hasScripts":false,"networkEndpoints":[]}}