mcpField
O
openspec-new

openspec-new

github.com/full-stack-skillsAgent workflows188 installsUpdated 4w ago
Repository

About openspec-new

openspec-new is a skill for starting an OpenSpec change for a feature, bug fix, or refactor. It creates the change directory and metadata, then points to the next planning step.

Key features

  1. 01Start a named change
  2. 02Select a workflow schema
  3. 03Create change directory and metadata
  4. 04Show the next artifact to create

Use cases

  1. 01Start planning a new feature
  2. 02Create a change for a bug fix or refactor

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/full-stack-skills/openspec-skills --skill openspec-new

After installing, type/openspec-newin Claude Code to confirm it loaded.

Bundled filesagents/openai.yaml

Details

From the project README

OpenSpec New Skill

Use /opsx:new to start a new change. This creates the change folder structure under openspec/changes/<name>/ with metadata (.openspec.yaml) and prepares the first artifact for creation.

When to Use

  • Starting work on a new feature, bug fix, or refactor.
  • The user says "start a change", "new feature", "new OpenSpec change".
  • After exploring ideas with openspec-explore and deciding what to build.

Prerequisites

  • OpenSpec initialized in the project (see openspec-initial).

Workflow

  1. Start the change

    • /opsx:new <change-name> — e.g. /opsx:new add-dark-mode.
    • /opsx:new <change-name> --schema <schema> — use a specific workflow schema (default: spec-driven).
    • If no name is provided, the agent will prompt for one.
  2. What gets created

    • openspec/changes/<name>/ directory.
    • openspec/changes/<name>/.openspec.yaml — change metadata (schema, created date).
  3. Next action

    • The agent shows the first artifact ready for creation (typically proposal).
    • Use openspec-continue to create one artifact at a time, or openspec-ff to create all planning artifacts at once.

Naming Conventions

  • Use descriptive names: add-dark-mode, fix-login-bug, refactor-auth.
  • Avoid generic names: update, changes, wip.
  • Use kebab-case.

Outputs

  • openspec/changes/<name>/ directory with .openspec.yaml.

Next Steps

  • Use openspec-continue to create the next artifact incrementally.
  • Or openspec-ff to fast-forward through all planning artifacts at once.

Troubleshooting

  • "Change not found": Check the change name matches; run openspec list to see active changes.
  • "Schema not found": List available schemas with openspec schemas; see openspec-schema for custom schemas.

References

Comments

Markdown supported