sdlc
A risk-tiered software development process for Claude Code: role agents that plan, build, verify and ship, gates where a person decides, and evidence instead of claims.
It uses the lightest process the risk allows. A one-line UI fix goes straight through; an auth change waits for a design review and your yes. A skipped gate is reported as skipped, and a check that did not run is reported as not run.

The diagram's source is docs/architecture.drawio. Open it in draw.io and export it again to docs/architecture.png after a change. The checked-in PNG is still the 0.4.0 export, without the 0.5.0 Jira column.
Install
Plugin (agents, commands and gate hooks):
/plugin marketplace add amir1824/sdlc
/plugin install sdlc@sdlc
Rules (recommended, since the agents assume them):
git clone https://github.com/amir1824/sdlc.git && cd sdlc && scripts/install.sh
install.sh copies the rules into ~/.claude/rules/. A file it replaces is moved to ~/.claude/.sdlc-backup/<time>/ first; nothing is deleted.
Maintaining this repo: link instead of copy
scripts/install.sh --link --agents links the rules, agents and commands into ~/.claude, so git pull updates your install. Do not combine it with the plugin install, or each agent appears twice. Skills ship with the plugin install only: --link --agents does not link them, so the sdlc:<name> skills the agents name are skipped there. Plugin hooks load only with the plugin, so wire them in ~/.claude/settings.json yourself (back it up first; scripts/check.sh shows linked once they are there):
"hooks": {
"UserPromptSubmit": [
{ "hooks": [{ "type": "command", "command": "python3 -I /path/to/sdlc/plugins/sdlc/hooks/sdlc_gate.py prompt", "timeout": 5 }] }
],
"PreToolUse": [
{ "matcher": "Edit|Write|MultiEdit|NotebookEdit|Bash",
"hooks": [{ "type": "command", "command": "python3 -I /path/to/sdlc/plugins/sdlc/hooks/sdlc_gate.py tool", "timeout": 5 }] },
{ "matcher": "^mcp__",
"hooks": [{ "type": "command", "command": "python3 -I /path/to/sdlc/plugins/sdlc/hooks/sdlc_gate.py mcp", "timeout": 5 }] }
],
"PreCompact": [
{ "hooks": [{ "type": "command", "command": "python3 -I /path/to/sdlc/plugins/sdlc/hooks/sdlc_gate.py precompact || exit 0", "timeout": 5 }] }
],
"SessionStart": [
{ "matcher": "compact",
"hooks": [{ "type": "command", "command": "python3 -I /path/to/sdlc/plugins/sdlc/hooks/sdlc_gate.py compacted", "timeout": 5 }] }
],
"PostToolUse": [
{ "matcher": "Edit|Write|MultiEdit",
"hooks": [{ "type": "command", "command": "python3 -I /path/to/sdlc/plugins/sdlc/hooks/status_check.py hook", "timeout": 5 }] },
{ "matcher": "Edit|Write|MultiEdit|NotebookEdit",
"hooks": [{ "type": "command", "command": "python3 -I /path/to/sdlc/plugins/sdlc/hooks/sdlc_gate.py frozen-seen", "timeout": 5 }] },
{ "matcher": "^mcp__.*(getJiraIssue|executeRead|execute_read|jira_get_issue)",
"hooks": [{ "type": "command", "command": "python3 -I /path/to/sdlc/plugins/sdlc/hooks/sdlc_gate.py jira-seen", "timeout": 5 }] }
]
}
The mcp entry denies every MCP tool that does not read in a /sdlc jira run, and the jira-seen entry lets approve plan through once the session has read the ticket and its labels hold sdlc (or SDLC_JIRA_LABEL); mcp starts Python on every MCP call (about 40 ms) and does nothing in a session with no Jira run; jira-seen starts it only on a ticket read. Without jira-seen, a Jira run cannot be approved until the owner replies sdlc off. The last entry is the status.md check. It is optional and advisory: it reports a malformed status.md as context and never blocks a write. Set SDLC_STATUS_CHECK=off to silence it. If you already have a PostToolUse list (for repeat_guard.py, for example), add the entry to it.
To keep your own version of a file (for example an agent with your own MCP tools), list it in ~/.claude/.sdlc-local-overrides, one path per line (agents/product-manager.md). install.sh never replaces a listed file.
When to use /sdlc