Skip to content
Development
Command

/init-openspec

Initialize OpenSpec in a project directory with the scaffolding-workflow schema.

From plugin
scaffolding
1621 skills13 agents21 commands25 hooks
> /plugin marketplace add komluk/scaffolding
> /plugin install scaffolding@komluk-scaffolding

Command definition

init-openspec.md
name: init-openspec
description: Initialize OpenSpec in a project directory with the scaffolding-workflow schema.

/init-openspec Command

Initialize OpenSpec in a project directory with the scaffolding-workflow schema.

Usage

/init-openspec [project-path]

If no path is provided, initializes in the current working directory.

What It Does

Sets up OpenSpec spec-driven development tooling in a project:

1. Installs/verifies OpenSpec CLI 2. Initializes OpenSpec directory structure 3. Copies the scaffolding-workflow custom schema

Steps

1. **Verify OpenSpec CLI is available**

   openspec --version || npm install -g @fission-ai/openspec@latest

2. **Initialize OpenSpec in target directory**

   openspec init --tools claude [project-path]

This creates `.scaffolding/openspec/` directory and `.claude/commands/specs/` command files.

3. **Copy the scaffolding-workflow schema**

   openspec schema fork spec-driven scaffolding-workflow

Then replace the generated schema with the customized version from: `./schemas/scaffolding-workflow/schema.yaml`

4. **Create the conversations directory**

   mkdir -p .scaffolding/conversations/
   # link it to the shared NFS share (no-op without a reachable share)
   bash "${CLAUDE_PLUGIN_ROOT}/hooks/nfs-sync.sh" link "$PWD"

5. **Verify installation**

   openspec schemas
   openspec schema validate scaffolding-workflow

Output

After completion, confirm:

  • OpenSpec version installed
  • Directory structure created (`.scaffolding/openspec/specs/`, `.scaffolding/openspec/schemas/`, `.scaffolding/conversations/`)
  • Commands available (`/specs:new`, `/specs:ff`, `/specs:apply`, etc.)
  • Custom schema `scaffolding-workflow` validated and available

Available OpenSpec Commands After Init

| Command | Purpose | |---------|---------| | `/specs:new` | Start a new spec-driven change | | `/specs:ff` | Fast-forward: generate all artifacts at once | | `/specs:apply` | Implement tasks from specs | | `/specs:continue` | Create the next artifact | | `/specs:verify` | Verify implementation matches specs | | `/specs:archive` | Archive completed change |

Notes

  • Requires Node.js >= 20.19.0
  • Does not modify existing `.claude/commands/` files
  • Specs in `.scaffolding/openspec/specs/` and schemas in `.scaffolding/openspec/schemas/` are tracked in git
  • Conversation specs live in `.scaffolding/conversations/{conversation_id}/specs/` (`conversations/` is a symlink to `<share>/projects/<repo-name>/conversations`)
Read more
@komluk
Ships withscaffolding

Spec-driven multi-agent orchestration for Claude Code — pure markdown, zero backend, runs on the stock runtime. 13 agents, 39 skills, 21 commands, 20 hooks, per-phase model tiers, opt-in lifecycle hooks, optional cross-device semantic memory.

1639 skills13 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
16
Star history of komluk/scaffolding on GitHub, a chart by star-history.com

Other commands on scaffolding.

context

context

Command

Analyze and optimize Claude Code's context configuration (analyze, optimize, or reset).

@komluk@komlukInstall Command
create-skill

create-skill

Command

Scaffold a new scaffolding-compatible skill: an interactive flow that creates `skills/<name>/SKILL.md` from the canonical…

@komluk@komlukInstall Command
doctor

doctor

Command

Health-check the scaffolding install and report install problems plus exact fixes (diagnose-only, never mutates).

@komluk@komlukInstall Command
init-rules

init-rules

Command

Scaffold opt-in path-scoped nested CLAUDE.md rule files into the project to lazy-load per-area conventions while keeping routing…

@komluk@komlukInstall Command
init-scaffolding

init-scaffolding

Command

Bootstrap a new project with the scaffolding CLAUDE.md, settings.json, and `.scaffolding/` directory structure.

@komluk@komlukInstall Command
learn

learn

Command

Distill a finished conversation into classified knowledge candidates and propose (never auto-apply) memory writes or a new-skill…

@komluk@komlukInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command