sdd-propose
Create a structured change proposal with intent, scope, and success criteria. Trigger: When creating proposals
- License 许可
- MIT
- 最近更新
- 2026-10-22
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- sdd-propose
- scope
- core
- license
- MIT
- metadata
- { "author": "gentleman-programming", "version": "2.0" }
- description
- Create a structured change proposal with intent, scope, and success criteria. Trigger: When creating proposals
- display_name
- SDD Propose
- user-invocable
- false
- disable-model-invocation
- true
03 SKILL.md 正文
<!-- Synced from https://raw.githubusercontent.com/Gentleman-Programming/gentle-ai/v1.26.5/internal/assets/skills/sdd-propose/SKILL.md (tag v1.26.5, commit 5f73974b39ae2b9b525ef465b3642030c5f2ce6c); adapted for Jarvis/Hive runtime semantics. -->
ORCHESTRATOR GATE: If you loaded this skill via the
skill()tool, you are the ORCHESTRATOR — STOP. Do NOT execute these instructions inline. Delegate to the dedicatedsdd-proposeexecutor using your platform's delegation primitive. This skill is for EXECUTORS only.
Executor Override
If you ARE the sdd-propose executor, the gate above does NOT apply to you. Continue with the phase work below. Do NOT delegate. Do NOT call the Skill tool. You are the executor — execute.
Purpose
You are a sub-agent responsible for creating PROPOSALS. You take the exploration analysis (or direct user input) and produce a structured proposal.md document inside the change folder.
What You Receive
From the orchestrator:
- Change name (e.g., "add-dark-mode")
- Exploration analysis (from sdd-explore) OR direct user description
- Artifact store mode (
hive | openspec | hybrid | none) QUESTION_ROUND(completed | declined | forced): the outcome of the orchestrator's proposal question round, on its own line. Use the confirmed answers as input when the round ran.## SDD Decisionsblock: the preflight decisions for the whole feature, one value per line (see Step 4).
Execution and Persistence Contract
Follow Section B (retrieval) and Section C (persistence) from
skills/_shared/sdd-phase-common.md.
- hive: Read
sdd/{change-name}/explore(optional) andsdd-init/{project}(optional). Save artifact assdd/{change-name}/proposal. - openspec: Read and follow
skills/_shared/openspec-convention.md. - hybrid: Follow BOTH conventions — persist to Hive AND write to filesystem. Retrieve dependencies from Hive (primary) with filesystem fallback.
- none: Return result only. Never create or modify project files.
- Never force
openspec/creation unless user requested file-based persistence or mode ishybrid.
What to Do
Step 1: Load Skills
Follow Section A from skills/_shared/sdd-phase-common.md.
Question Round Input
The orchestrator owns the proposal question round. You never run your own question round; read the forwarded QUESTION_ROUND value and continue to Step 2.
If QUESTION_ROUND is absent (legacy or headless launch), proceed best-effort with the available input and report QUESTION_ROUND: not-run (no orchestrator round) in the Return Summary.
Step 2: Create Change Directory
IF mode is openspec or hybrid: create the change folder structure:
openspec/changes/{change-name}/
└── proposal.md
The folder may already exist with the state.yaml that jarvis sdd bind wrote; keep that file unchanged.
IF mode is hive or none: Do NOT create any openspec/ directories. Skip this step.
Step 3: Read Existing Specs
IF mode is openspec or hybrid: If openspec/specs/ has relevant specs, read them to understand current behavior that this change might affect.
IF mode is hive: Existing context was already retrieved from Hive in the Persistence Contract. Skip filesystem reads.
IF mode is none: Skip — no existing specs to read.
Step 4: Write proposal.md
When the launch prompt contains an ## SDD Decisions block, write it verbatim near the top of the proposal, right after the title. Copy every line exactly; never invent, reorder, or change values. If the block is absent, do NOT fabricate it; report SDD Decisions: missing in the Return Summary so the orchestrator runs the preflight. Later sessions read this block instead of asking the preflight again.
# Proposal: {Change Title}
## SDD Decisions
Execution mode: {forwarded value}
Artifact store: {forwarded value}
TDD mode: {forwarded value}
Size policy: {forwarded value}
Chain strategy: {forwarded value}
## Intent
{What problem are we solving? Why does this change need to happen?
Be specific about the user need or technical debt being addressed.}
## Scope
### In Scope
- {Concrete deliverable 1}
- {Concrete deliverable 2}
- {Concrete deliverable 3}
### Out of Scope
- {What we're explicitly NOT doing}
- {Future work that's related but deferred}
## Capabilities
> This section is the CONTRACT between proposal and specs phases.
> The sdd-spec agent reads this to know exactly which spec files to create or update.
> Research `openspec/specs/` before filling this in.
### New Capabilities
<!-- Capabilities being introduced. Each becomes a new `openspec/specs/<name>/spec.md`.
Use kebab-case names (e.g., user-auth, data-export, api-rate-limiting).
Leave empty if no new capabilities. -->
- `<capability-name>`: <brief description of what this capability covers>
### Modified Capabilities
<!-- Existing capabilities whose REQUIREMENTS are changing (not just implementation).
Only list here if spec-level behavior changes. Each needs a delta spec.
Use existing spec names from openspec/specs/. Leave empty if none. -->
- `<existing-capability-name>`: <what requirement is changing>
## Approach
{High-level technical approach. How will we solve this?
Reference the recommended approach from exploration if available.}
## Affected Areas
| Area | Impact | Description |
|------|--------|-------------|
| `path/to/area` | New/Modified/Removed | {What changes} |
## Risks
| Risk | Likelihood | Mitigation |
|------|------------|------------|
| {Risk description} | Low/Med/High | {How we mitigate} |
## Rollback Plan
{How to revert if something goes wrong. Be specific.}
## Dependencies
- {External dependency or prerequisite, if any}
## Success Criteria
- [ ] {How do we know this change succeeded?}
- [ ] {Measurable outcome}
Step 5: Persist Artifact
This step is MANDATORY — do NOT skip it.
Follow Section C from skills/_shared/sdd-phase-common.md.
- artifact:
proposal - topic_key:
sdd/{change-name}/proposal - type:
architecture
Step 6: Return Summary
Return to the orchestrator:
## Proposal Created
**Change**: {change-name}
**Location**: `openspec/changes/{change-name}/proposal.md` (openspec/hybrid) | Hive `sdd/{change-name}/proposal` (hive) | inline (none)
### Summary
- **Intent**: {one-line summary}
- **Scope**: {N deliverables in, M items deferred}
- **Approach**: {one-line approach}
- **Risk Level**: {Low/Medium/High}
- **Question Round**: {completed | declined | forced | not-run}
- **SDD Decisions**: {recorded verbatim | missing}
### Next Step
Ready for specs (sdd-spec) or design (sdd-design).
Rules
- In
openspecmode, ALWAYS create theproposal.mdfile - If the change directory already exists with a proposal, READ it first and UPDATE it
- Keep the proposal CONCISE - it's a thinking tool, not a novel
- Every proposal MUST have a rollback plan
- Every proposal MUST have success criteria
- Use concrete file paths in "Affected Areas" when possible
- Apply any
rules.proposalfromopenspec/config.yaml - ALWAYS fill in the Capabilities section — this is the contract with sdd-spec. Research
openspec/specs/first to use correct existing capability names. - New Capabilities → each will become
openspec/specs/<name>/spec.md(new full spec) - Modified Capabilities → each will become a delta spec in the change folder
- If nothing changes at the spec level (pure refactor, config change), explicitly write "None" under both sub-sections — don't leave them as template placeholders
- Never edit, add, or drop lines of a forwarded
## SDD Decisionsblock; when updating an existing proposal, keep its block unchanged. - Size budget: Proposal artifact MUST be under 450 words, excluding the
## SDD Decisionsblock. Use bullet points and tables over prose. Headers organize, not explain. - Return envelope per Section D from
skills/_shared/sdd-phase-common.md.
04 同仓库更多 Skills
work-unit-commits
Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.
skill-registry
Create or update the skill registry for the current project. Scans user skills and project conventions, writes .jarvis/skill-registry.md, and saves to Hive if available. Trigger: When user says "update skills", "skill registry", "actualizar skills", "update registry", or after installing/removing skills.
skill-improver
Trigger: improve skills, audit skills, refactor skills, skill quality. Audit and upgrade existing LLM-first skills safely.
skill-creator
Trigger: new skills, agent instructions, documenting AI usage patterns. Create LLM-first skills with valid frontmatter.
sdd-verify
Verify implementation against specs with structural and behavioral checks. Trigger: When verifying implementation
sdd-tasks
Break down a change into a concrete, ordered implementation checklist. Trigger: When creating task lists