openspec▌
itechmeat/llm-code · updated May 16, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
Use this skill to guide or reason about the OpenSpec artifact-driven workflow system (OPSX), including artifact graphs, schema/template resolution, change lifecycle, and experimental commands/skills.
OpenSpec (OPSX) Skill
Use this skill to guide or reason about the OpenSpec artifact-driven workflow system (OPSX), including artifact graphs, schema/template resolution, change lifecycle, and experimental commands/skills.
Quick Navigation
- Artifact graph core concepts: references/artifact-core.md
- OPSX workflow behavior and usage: references/opsx-workflow.md
- Setup + profiles (init, update, config profile): references/setup-profiles.md
- Schema customization workflow and gaps: references/schema-customization.md
- End-to-end schema workflow gaps and proposed solution: references/schema-workflow-gaps.md
- Experimental release plan and rollout checklist: references/experimental-release-plan.md
Release Highlights (1.1.1 → 1.2.0)
- Profiles: select a workflow profile via
openspec config profile(preset:coreor custom selection) and apply it to a project viaopenspec update. - Propose workflow (all-at-once): legacy slash command
/openspec:proposalcreates proposal + specs + design + tasks in one request (instead of/opsx:new+/opsx:ff). - More tool integrations: adds support for Pi and Kiro tool directories.
- Cleaner updates:
openspec updatecan prune deselected workflows to keep projects tidy.
OPSX Commands
| Command | Purpose |
|---|---|
/opsx:explore |
Think through ideas, investigate problems (no structure) |
/opsx:new |
Start a new change |
/opsx:continue |
Create next artifact based on dependencies |
/opsx:ff |
Fast-forward — create all planning artifacts at once |
/opsx:apply |
Implement tasks, updating artifacts as needed |
/opsx:verify |
Validate implementation matches spec |
/opsx:sync |
Sync delta specs to main specs |
/opsx:archive |
Archive single completed change |
/opsx:bulk-archive |
Archive multiple completed changes at once |
Legacy (non-OPSX) command: /openspec:proposal creates all planning artifacts at once. Prefer OPSX, but this can be useful for small/straightforward changes or older setups.
Schema Management
openspec schemas # List available schemas
openspec schema which --all # Show resolution sources
openspec schema init my-workflow # Create new schema interactively
openspec schema fork spec-driven my-workflow # Fork existing schema
openspec schema validate my-workflow # Validate schema structure
Project Configuration
Create openspec/config.yaml for per-project settings:
schema: spec-driven
context: |
Tech stack: TypeScript, React, Node.js
Testing: Vitest, Playwright
rules:
proposal:
- Include rollback plan
specs:
- Use Given/When/Then format
Schema precedence: CLI flag → Change metadata → Project config → Default (spec-driven)
Core Concepts
- Artifact graph, not a workflow engine: Dependencies enable actions; they do not force linear phases.
- Filesystem-as-database: Completion is derived from file existence, not stored state.
- Deterministic CLI: Commands require explicit change context (agent infers, CLI remains strict).
- XDG schema resolution: User overrides take precedence over built-ins.
- Templates are schema-scoped: Templates live next to schema and resolve with a strict 2-level fallback.
Decision Rules
- Prefer update when intent stays the same and you are refining scope or approach.
- Prefer new change when intent or scope fundamentally shifts, or the original can be completed independently.
- Always preserve a clear history of why artifacts changed (proposal/specs/design/tasks).
Recipes
1) Show what is ready to create next
- Determine the active change id.
- Query status and ready artifacts with the change explicitly set.
- Present ready artifacts and their dependencies.
Expected behavior: show ready artifacts, not required steps.
2) Generate instructions for a specific artifact
- Resolve schema and template with XDG fallback.
- Build context: change metadata, dependency status, and target paths.
- Return enriched instructions in plain Markdown.
3) Start a new change
- Validate change name (kebab-case).
- Create change directory and README.
- Show initial status and first ready artifact.
4) Schema customization guidance
- Explain XDG override paths.
- Describe copying built-in schema + templates.
- Provide verification steps or recommended CLI commands for listing and resolving.
5) Explain schema binding for a change
- Prefer change metadata if available.
- Fallback to project default schema if configured.
- Otherwise default to spec-driven.
Prohibitions
- Do not treat the system as a linear workflow engine.
- Do not assume a change is active without explicit selection.
- Do not silently fall back between schemas or templates without reporting.
- Do not copy long vendor docs verbatim; summarize and provide actionable guidance.
Output Expectations
- Give clear artifact readiness and dependency explanations.
- Use explicit change identifiers in examples.
- Provide concise, actionable steps and indicate whether they are informational or required.
Links
How to use openspec on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add openspec
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches openspec from GitHub repository itechmeat/llm-code and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate openspec. Access the skill through slash commands (e.g., /openspec) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
User Story & Requirements Generation
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Competitive Analysis
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Roadmap Prioritization
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
Make data-driven prioritization decisions faster
Stakeholder Communication
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client
- ›Access to product documentation and roadmap tools (Jira, Notion, etc.)
- ›Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
- ›Stakeholder contact information and communication channels
Time Estimate
30-60 minutes to see productivity improvements
Installation Steps
- 1.Install product management skill
- 2.Start with user story generation for known feature
- 3.Progress to competitive analysis: research 2-3 competitors
- 4.Use for roadmap prioritization: apply RICE/ICE scoring
- 5.Draft stakeholder communications and refine based on feedback
- 6.Build template library for recurring PM tasks
- 7.Share effective prompts with product team
Common Pitfalls
- ⚠Not validating competitive research—verify facts before sharing
- ⚠Accepting user stories without involving engineering team
- ⚠Over-relying on frameworks without qualitative judgment
- ⚠Not customizing outputs to company culture and communication style
- ⚠Skipping stakeholder validation of generated requirements
Best Practices▌
✓ Do
- +Validate research and competitive analysis with real data
- +Collaborate with engineering when generating technical requirements
- +Customize frameworks and templates to your company context
- +Use skill for first drafts, refine with stakeholder input
- +Document successful prompt patterns for PM tasks
- +Combine AI efficiency with human judgment and intuition
✗ Don't
- −Don't publish competitive analysis without fact-checking
- −Don't finalize user stories without engineering review
- −Don't make prioritization decisions solely on AI scoring
- −Don't skip customer validation of generated requirements
- −Don't ignore company-specific context and culture
💡 Pro Tips
- ★Provide context: company goals, constraints, customer feedback
- ★Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
- ★Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
- ★Use skill for 70% generation + 30% customization to company needs
When to Use This▌
✓ Use When
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid When
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
Learning Path▌
- 1Basic: user stories, feature specs, status updates
- 2Intermediate: competitive analysis, prioritization frameworks, PRDs
- 3Advanced: product strategy, go-to-market planning, OKR setting
- 4Expert: product vision, market positioning, business model innovation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.6★★★★★63 reviews- ★★★★★Ama Harris· Dec 16, 2024
I recommend openspec for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Pratham Ware· Dec 12, 2024
I recommend openspec for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Aditi Diallo· Dec 12, 2024
openspec reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Ava Garcia· Dec 8, 2024
Useful defaults in openspec — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Isabella Bansal· Nov 27, 2024
I recommend openspec for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Ava Robinson· Nov 23, 2024
openspec reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Camila Anderson· Nov 7, 2024
Useful defaults in openspec — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Yash Thakker· Nov 3, 2024
Useful defaults in openspec — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Isabella Bhatia· Nov 3, 2024
openspec is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Ama Singh· Oct 26, 2024
openspec is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
showing 1-10 of 63