/sdlc-setup

An interactive setup command for initializing software-development lifecycle (SDLC) management in a project. SDLC means the stages and checks used to plan, build, and maintain software.

In plain words
What is it for?
Use it to choose a starter or Microsoft enterprise profile, configure a project, and create its .sdlc tracking directory.
Why use it?
It creates the project files needed to track phases, rules, and deliverables instead of requiring that structure to be assembled manually.

Command

Part of the claude-code-mastery plugin — 1 skill, 12 commands, 3 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/mckruz/claude-code-mastery/sdlc-setup
Clone the repo
git clone --depth 1 https://github.com/MCKRUZ/claude-code-mastery

Or install claude-code-mastery, the plugin that ships this one along with the rest of its 1 skill, 12 commands, 3 agents.

Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 594 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00019 $0.00594
Opus 5 $0.00010 $0.00297
Sonnet 5 $0.00004 $0.00119
Haiku 4.5 $0.00002 $0.00059

Measured 3d ago against content hash 39ef008075cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

/sdlc-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

cursor-export/commands/sdlc-setup.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/sdlc-setup - Interactive Setup Wizard

Initialize SDLC lifecycle management for a project.

Workflow

Step 1: Check Existing Setup

Look for .sdlc/state.yaml in the current directory.

  • If exists: warn the user that SDLC is already initialized. Ask if they want to view status (/sdlc) or re-initialize (destructive -- requires confirmation).
  • If not exists: proceed with setup.

Step 2: Profile Selection

List available profiles:

  • microsoft-enterprise — C#/.NET 8 + Angular 17 + Azure, SOC 2 compliance, 80% coverage minimum, TDD required
  • starter — Minimal profile, no compliance gates, quick start for any stack

Ask the user to select a profile.

Step 3: Project Configuration

Ask the user for:

  • Project name (default: current directory name)
  • Confirm the selected profile settings are appropriate

Step 4: Initialize .sdlc/

Create the following directory structure:

.sdlc/
  state.yaml          # Phase tracking (Phase 0: Discovery active)
  profile.yaml        # Frozen copy of selected profile
  constitution.md     # Project constitution
  artifacts/          # Per-phase artifact directories (00-09)

If an init script is available (e.g., init_project.py), run it:

python scripts/init_project.py \
  --profile profiles/<selected-profile>/profile.yaml \
  --target . \
  --name "<project-name>"

Otherwise, create the directory structure manually.

Step 5: Update CLAUDE.md / Project Instructions

Read the profile's claude-md-template.md and append its contents to the project's instruction file:

  • If project instructions exist: append the SDLC section
  • If they don't exist: create with the SDLC section

Step 6: Confirmation

Display:

SDLC initialized successfully!

Profile: <profile-id>
Phase: 0 - Discovery (active)
Artifacts: .sdlc/artifacts/00-discovery/

Next steps:
1. Run /sdlc to see Phase 0 guidance
2. Create your problem statement in .sdlc/artifacts/00-discovery/problem-statement.md
3. Check exit criteria when ready
4. Advance to Phase 1 when criteria are met

Read the full file on GitHub · 81 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 81 lines · 19 tokens per session scan A 39ef008075cf

Subscribe to this mod's changes

/sdlc-setup is a command published in the GitHub repository MCKRUZ/claude-code-mastery (11 stars, last pushed 4mo ago), licensed MIT. It adds 19 tokens to every session and 594 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.