一键导入
sdd-propose
SDD Proposal Phase - Create a proposal for the change. Trigger: When assigned as sdd-propose phase sub-agent.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
SDD Proposal Phase - Create a proposal for the change. Trigger: When assigned as sdd-propose phase sub-agent.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
SDD Apply Phase - Execute implementation with TDD support. Uses PKM-AI block storage with block_type="outline" for tasks and "permanent" for progress. Supports RED → GREEN → REFACTOR TDD cycle and standard mode. Trigger: When assigned as sdd-apply phase sub-agent.
SDD Archive Phase - Create final archive summary of the completed change. Uses PKM-AI block storage with block_type="permanent". Trigger: When assigned as sdd-archive phase sub-agent.
SDD Design Phase - Create architectural and technical design with AD-1, AD-2 format. Uses PKM-AI block storage with block_type="permanent". Trigger: When assigned as sdd-design phase sub-agent.
SDD Explore Phase - Research and gather information about a topic. Trigger: When assigned as sdd-explore phase sub-agent.
SDD Specification Phase - Create detailed specification with Given/When/Then scenarios. Uses PKM-AI block storage with block_type="structure". Trigger: When assigned as sdd-spec phase sub-agent.
SDD Tasks Phase - Create detailed task breakdown from spec and design. Uses PKM-AI block storage with block_type="outline" for checklist format. Trigger: When assigned as sdd-tasks phase sub-agent.
| name | sdd-propose |
| description | SDD Proposal Phase - Create a proposal for the change. Trigger: When assigned as sdd-propose phase sub-agent. |
| license | MIT |
| metadata | {"author":"pkm-ai","version":"1.0"} |
Create a structured proposal that defines:
change-name: The name of the changeexplore-ulid: ULID of exploration artifact (if exists)Load ${PKM_AI_SHARED:-~/.pkm-ai/sdd/_shared}/phase-common.md for return format.
Load ${PKM_AI_SHARED:-~/.pkm-ai/sdd/_shared}/pkmai-convention.md for PKM-AI conventions.
Before creating, check if proposal already exists:
{
"tool": "search_blocks",
"arguments": {"query": "sdd/{change-name}/proposal", "tags": ["sdd-proposal"]}
}
If found with matching change-name, update existing. If not found, create new.
If explore-ulid provided, retrieve it:
{
"tool": "get_block",
"arguments": {"block_id": "{explore-ulid}", "include_content": true}
}
{
"tool": "create_block",
"arguments": {"block_type": "permanent", "title": "sdd/{change-name}/proposal", "content": "# Proposal: {change-name}\n\n## Problem Statement\n{What problem does this change solve?}\n\n## Proposed Solution\n{How will we solve it?}\n\n## Expected Outcomes\n- {outcome 1}\n- {outcome 2}\n\n## Benefits\n- {benefit 1}\n- {benefit 2}\n\n## Scope\n### In Scope\n- {item in scope}\n\n### Out of Scope\n- {item out of scope}\n\n## Constraints\n- {constraint 1}\n- {constraint 2}\n\n## Risks\n| Risk | Impact | Mitigation |\n|------|--------|------------|\n| {risk} | High/Med/Low | {mitigation} |\n\n## Success Criteria\n- {criterion 1}\n- {criterion 2}\n\n## Metadata\n```json\n{\n \"change\": \"{change-name}\",\n \"phase\": \"proposal\",\n \"based_on\": \"{explore-ulid or null}\",\n \"created\": \"{ISO date}\"\n}\n```\n", "tags": ["sdd", "proposal", "sdd-proposal", "sdd-{change-name}"]}
}
{
n "tool": "create_link",
"arguments": {"source_id": "{explore-ulid}", "target_id": "{proposal-ulid}", "link_type": "refines"}
}
Return structured summary per phase-common.md format.
# Proposal: {change-name}
## Problem Statement
{Formal problem description. Be specific.}
## Proposed Solution
{Description of the proposed approach.}
## Motivation
{Why is this change needed? What triggers it?}
## Expected Outcomes
### Primary Outcomes
1. **{Outcome}**: {description}
### Secondary Outcomes
1. **{Outcome}**: {description}
## Benefits
| Benefit | Impact | Effort |
|---------|--------|--------|
| {benefit} | High/Med/Low | High/Med/Low |
## Scope
### In Scope
- Feature or change 1
- Feature or change 2
### Out of Scope
- Related item 1 (explain why)
- Related item 2 (explain why)
## Constraints
1. **{Constraint}**: {description}
2. **{Constraint}**: {description}
## Assumptions
- {assumption 1}
- {assumption 2}
## Risks
| Risk | Likelihood | Impact | Mitigation |
|------|------------|--------|------------|
| {risk} | High/Med/Low | High/Med/Low | {mitigation} |
## Success Criteria
- [ ] {Criterion 1}
- [ ] {Criterion 2}
## Alternatives Considered
### Alternative 1
{Why not chosen}
### Alternative 2
{Why not chosen}
## Metadata
```json
{
"change": "{change-name}",
"phase": "proposal",
"based_on": "{explore-ulid or null}",
"created": "{ISO date}"
}
## Rules
- Check for existing proposal before creating new
- Base proposal on exploration findings (if available)
- Be specific about scope and constraints
- Identify risks proactively
- Don't go into implementation details (that's for design phase)
- Return structured envelope with all required fields
## Output
Creates: `sdd/{change-name}/proposal` block
Links: -> Exploration (if exists)
## PKM-AI Tool Reference
```json
{
"tool": "search_blocks",
"arguments": {"query": "sdd/{change-name}/proposal", "tags": ["sdd-proposal"]}
}
{
"tool": "get_block",
"arguments": {"block_id": "{explore-ulid}", "include_content": true}
}
{
"tool": "create_block",
"arguments": {"block_type": "permanent", "title": "sdd/{change-name}/proposal", "content": "{markdown content}", "tags": ["sdd", "proposal", "sdd-proposal", "sdd-{change-name}"]}
}
{
"tool": "create_link",
"arguments": {"source_id": "{explore-ulid}", "target_id": "{proposal-ulid}", "link_type": "refines"}
}