Getting OpenSpec Artifact Instructions
Purpose
Provides the AI agent with specific, context-aware instructions for the next step in the OpenSpec workflow.
1. Safety & Verification
- •Check Help: Run
npx @fission-ai/openspec@latest instructions --help.
2. Common Workflows
Workflow: Get Instructions for a Specific Artifact
- •Run
npx @fission-ai/openspec@latest instructions <artifact-name> --change <change-name>. Example artifacts:proposal,specs,design,tasks.
Workflow: Get Implementation Instructions
- •Run
npx @fission-ai/openspec@latest instructions apply --change <change-name>. This provides guidance on how to implement the tasks defined in the change proposal.
3. Examples
Example: Get Instructions for Writing Specs
Command: npx @fission-ai/openspec@latest instructions specs --change my-feature
Expected Output: Detailed guidance on the structure and content expected for the specifications of my-feature.