
Sdd Spec
- 1 installs
- 1 repo stars
- Updated May 22, 2026
- eremesng/oh-my-opencode-lite
Writes OpenSpec delta specifications with RFC 2119 language and Given/When/Then scenarios, persisting to thoth-mem, openspec, or both.
About
Writes or updates OpenSpec delta specs for affected domains using RFC 2119 language and Given/When/Then scenarios. A developer uses it after a proposal is approved to convert it into testable requirements under a spec-driven-development workflow.
- Writes OpenSpec delta specs with RFC 2119 language
- Given/When/Then scenarios and thoth-mem/openspec/hybrid persistence modes
Sdd Spec by the numbers
- 1 all-time installs (skills.sh)
- Ranked #1,366 of 1,879 Documentation skills by installs in the Skillselion catalog
- Data as of Jul 8, 2026 (Skillselion catalog sync)
npx skills add https://github.com/eremesng/oh-my-opencode-lite --skill sdd-specAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1 |
|---|---|
| repo stars | ★ 1 |
| Last updated | May 22, 2026 |
| Repository | eremesng/oh-my-opencode-lite ↗ |
What it does
Writes OpenSpec delta specifications with RFC 2119 language and Given/When/Then scenarios, persisting to thoth-mem, openspec, or both.
Files
SDD Spec Skill
Write or update the change specifications for one or more affected domains.
Shared Conventions
- Shared references:
~/.config/opencode/skills/_shared/openspec-convention.md~/.config/opencode/skills/_shared/persistence-contract.md~/.config/opencode/skills/_shared/thoth-mem-convention.md
Persistence Mode
The 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).
When to Use
- A proposal is approved and must be converted into testable requirements
- Existing change specs need to be expanded or corrected
Prerequisites
change-name- The proposal artifact must exist
- Access to any current main specs for impacted domains
Workflow
1. Read the shared conventions. 2. Recover the proposal using the retrieval protocol in ~/.config/opencode/skills/_shared/persistence-contract.md. 3. If the change already has spec work, recover sdd/{change-name}/spec with the same mode-aware retrieval rules before editing. 4. Read openspec/specs/{domain}/spec.md for each affected domain to determine whether you are writing a delta spec or a brand-new spec. 5. If the selected mode includes OpenSpec, write canonical change artifacts under openspec/changes/{change-name}/specs/{domain}/spec.md. In thoth-mem mode, produce the same canonical content without creating files. 6. Use this structure in every spec file:
# Delta for {Domain}
## ADDED Requirements
### Requirement: {Name}
The system MUST ...
#### Scenario: {Name}
- GIVEN ...
- WHEN ...
- THEN ...
## MODIFIED Requirements
## REMOVED RequirementsFor a brand-new domain, write a full spec instead of a delta.
7. If the selected mode includes thoth-mem, persist the complete spec payload with:
thoth_mem_mem_save(
title: "sdd/{change-name}/spec",
topic_key: "sdd/{change-name}/spec",
type: "architecture",
project: "{project}",
scope: "project",
content: "{full spec markdown across all domains}"
)Output Format
Return:
ChangeArtifacts: list of domain spec paths writtenTopic Key:sdd/{change-name}/specCoverage Summary: requirements and scenarios added or modifiedNext Step: usuallysdd-design
Rules
- Every requirement must use RFC 2119 keywords.
- Every requirement must have at least one Given/When/Then scenario.
- Specs describe behavior, not implementation details.
- Keep domain boundaries explicit.
- Use the retrieval protocol from
~/.config/opencode/skills/_shared/persistence-contract.md for every SDD dependency.