Openspec propose change

From sillsdev/FieldWorks · View interactive version

Openspec propose change is an AI agent skill from the GitHub repository sillsdev/FieldWorks. Create a change and generate all artifacts needed for implementation in one go. Use when the user wants the preferred OpenSpec fast path for a new proposal.

How to use this skill

Skill file

Create a change and generate all artifacts needed for implementation in one go.

This is the preferred user-facing alias of the fast-forward workflow.

Input: The user's request should include a change name (kebab-case) OR a description of what they want to build.

Steps

  1. If no clear input provided, ask what they want to build

Use the AskUserQuestion tool (open-ended, no preset options) to ask:

> "What change do you want to work on? Describe what you want to build or fix."

From their description, derive a kebab-case name (e.g., "add user authentication" -> add-user-auth).

IMPORTANT: Do NOT proceed without understanding what the user wants to build.

If the request uses overloaded repo terms or unclear planning language, apply grill-with-docs before creating artifacts so proposal/spec/design wording matches CONTEXT.md and real codebase terminology.

  1. Create the change directory

```bash

openspec new change "<name>"

```

This creates a scaffolded change at openspec/changes/<name>/.

  1. Get the artifact build order

```bash

openspec status --change "<name>" --json

```

Parse the JSON to get:

  1. Create artifacts in sequence until apply-ready

Use the TodoWrite tool to track progress through the artifacts.

Loop through artifacts in dependency order (artifacts with no pending dependencies first):

a. For each artifact that is ready (dependencies satisfied):

```bash

openspec instructions <artifact-id> --change "<name>" --json

```

b. Continue until all applyRequires artifacts are complete

c. If an artifact requires user input (unclear context):

  1. Show final status

```bash

openspec status --change "<name>"

```

Output

After completing all artifacts, summarize:

Artifact Creation Guidelines

Guardrails

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.