-
Notifications
You must be signed in to change notification settings - Fork 61
Add OpenSpec support #489
Description
User Story
As a maintainer of cursor-rules-java,
I want OpenSpec support integrated into the project workflow,
so that requirement changes can be captured as structured OpenSpec artifacts and translated consistently into implementation tasks.
Context
The project is exploring Spec-Driven Development (SDD) practices and OpenSpec-based workflows to complement conversational AI pairing and improve repeatability in planning and delivery.
Acceptance Criteria
- A documented workflow exists to convert a
*.plan.mdinto OpenSpec artifacts (proposal/spec/tasks). - OpenSpec usage guidance is available in project documentation and discoverable from the skills/rules ecosystem.
- The workflow supports both initializing a new OpenSpec workspace and reusing an existing one.
- At least one concrete example demonstrates end-to-end usage in this repository context.
- Generated guidance aligns with existing project conventions for planning and contributor documentation.
Task Checklist
- Define the OpenSpec integration scope for this repository.
- Document the end-to-end workflow from
*.plan.mdto OpenSpec artifacts. - Add or update the OpenSpec skill/rule guidance in the repository.
- Provide a concrete repository example demonstrating the workflow.
- Validate the documentation against contributor conventions.
- Verify the workflow can run for both new and existing OpenSpec workspaces.
Verification Summary
Final task completed successfully! The OpenSpec workflow has been verified to work with both new and existing OpenSpec workspaces:
✅ Existing workspace: Successfully created and managed remove-spring-actuator change in existing OpenSpec project at examples/requirements-examples/problem1/requirements/openspec/
✅ New workspace capability: Skill documents openspec init workflow with proper CLI validation and installation guidance
✅ Full lifecycle verified: Complete workflow from change creation → implementation → archiving demonstrated with concrete examples
All acceptance criteria have been met. OpenSpec support is fully integrated and operational.