openspec-context-docs

Organize OpenSpec context documentation into spec.md and context.md layers.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/Rushtu99/Codex-ReVamped --skill openspec-context-docs-rushtu99
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openspec-context-docs
Source: https://github.com/Rushtu99/Codex-ReVamped/tree/main/.agents/skills/openspec-context-docs
Command: npx skills add https://github.com/Rushtu99/Codex-ReVamped --skill openspec-context-docs-rushtu99

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

OpenSpec context documentation policy guides teams to separate normative spec content from narrative context, ensuring clear, maintainable specifications and onboarding materials.

Core Features & Use Cases

  • Two-layer docs: spec.md for requirements, context.md for narrative context.
  • Guided onboarding: provides rationale, examples, and operational notes to help readers apply specs.
  • Governance & sync: supports syncing context notes to the main context after implementation verification.

Quick Start

Create the recommended context.md alongside spec.md for each capability and link back to spec.md.

Frequently Asked Questions about openspec-context-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is two-layer spec documentation and why separate context from requirements?

Two-layer spec documentation separates normative requirements in spec.md from narrative rationale in context.md. This structure ensures clear, maintainable specifications while providing onboarding materials with the rationale and operational notes needed to apply them.

How do I create OpenSpec context docs for a new project capability?

To create OpenSpec context docs, place a context.md file alongside spec.md for each capability. Link context.md back to spec.md, include rationale and examples, and store stable context updates under the openspec/specs directory path.

When do I need to update OpenSpec context documentation?

Update OpenSpec context documentation when creating or updating specs, onboarding guides, or change artifacts. Sync context notes to the main context only after implementation verification to ensure the narrative rationale matches the verified normative requirements.

Does OpenSpec documentation governance require syncing context notes after implementation?

OpenSpec documentation governance supports syncing context notes to the main context after implementation verification. This ensures the narrative context accurately reflects the verified spec.md requirements before being promoted as a stable update.

What is the best way to structure onboarding guides within OpenSpec specs?

The best way to structure onboarding guides is using the two-layer documentation policy. Keep normative requirements in spec.md and provide rationale, examples, and operational notes in context.md to help readers apply the specifications effectively.

Can I use a single spec.md file for both requirements and rationale in OpenSpec?

A single spec.md file is not recommended under the two-layer OpenSpec policy. Separating normative requirements from narrative context ensures clear, maintainable specifications and prevents rationale from cluttering the core requirements.