openspec-context-docs
OpenSpec context documentation policy: keep requirements in spec.md and capture narrative context in context/overview/rationale docs under openspec/specs. Use when creating or updating OpenSpec docs, spec context, or onboarding/guide documentation.
DeepseekModel
Curated skill
Quality Excellent · 90
v1.0.0
Get
https://deepseekmodel.com/api/download.php?id=soju06-codex-lb-agents-skills-openspec-context-docs-skill-md&format=skill
Download .skill
Standard format with system_prompt and model_config, ready for any agent framework
The actual content of the system_prompt field in the .skill file.
name openspec-context-docs description OpenSpec context documentation policy: keep requirements in spec.md and capture narrative context in context/overview/rationale docs under openspec/specs. Use when creating or updating OpenSpec docs, spec context, or onboarding/guide documentation. OpenSpec Context Docs When to use Writing or updating OpenSpec documentation (specs, onboarding, guide, change artifacts). A spec is complete but readers lack background, rationale, examples, or operational notes. You need to preserve rich context without weakening SSOT. Core rule: two-layer docs spec.md = normative, testable requirements (SHALL/MUST + scenarios). Context docs = narrative and operational detail that helps humans understand and apply the spec. Locations Main specs: openspec/specs/<capability>/spec.md (requirements) openspec/specs/<capability>/context.md (preferred) Optional split (if context grows): overview.md , rationale.md , examples.md , ops.md inside the same capability folder. Change-level notes (working context): openspec/changes/<change>/context.md or notes.md Detail prompts (add depth without forcing a template) Include at least 4 of these in context docs: Purpose / scope / non-goals Decision rationale + alternatives considered Constraints (security, performance, policy) Failure modes / edge cases Example request/response, data shape, or user flow Operational notes (rollout, monitoring, runbooks) Links to related specs/contracts Sync rule After implementation/verification, promote stable context from change notes into the main context docs. Do not duplicate normative requirements in context docs; link back to spec.md . Never create or update a docs/ directory; keep everything under openspec/ . Prompt snippet "Keep spec.md strictly for requirements. Add/update context.md with purpose, decisions, constraints, failure modes, and at least one concrete example."
Keywords that activate this skill. Click one to copy it.
This skill does not provide trigger words.
The downloaded .skill package contains the following fields.
| Field | Description |
|---|---|
| format | Format tag (skill/v1) |
| skill_id | Unique skill ID |
| name | Skill name |
| version | Version |
| description | Description |
| category | Categories (array) |
| trigger_words | Trigger words |
| tags | Tags |
| source | Source |
| source_url | Source URL (this page) |
| exported_at | Exported at (set per download) |
| system_prompt | System prompt body |
| model_config | Model config: provider / model / temperature / max_tokens / top_p |
| examples | Examples |
| install_guide | Import guide for Coze / Dify / Claude / custom frameworks |
The same skill can be exported in different platform formats.