Viewing OpenSpec Item Details
Purpose
Retrieves the full content or specific parts of an OpenSpec change proposal or specification.
1. Safety & Verification
- •Check Help: Run
npx @fission-ai/openspec@latest show --help. - •Verify Item Existence: Use
listing-openspec-itemsto find the correct name/ID.
2. Common Workflows
Workflow: Show Change Content
- •Run
npx @fission-ai/openspec@latest show <change-name>.
Workflow: Show Spec Content
- •Run
npx @fission-ai/openspec@latest show --type spec <spec-id>.
Workflow: Extract Specific Requirements (JSON)
- •Use
--jsonand--requirement <id>to get a specific requirement:npx @fission-ai/openspec@latest show <item-name> --json --requirement 1
3. Examples
Example: View Only Deltas of a Change
Command: npx @fission-ai/openspec@latest show my-feature --deltas-only
Expected Output: The requirements and scenarios that are changing in the proposal.