042-planning-openspec
Original:🇺🇸 English
Translated
Use when you need to take a `*.plan.md` file and turn it into OpenSpec change artifacts by validating OpenSpec installation, initializing or reusing an OpenSpec project, and creating or updating a change proposal/spec/tasks flow. Includes a concrete workflow based on `examples/requirements-examples/problem1/requirements/openspec`. Part of the skills-for-java project
2installs
Added on
NPX Install
npx skill4agent add jabrena/cursor-rules-java 042-planning-openspecTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →OpenSpec Change Planning from *.plan.md
*.plan.mdGuide the process of turning an implementation plan () into an OpenSpec change workflow. This is an interactive SKILL. It verifies CLI availability, initializes OpenSpec when needed, and then creates or updates a change with proposal, design, tasks, and spec deltas.
*.plan.mdWhat is covered in this Skill?
- Input analysis from (scope, change-id candidate, affected capabilities)
*.plan.md - Installation and availability checks for OpenSpec CLI
- Recommended installation paths on macOS, Linux, and Windows using npm
- OpenSpec project bootstrapping with
openspec init - Existing-project workflow using ,
openspec list,openspec statusopenspec show - Validation and completion flow with and
openspec validate --allopenspec archive - Example-root workflow at
examples/requirements-examples/problem1/requirements/openspec
Constraints
Always execute OpenSpec commands from the parent directory that contains the folder. Do not invent requirements not present in the ; convert plan intent into explicit OpenSpec change artifacts.
openspec/*.plan.md- MUST: Start by reading and summarizing the provided
*.plan.md - MUST: Check CLI availability with before any OpenSpec operation
openspec --version - MUST: If OpenSpec is missing, provide macOS, Linux, and Windows install guidance via npm command
- MUST: Offer when no OpenSpec project exists
openspec init - MUST: When creating a new OpenSpec project, run plain only (do not use
openspec initoptions)--tools ... - MUST: Use a stable change-id (for example: ) for status/show/archive commands
add-dark-mode - MUST: Run before archiving
openspec validate --all - MUST: When a feature/change is completed (all checklist tasks done), guide the user to archive it (for example: )
openspec archive us-001-god-analysis-api - MUST: In , generate a single OpenSpec checklist (
tasks.md/- [ ]) only; do not add a second table-based task list- [x] - MUST: Explain whether the workflow creates a new change or updates an existing one
When to use this skill
- Convert into OpenSpec
*.plan.md - Add change proposal from plan
- Update existing OpenSpec project
- Initialize OpenSpec in requirements folder
- Validate and archive OpenSpec change
Reference
For detailed guidance, examples, and constraints, see references/042-planning-openspec.md.