/sdlc:Initfrom sdlc
Generates AI-native artifacts for brownfield repos: CLAUDE.md with cited rules, context modules, and MCP config scaffold (Jira, Confluence, GitHub). Delegates foundation to buddy plugin.
Ships in sdlc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn an existing (brownfield) repository into an AI-native one by checking the AI layer into source control: rules (CLAUDE.md), on-demand context modules (.claude/context/), and tool configuration (.mcp.json). Init does not reinvent codebase analysis — it delegates the foundation to buddy and layers the AI-native artifacts on top.
Before executing, check ~/.claude/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/Init/PREFERENCES.md. If present, load and apply it; otherwise use defaults.
test -f ~/.claude/LIFEOS/VERSION. If missing: "LifeOS is required. Run /setup:lifeos, then install the buddy plugin (/plugin install buddy@claude-buddy-marketplace).".mcp.json is scaffolded for later.| Workflow | Trigger | File |
|---|---|---|
| RunInit | Any /sdlc:init invocation | Workflows/RunInit.md |
| Artifact | Path | Owner |
|---|---|---|
| Project foundation | /directive/foundation.md | buddy Foundation (delegated) |
| Global rules | CLAUDE.md (repo root, < 300 lines) | Init |
| Context modules | .claude/context/*.md | Init |
| MCP config scaffold | .mcp.json | Init (if absent) |
Every rule in CLAUDE.md must trace to something real in the codebase — cite it (file:line). Do not invent aspirational rules the code does not follow. Global rules are only for what applies to basically every task; anything task-specific belongs in a .claude/context/ module, not the global file (context rot is real — keep CLAUDE.md lean).
Example 1: fresh brownfield init
User: "/sdlc:init"
→ Confirms buddy + LifeOS present
→ Runs /buddy:foundation (detects domain, writes /directive/foundation.md)
→ Analyzes the code, derives a lean CLAUDE.md (< 300 lines, rules cited to file:line)
→ Writes .claude/context/{architecture,testing,...}.md for task-specific detail
→ Scaffolds .mcp.json (Atlassian + GitHub) if not present
→ Presents everything for human review before committing
Modeled on Cole Medin's create-rules from the ai-native-starter-pack, layered on buddy's Foundation.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub rsts-dev/claude-buddy-marketplace --plugin sdlc9 skills in this plugin
/CommitCreate a conventional-format commit, push, and open a GitHub PR that links the Jira ticket. GitHub is the source of record. Reuses buddy's SourceControl for commit formatting when available. USE WHEN sdlc commit, commit, create commit, open PR, push and PR, ship it, create pull request, link jira ticket./ImplementThe Implement step of R-PIV. Execute strictly from an approved plan in a fresh context, delegating to buddy's TDD implementation when a tasks list exists. Build only what the plan specifies; if it drifts, stop and return to planning. USE WHEN sdlc implement, execute plan, build from plan, implement ticket, execute tasks, code the plan./PlanThe Plan step of R-PIV. Turn one story/ticket into a context-rich handoff plan for a fresh implementing agent, grilling the user first to reduce the agent's assumptions. Produces a reviewable plan artifact, not code. USE WHEN sdlc plan, plan feature, plan a ticket, create implementation plan, handoff plan, reduce assumptions, grill me, plan before implement.Other plugins' skills for the same job