Convert a thin Jira issue, inline request, or notes file into a research-grounded SDD proposal with persisted findings and confidence-graded synthesis.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Sdd Proposal?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/phenobarbital-sdd-proposal)
---
name: sdd-proposal
description: Convert a thin Jira issue, inline request, or notes file into a research-grounded SDD proposal with persisted findings and confidence-graded synthesis.
---
# SDD Proposal
## Full procedure and host adaptations
Before executing, read the [full sdd-proposal procedure](../../../.claude/commands/sdd-proposal.md)
and your host's adaptation contract: the [Codex adaptation contract](../../../docs/sdd/CODEX.md#codex-adaptation-contract)
on Codex, or the [Antigravity adaptation contract](../../../docs/sdd/AGY.md#antigravity-adaptation-contract) on Google Antigravity (`agy`).
Follow the full procedure for details omitted from this summary. The adaptation
contract and the Codex-specific instructions below override Claude runtime syntax
and legacy shell examples; retain all workflow gates and evidence requirements.
Use this skill when the user asks to run `sdd-proposal`, turn a ticket into a
proposal, research a bug report before spec writing, or resume proposal
research.
Codex invocation: `$sdd-proposal <source> [--mode=investigation|enrichment] [--budget=tight|default|loose] [--no-gate] [--no-parallel]`.
## Purpose
Produce a proposal document grounded in repository evidence before broad human
Q&A.
Pipeline:
```text
source -> research plan -> budgeted research -> synthesis -> review gate -> targeted Q&A -> proposal
```
## Guardrails
- Wiki first, then `rg`, then source reads, then questions.
- Do not invent paths, symbols, classes, packages, or imports.
- Every code claim must cite a persisted finding ID.
- Keep confidence honest; do not inflate certainty when research is thin.
- Persist state under `sdd/state/<FEAT-ID>/`.
- Do not write implementation code.
- Commit only proposal and state files.
- Fill frontmatter `projects` (parts of the codebase, vocabulary: the project areas in `sdd/CONVENTIONS.md` (§ Project areas), or the `projects` list in `sdd/config.json` when set; unknown values warn) and `tags` (2–6 kebab-case keywords) — FEAT-576.
## Inputs
Accept:
- Jira key: `^[A-Z]+-\d+$`
- inline text
- file path
- `--resume FEAT-NNN`
- `--mode=investigation|enrichment`
- `--budget=tight|default|loose`
- `--no-gate`
Budget profiles:
| Profile | Files | Greps | Git | Depth | Seconds |
|---|---:|---:|---:|---:|---:|
| tight | 15 | 10 | 5 | 1 | 120 |
| default | 40 | 25 | 10 | 2 | 300 |
| loose | 100 | 60 | 20 | 3 | 900 |
`default`/`loose` may split Phase 2 into codebase/git/wiki lanes on hosts with
forks (Claude Code). Codex has no forks: research always runs sequentially and
`--no-parallel` is accepted as a no-op.
## Workflow
1. Resolve or resume:
- For `--resume`, read `sdd/state/<FEAT-ID>/state.json` and continue from
its phase.
- Otherwise allocate the next `FEAT-NNN` from existing specs, proposals, and
state directories for proposal state identity only. Formal feature IDs for
specs are still reserved later by `$sdd-spec`.
2. Create:
- `sdd/state/<FEAT-ID>/state.json`
- `sdd/state/<FEAT-ID>/source.md`
- `sdd/state/<FEAT-ID>/findings/`
3. Resolve source:
- Jira: prefer available Jira MCP tools; fallback to `JIRA_INSTANCE`,
`JIRA_USERNAME`, and `JIRA_API_TOKEN` only when configured.
- Inline: preserve the exact input.
- File: read and preserve the source file body and frontmatter.
4. Build a research plan:
- Probe `wikitoolkit status`.
- Use `sdd/templates/research_plan.prompt.md` (its "Output format"
section defines the plan JSON; there is no separate schema file).
- Include wiki, grep, read, git log, and tree queries as appropriate.
- Present the plan unless `--no-gate` was supplied.
5. Execute research:
- Sequential here (no forks). Findings are `FNNN`; no lane merge step.
- Wiki queries are free against the budget.
- Use `rg` for grep-style searches.
- Read files before citing symbols.
- Persist compact findings as
`sdd/state/<FEAT-ID>/findings/FNNN-<slug>.md` using
`sdd/templates/finding.md`; `<slug>` is lowercase `[a-z0-9-]` only
(`:`, `*`, `|`, quotes break Windows checkouts and fail
the repository's portable-path CI check).
5b. Consult experts (optional, advisory — FEAT-890):
- Run `parrot sdd experts consult --doc <source-doc> [--feature <FEAT-ID>]`, where `<source-doc>` is the existing document the proposal is built from; skip this step when the request has no document yet.
- This is optional and non-blocking — it gathers advisory contributions from domain experts
before synthesis. The command writes findings to `sdd/state/.contributions/<doc-slug>/`.
- List findings: read each `<expert>.json` in the contributions directory.
- Record each decision with `parrot sdd experts triage <contribution> <finding-id> confirm|reject|escalate --reason "..."`;
a confirmed finding can later become an unreviewed decision with `parrot sdd experts promote <contribution> <finding-id>`.
- Triage each finding as CONFIRM, REJECT, or ESCALATE:
- CONFIRM: fold the finding into the synthesis with a reference to the contribution file.
- REJECT: note the rejection reason in a brief comment; do not include in synthesis.
- ESCALATE: move the finding to Open Questions — it requires human clarification.
- Promote contributions (if FEAT-ID is known): after triage, promote
`sdd/state/.contributions/<doc-slug>/` to `sdd/state/<FEAT-ID>/contributions/`
like design research.
6. Synthesize:
- Use source, plan, findings, and budget status.
- Produce `sdd/state/<FEAT-ID>/synthesis.json`.
- Enrichment scope: every new item states what happens if it is not built; items without that
justification are listed as `Deferred:` under Non-Goals.
- Lint the synthesis:
- every path/symbol is backed by a finding
- every evidence ID exists
- confidence is bounded by research quality
- truncated research cannot recommend jumping directly to tasks
- unknowns are limited to five
7. Review gate:
- Show localization, top hypothesis or scope, confidence map, unknowns, and
budget use.
- Allow user choices: proceed, refine research, refine synthesis, abort.
8. Targeted Q&A:
- Ask only material unknowns that the repo could not answer.
- Persist answers into `synthesis.json`.
9. Render:
- Read `sdd/templates/proposal.md`.
- Write `sdd/proposals/<slug>.proposal.md`.
- Set status to `discussion`, `review`, or `accepted` based on unresolved
unknowns and explicit user acceptance.
10. Commit:
- preserve unrelated staging; stop before committing if it is outside this run's scope
- stage only `sdd/proposals/<slug>.proposal.md` and `sdd/state/<FEAT-ID>/`
- verify cached names
- commit `sdd: research-grounded proposal for <FEAT-ID> - <summary>`
## Output
Report:
```text
Proposal saved and committed: sdd/proposals/<slug>.proposal.md
FEAT-ID: FEAT-NNN
Mode: investigation|enrichment
Confidence: high|medium|low
Audit: sdd/state/FEAT-NNN/
Next: $sdd-spec <slug> or $sdd-brainstorm <slug>
```
## References
- `sdd/templates/proposal.md`
- `sdd/templates/state.schema.json`
- `sdd/templates/research_plan.prompt.md`
- `sdd/templates/synthesis.prompt.md`
- `sdd/templates/finding.md`
- `sdd/WORKFLOW.md`