Skills / setup

/sdlc:setup

Configure the sdlc plugin for your project from one menu: pick a section, answer its questions, confirm the diff.

Run it in Claude Code

/sdlc:setup
Starts from
With /sdlc:setup, with or without a flag. The skill stops when plan mode is active.
Ends with
After Step 4 prints the summary and the Setup tab pointer. When the user selects no section, the run goes to Step 3c and changes no config file. A run that stops before Step 4 prints no pointer, for example in plan mode, after 3 invalid menu replies, or on a migration error.
Asks you
At the Setup tab question (only when all Step 0 item 3 conditions hold), at the section menu, at the migration question, at the save-target question, for each field of each selected section, at the diff preview before the write, and at the CI script update question.
After a stop
none

What it does, step by step

  • You act
  • Always runs
  • Optional or conditional

/sdlc:setup

Configure the sdlc plugin for your project from one menu: pick a section, answer its questions, confirm the diff.

Why use it

You installed the plugin, or a skill reported missing config, and you do not want to learn two TOML files by hand. /sdlc:setup shows each config section with its current state, and you choose the sections to configure. For each section, it explains every option, asks its questions and shows the change before it writes. The result is the config that /sdlc:ship, /sdlc:review, /sdlc:plan and the other skills read.

Example

Run the skill with no flag:

/sdlc:setup

The skill creates .sdlc-v2/ and its two commented config files when they are absent. Then you see:

  • In the main worktree, first a question: change the form sections in the dashboard Setup tab or in this dialogue. On Setup tab, the Setup tab opens, and the status block and the menu list only the sections that need the assistant.
  • A status block: each section, with [set] or [not set] and a summary of its current value.
  • A numbered menu. You reply with numbers such as 1,3,5, or with all, not-set or none.
  • For each section you chose: its purpose, the files it changes, the skills that read it, and its options.
  • A before/after table of the config values that change. The skill writes them after you confirm, then lists the files it created or updated.

What you get

  • Configure only what you need: choose sections by number, take all, or take only the sections that are not set.
  • Understand each option before you answer: each field shows its type, default, description and examples, and you can ask for more.
  • See each change before it lands: a before/after table shows the changed values, and you confirm it before the write.
  • Keep personal settings personal: save them for this project only, or in your user profile for every project on your machine.
  • Run it again safely: setup never replaces an existing config file with the template, and a run writes only the sections you configure.

More examples

Go directly to one section:

/sdlc:setup --dimensions

No menu. The skill scans your project, proposes review dimensions with evidence, and writes the dimensions you select to .sdlc-v2/review-dimensions/. --guardrails, --execution-guardrails, --pr-template, --plan-template and --openspec-enrich also open one section directly.

Configure a set of sections:

/sdlc:setup --only version,ship,review

No menu. The skill configures the three sections, then shows the diff and the summary. ship and review are personal settings, so the skill asks one time where to save them.

Reconfigure everything:

/sdlc:setup --force

No menu. The skill selects all 19 sections, including the sections that are already set.

Config templates

/sdlc:setup writes .sdlc-v2/config.toml and .sdlc-v2/local.toml from the template files of the plugin. Both files are commented TOML that lists every option, so you can also change a setting by hand. The menu does not ask about some options. One of them is [harden.instructions]: see Custom instructions. Config files lists the others.

Reference

  • Flags and sections: each flag, the menu replies, the 19 section IDs, and how to ask what an option means.
  • Config files: where each setting is saved, the options that setup does not ask about, migration, and the CI script check.
  • /sdlc:ship: reads the pipeline steps and the review threshold that you set here.
  • /sdlc:review: reads the review dimensions and the review scope that you set here.
  • /sdlc:plan: reads the plan template and the plan guardrails that you set here.
  • /sdlc:jira: reads the default Jira project key that you set here.