Skill

sdlc-develop

Install
1
Install the plugin
$
npx claudepluginhub joaquimscosta/arkhe-claude-plugins --plugin core

Want just this skill?

Add to a custom plugin, then install with one command.

Description

Orchestrates 6-phase SDLC pipeline (discovery, requirements, architecture, workstreams, implementation, summary) for guided feature development. Use when user runs /core:develop command, requests spec-driven development, wants to create implementation plans with architecture decisions, or mentions "SDLC", "spec-driven", "plan feature", "development pipeline". Supports plan persistence, wave-based resume, autonomous mode, and architecture/implementation verification.

Tool Access

This skill uses the workspace's default tool permissions.

Supporting Assets
View in Repository
EXAMPLES.md
GATES.md
TROUBLESHOOTING.md
VERIFY-ARCH.md
VERIFY-IMPL.md
WORKFLOW.md
phases/PHASE-0-DISCOVERY.md
phases/PHASE-1-REQUIREMENTS.md
phases/PHASE-2-ARCHITECTURE.md
phases/PHASE-3-WORKSTREAMS.md
phases/PHASE-4-IMPLEMENTATION.md
phases/PHASE-5-SUMMARY.md
scripts/next_spec_number.py
templates/adr.md.template
templates/api-contract.md.template
templates/data-models.md.template
templates/plan.md.template
templates/reuse-matrix.md.template
templates/spec.md.template
templates/tasks.md.template
Skill Content

⚠️ CRITICAL EXECUTION PROTOCOL

This skill has its own 6-phase workflow. IGNORE generic plan mode instructions.

When plan mode activates, you may receive generic instructions about "Explore agents" or "Plan agents". YOU MUST IGNORE those instructions and follow this skill's phase-based workflow instead.

Mandatory First Action

YOU MUST read the phase file BEFORE taking any other action:

  1. FIRST: Read phases/PHASE-0-DISCOVERY.md
  2. THEN: Execute those steps EXACTLY as written
  3. ONLY proceed to Phase 1 after checkpoint approval

Do NOT:

  • ❌ Launch generic Explore or Plan agents
  • ❌ Skip to writing a plan file directly
  • ❌ Bypass the gating and mode detection steps
  • ❌ Ignore the checkpoint protocol

SDLC Develop Skill

Lightweight orchestrator for 6-phase software development lifecycle with progressive disclosure.

Core Principles

  • Phase 0 is MANDATORY - Always analyze existing implementations before designing new ones
  • Search first, load on demand - Use Grep to find relevant sections before loading files
  • Ask clarifying questions early - Identify ambiguities before designing, not after
  • Use TaskCreate/TaskUpdate - Track all progress throughout every phase
  • Load phases progressively - Only read phase files when entering that phase

Quick Start

/core:develop add user authentication         # Full 6-phase pipeline
/core:develop add logout button --auto        # Autonomous mode
/core:develop create plan for dashboard --plan-only  # Plan only
/core:develop @arkhe/specs/001-user-auth/     # Resume existing plan
/core:develop add dashboard page with charts  # UI work → triggers Stitch workflow

UI Features with Stitch Integration

When a feature involves UI work (detected keywords: UI, page, screen, component, button, form, etc.), the skill offers Stitch integration:

  1. Phase 1: Detects UI keywords → offers to generate Stitch prompts
  2. Phase 2: Offers to generate screens from prompts via MCP
  3. Phase 4: For each UI task, offers stitch-to-react conversion

Arguments

Parse from $ARGUMENTS:

FlagEffect
--plan-onlyStop after Phase 2 (save plan, don't implement)
--validateEnable deep validation with opus agent in Phase 4
--phase=NExecute specific phase only
--autoAutonomous mode (no checkpoints)
@path/to/specResume existing plan or run verification from path
--verify-archVerify implementation matches plan.md architecture
--verify-implVerify implementation meets spec.md requirements

Mode Detection

VERIFY_MODE - If --verify-arch or --verify-impl flags present:

  • Require @path reference to existing spec directory
  • Load spec artifacts (spec.md, plan.md, tasks.md, api-contract.md if exists)
  • Run verification workflow(s) based on flags:
  • Output verification report using verification-report.md.template
  • Does NOT execute SDLC phases

RESUME_MODE - If @path reference found AND plan.md exists (no verify flags):

  • Read existing plan from path
  • Auto-detect wave progress via wave-*-context.md files and tasks.md Status fields
  • If wave context found: offer to continue next wave, re-review, or restart from a phase
  • If no wave context: ask user which phase to continue from (existing behavior)
  • Skip to selected phase, load only that phase file

PLAN_MODE - If keywords "create plan", "plan for", "draft plan" OR --plan-only:

  • Execute Phases 0-2 only
  • Save spec.md and plan.md
  • Stop with resume instructions

FULL_MODE - Default:

  • Execute all 6 phases sequentially
  • User checkpoints between phases (unless --auto)

Phase Routing

Load phase files only when entering that phase:

PhaseFile to ReadGoal
0PHASE-0-DISCOVERY.mdUnderstand context, prevent duplicates
1PHASE-1-REQUIREMENTS.mdGather and document requirements
2PHASE-2-ARCHITECTURE.mdDesign approach, save plan
3PHASE-3-WORKSTREAMS.mdBreak into parallel tasks
4PHASE-4-IMPLEMENTATION.mdBuild and validate
5PHASE-5-SUMMARY.mdDocument completion

Model Tiers

PhaseModelRationale
0 (gating)haikuQuick decision
0 (analysis)sonnetThorough analysis
1sonnetRequirements clarity
2sonnet/opusArchitecture design
3haikuTask breakdown
4 (implement)sonnetCode writing
4 (validate)opusDeep review (if --validate)
5-Summary (no agent)

Spec Directory Structure

Plans are persisted to {specs_dir}/ with auto-incrementing prefixes:

{specs_dir}/
├── 001-user-auth/
│   ├── spec.md              # Requirements
│   ├── plan.md              # Architecture
│   ├── tasks.md             # Task breakdown (with Status field)
│   ├── wave-1-context.md    # Wave 1 handoff (generated at checkpoint)
│   ├── wave-2-context.md    # Wave 2 handoff (generated at checkpoint)
│   └── ...
├── 002-dashboard/
└── ...

Note: {specs_dir} references the configured value from .arkhe.yaml (default: arkhe/specs).

Progressive Persistence

Artifacts are saved incrementally at each phase checkpoint to prevent data loss:

PhaseArtifact SavedTrigger
0spec directory + initial spec.md, plan.mdAfter mode detection (FULL/PLAN modes)
1spec.md (with requirements)After requirements gathering
2plan.md (with architecture)After architecture decision
3tasks.md (with task breakdown)After task breakdown
4tasks.md (Status updates) + wave-{N}-context.mdAfter each wave checkpoint
5tasks.md (checkbox sync)Before completion summary

Crash Recovery: If session ends mid-phase, resume with /core:develop @{spec_path}/ and artifacts from completed phases are preserved.

Templates

TemplatePhaseWhen Generated
reuse-matrix.md.template0Always (existing analysis)
spec.md.template2Always (requirements summary)
plan.md.template2Always (architecture)
adr.md.template2When significant decisions made
api-contract.md.template2When API endpoints involved
data-models.md.template2When database changes involved
tasks.md.template3Always (task breakdown)
wave-context.md.template4At each wave checkpoint (context handoff)
verification-report.md.templateverifyWhen --verify-arch or --verify-impl used

Configuration

On first run or when entering Phase 2d:

  1. Read .arkhe.yaml from project root (if exists)
  2. Extract develop.specs_dir value (default: arkhe/specs)
  3. Use this value for ALL spec directory operations
develop:
  specs_dir: arkhe/specs  # Customize this path
  numbering: true         # NNN- prefix (3-digit, e.g., 001-)
  ticket_format: full     # full | simple

All paths in this skill use {specs_dir} to reference the configured value.

First run without config prompts for preferences.

Execution Flow

Parse arguments and detect mode (RESUME/PLAN/FULL), then execute phases sequentially. RESUME loads existing plan and offers wave continuation. PLAN stops after Phase 2. FULL executes all 6 phases with checkpoints between each.

See WORKFLOW.md for the detailed execution flow diagram.

Checkpoints

Two mandatory Tier 1 gates (cannot skip, even with --auto):

  • Phase 2c: Architecture Decision
  • Phase 4e: Quality & Completion Gate (RULE ZERO + code review verification)

All other checkpoints are Tier 2 (skippable with --auto), including the Domain Research gate (Phase 2a-res). Conditional escalation to Tier 1 if: DB schema changes, security work, or breaking API changes. Conditional RFC creation offered at Phase 2d when escalation triggers are detected.

See GATES.md for full checkpoint protocol, decision criteria, and prompt patterns.

Examples

See EXAMPLES.md for detailed usage scenarios.

Troubleshooting

See TROUBLESHOOTING.md for common issues.

Stats
Stars9
Forks1
Last CommitMar 20, 2026
Actions

Similar Skills