Openspec ff change

From Soju06/codex-lb · View interactive version

Openspec ff change is an AI agent skill from the GitHub repository Soju06/codex-lb. Fast-forward through OpenSpec artifact creation. Use when the user wants to quickly create all artifacts needed for implementation without stepping through each one individually.

How to use this skill

Skill file

Fast-forward through artifact creation - generate everything needed to start implementation in one go.

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.

  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.