Openspec context docs

From Soju06/codex-lb · View interactive version

Openspec context docs is an AI agent skill from the GitHub repository Soju06/codex-lb. 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.

How to use this skill

Skill file

OpenSpec Context Docs

When to use

Core rule: two-layer docs

1) spec.md = normative, testable requirements (SHALL/MUST + scenarios).

2) Context docs = narrative and operational detail that helps humans understand and apply the spec.

Locations

Detail prompts (add depth without forcing a template)

Include at least 4 of these in context docs:

Sync rule

Prompt snippet

"Keep spec.md strictly for requirements. Add/update context.md with purpose, decisions, constraints, failure modes, and at least one concrete example."

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.