Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
AI-SDLC Framework avatar

Ai Sdlc

  • 78 repo stars
  • Updated August 3, 2026
  • ai-sdlc-framework/ai-sdlc

AI-SDLC governance framework for Claude Code — action enforcement, telemetry, quality gates, review agents, and MCP tools

About

ai-sdlc is a Claude Code skill in the AI & Agent Building category. AI-SDLC governance framework for Claude Code — action enforcement, telemetry, quality gates, review agents, and MCP tools

  • ai-sdlc
  • AI & Agent Building
  • AI-coding skill

Ai Sdlc by the numbers

  • Data as of Aug 5, 2026 (Skillselion catalog sync)
/plugin marketplace add ai-sdlc-framework/ai-sdlc
/plugin install ai-sdlc@ai-sdlc

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
repo stars78
Last updatedAugust 3, 2026
Repositoryai-sdlc-framework/ai-sdlc

What it does

AI-SDLC governance framework for Claude Code — action enforcement, telemetry, quality gates, review agents, and MCP tools

README.md

AI-SDLC Plugin

Claude Code plugin providing governance rules, review subagents, and MCP tools for the AI-SDLC framework.

Subagents (agents/)

Plugin subagents are .md files with YAML frontmatter declaring tool grants, the harness, and the agent role.

Harness note: Claude Code filters the Agent tool out of plugin subagent sessions one level deep — plugin subagents cannot spawn other subagents. The /ai-sdlc execute slash command (main session) spawns the developer + reviewers directly.

Developer

Agent Harness Description
developer claude-code Implements backlog tasks end-to-end: plan, code, verify, commit, push, open PR

Reviewers — Claude variants (default)

Run inside Claude Code sessions. Spawned by /ai-sdlc execute Step 7b.

Agent Model Description
code-reviewer inherit Code quality review: bugs, logic errors, conventions
test-reviewer inherit Test coverage review: existence, quality, edge cases
security-reviewer inherit Security review: OWASP vulnerabilities, injection, secret exposure

Reviewers — Codex variants (cross-harness)

Shell out to codex exec internally. Use when the developer ran on Claude Code (cross-harness independence) or when Codex is preferred for cost/latency reasons.

Spawning: Agent(subagent_type='ai-sdlc:code-reviewer-codex') in a slash command body, or by choosing the -codex suffix in the /ai-sdlc execute harness selection step.

Agent Harness Description
code-reviewer-codex codex Code quality review via Codex CLI (codex exec --model o4-mini)
test-reviewer-codex codex Test coverage review via Codex CLI (codex exec --model o4-mini)

Why no security-reviewer-codex? Security review stays on Claude Opus (per feedback_subagent_model_selection.md) for its reasoning-heavy OWASP analysis. Codex variants are alternatives only for code/test review where o4-mini is adequate.

All Codex reviewer variants return the same JSON envelope as their Claude counterparts:

{
  "approved": true,
  "findings": [
    { "severity": "minor", "file": "src/foo.ts", "line": 42, "message": "..." }
  ],
  "summary": "Overall assessment in 1-2 sentences"
}

This makes harness selection transparent to the Step 8 verdict aggregator — no parsing changes needed.

Utility agents

Agent Harness Description
rebase-resolver claude-code Resolves mechanical rebase conflicts (CHANGELOG, lock files, prettier drift)
refinement-reviewer claude-code Stage B Definition-of-Ready evaluator (RFC-0011 Phase 2b semantic gates)

Slash Commands (commands/)

Command Description
/ai-sdlc execute <task-id> Full pipeline: worktree → developer → 3 reviewers → PR
/ai-sdlc execute-parallel [--count N] [--tasks ...] Spawn N concurrent execute sessions in tmux (max 5). Resource-gated; operator confirms before spawn. AISDLC-462.
/ai-sdlc execute-parallel-status Live status table of all parallel sessions (task, pane, status, step, PR, heartbeat-age). AISDLC-462.
/ai-sdlc execute-parallel-cleanup [--tasks ...] Kill in-flight tmux panes; archive session files to sessions/archived/. AISDLC-462.
/ai-sdlc review-pr Standalone review pass on the current branch
/ai-sdlc rebase <pr> Mechanical rebase + re-sign of an open PR
/ai-sdlc triage Issue triage (DOR evaluation + PPA trust)
/ai-sdlc pipeline-status Pipeline status summary
/ai-sdlc cleanup [<task-id>] Remove stale worktrees

Skills (skills/)

Skill Description
ai-sdlc-governance Auto-loaded governance rules, blocked actions, and pre-commit checklist

Install topologies + path resolution (AISDLC-245.4, AISDLC-272)

Slash command bodies invoke @ai-sdlc/pipeline-cli CLIs and plugin-internal scripts. They must work across five distinct install topologies:

# Topology CLAUDE_PLUGIN_DIR CLAUDE_PLUGIN_ROOT pipeline-cli location
1 Remote marketplace install (bundled deps) Set — deps present Set $CLAUDE_PLUGIN_DIR/node_modules/@ai-sdlc/pipeline-cli/
2 Local marketplace install (no npm install) Set — deps missing Set Self-heal via install-runtime-deps.sh, then probe cache
3 Marketplace (env injection variant) Unset Set — deps present $CLAUDE_PLUGIN_ROOT/node_modules/@ai-sdlc/pipeline-cli/
4 Plugin cache probe (env unset) Unset Unset ~/.claude/plugins/cache/<mp>/ai-sdlc/<version>/node_modules/@ai-sdlc/pipeline-cli/
5 Dogfood monorepo (this repo) Unset Unset $(pwd)/pipeline-cli/ relative to repo root

Why topology 2 exists: The local marketplace installer (/claude plugin install against a local marketplace.json) copies plugin files to ~/.claude/plugins/cache/<marketplace>/<plugin>/<version>/ but does NOT run npm install. So runtimeDependencies declared in plugin.json are never installed for local marketplace setups. The scripts/install-runtime-deps.sh self-heal script fills this gap.

Resolution algorithm

scripts/resolve-pipeline-cli.sh tries each topology in order and exits 0 with the path on the first match, or exits 1 with a clear actionable error naming the broken topology:

1. $CLAUDE_PLUGIN_DIR/node_modules/@ai-sdlc/pipeline-cli/bin exists → use it
2. $CLAUDE_PLUGIN_DIR set but deps missing → self-heal via install-runtime-deps.sh
3. $CLAUDE_PLUGIN_ROOT/node_modules/@ai-sdlc/pipeline-cli/bin exists → use it
4. ~/.claude/plugins/cache/*/ai-sdlc/*/node_modules/... exists → use highest version
5. $(pwd)/pipeline-cli/bin exists → use it (dogfood monorepo)
6. Nothing found → exit 1 with actionable error + PIPELINE_CLI_BIN override hint

Usage in slash command bodies

Rule: never hardcode node pipeline-cli/bin/cli-XXX.mjs or node ai-sdlc-plugin/scripts/XXX.mjs in a slash command body. Use the portable preamble:

# PLUGIN_SCRIPTS_DIR — resolves plugin-internal scripts (compute-slug.mjs etc.):
# Must be set FIRST — resolve-pipeline-cli.sh lives under PLUGIN_SCRIPTS_DIR.
PLUGIN_SCRIPTS_DIR="${CLAUDE_PLUGIN_DIR:-${CLAUDE_PLUGIN_ROOT:-$(pwd)/ai-sdlc-plugin}}/scripts"

# PIPELINE_CLI_BIN — resolves across all 5 install topologies (AISDLC-272).
# Override: export PIPELINE_CLI_BIN=/path/to/pipeline-cli/bin to skip resolution.
if [ -z "${PIPELINE_CLI_BIN:-}" ]; then
  PIPELINE_CLI_BIN=$(bash "$PLUGIN_SCRIPTS_DIR/resolve-pipeline-cli.sh") || exit 1
fi

Then invoke CLIs as:

# pipeline-cli binary
node "$PIPELINE_CLI_BIN/cli-deps.mjs" preflight "$TASK_ID" ...

# plugin-internal script
node "$PLUGIN_SCRIPTS_DIR/compute-slug.mjs" "$TASK_FILE"

Manual self-heal (local marketplace installs)

If you installed via a local marketplace and @ai-sdlc/pipeline-cli is missing:

bash ~/.claude/plugins/cache/ai-sdlc-local/ai-sdlc/<version>/scripts/install-runtime-deps.sh

Or override PIPELINE_CLI_BIN in your shell before launching Claude Code:

export PIPELINE_CLI_BIN=/path/to/ai-sdlc/pipeline-cli/bin

Note on CLAUDE_PLUGIN_ROOT: for plugin-internal scripts already using ${CLAUDE_PLUGIN_ROOT} (e.g. sign-attestation.mjs invocations in /ai-sdlc execute Step 10.5 and /ai-sdlc rebase), leave those unchanged — Claude Code injects CLAUDE_PLUGIN_ROOT at session start and it is always available in the main session context.

Enforcement: ai-sdlc-plugin/commands/execute.test.mjs and orchestrator-tick.test.mjs both contain assertions (AISDLC-245.4 + AISDLC-272 suites) that scan the command body for bare node pipeline-cli/bin/... invocations and fail the test run if found. ai-sdlc-plugin/scripts/resolve-pipeline-cli.test.mjs tests each topology in isolation. When adding a new slash command, copy the path-resolution preamble above and add a similar regression test.

ai-sdlc init — CI-safe by default (AISDLC-263)

ai-sdlc init runs the interactive feature wizard by default. When process.stdin is not a TTY (CI runners, agent bash sessions, Docker containers without -it, piped input), the wizard automatically falls through to --yes defaults — all features on — rather than hanging or throwing an unhandled error.

# These all work without hanging or prompting:
ai-sdlc init               # in any CI step / agent bash
ai-sdlc init < /dev/null   # explicit non-TTY simulation

When auto-fall-through fires, the CLI prints:

Non-TTY stdin detected — auto-accepting all feature defaults (equivalent to --yes).
Pass --yes explicitly to suppress this message.

To be explicit, pass --yes (recommended for CI scripts — makes intent clear and suppresses the auto-fall-through log line):

ai-sdlc init --yes

Cross-harness review

See docs/operations/cross-harness-review.md for the bidirectional convention, cost/latency comparison, and Codex CLI prerequisites.

MCP Server (mcp-server/)

The plugin bundles an MCP server (@ai-sdlc/plugin-mcp-server) exposing task management and verdict aggregation tools. See mcp-server/src/tools/ for the tool definitions.

Testing

# Agent definition tests (Node built-in runner)
node --test ai-sdlc-plugin/agents/agents.test.mjs

# Command body tests
node --test ai-sdlc-plugin/commands/execute.test.mjs

# Path resolution topology tests (AISDLC-272)
node --test ai-sdlc-plugin/scripts/resolve-pipeline-cli.test.mjs

# MCP server tests (Vitest)
pnpm --filter @ai-sdlc/plugin-mcp-server test

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.