スキル一覧に戻る
joaquimscosta

sdlc-develop

by joaquimscosta

3🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: sdlc-develop description: Orchestrates 6-phase SDLC pipeline for feature development. Use when user runs /develop command, requests guided feature development, wants to create implementation plans, or mentions "develop", "feature", "implement", "plan feature", "SDLC", "spec-driven development". Supports plan persistence, resume mode, and autonomous execution.

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 TodoWrite - Track all progress throughout every phase
  • Load phases progressively - Only read phase files when entering that phase

Quick Start

/develop add user authentication         # Full 6-phase pipeline
/develop add logout button --auto        # Autonomous mode
/develop create plan for dashboard --plan-only  # Plan only
/develop @arkhe/specs/01-user-auth/      # Resume existing plan

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
  • Ask user which phase to continue from
  • Skip to that 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 arkhe/specs/ with auto-incrementing prefixes:

arkhe/specs/
├── 01-user-auth/
│   ├── spec.md       # Requirements
│   ├── plan.md       # Architecture
│   └── tasks.md      # Task breakdown
├── 02-dashboard/
└── ...

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)
verification-report.md.templateverifyWhen --verify-arch or --verify-impl used

Configuration

If .arkhe.yaml exists at project root:

develop:
  specs_dir: arkhe/specs  # Default
  numbering: true         # NN- prefix
  ticket_format: full     # full | simple

First run without config prompts for preferences.

Execution Flow

START
  │
  ├─ Parse arguments (flags, path references)
  ├─ Detect mode (RESUME/PLAN/FULL)
  │
  ├─ [RESUME] Load plan.md → Ask which phase → Jump to phase
  │
  ├─ [PLAN/FULL] Read PHASE-0-DISCOVERY.md
  │   └─ Execute Phase 0 → Checkpoint
  │
  ├─ Read PHASE-1-REQUIREMENTS.md
  │   └─ Execute Phase 1 → Checkpoint
  │
  ├─ Read PHASE-2-ARCHITECTURE.md
  │   └─ Execute Phase 2 → Save plan → [PLAN stops here]
  │
  ├─ [FULL] Read PHASE-3-WORKSTREAMS.md
  │   └─ Execute Phase 3 → Checkpoint
  │
  ├─ Read PHASE-4-IMPLEMENTATION.md
  │   └─ Execute Phase 4 → Validation
  │
  └─ Read PHASE-5-SUMMARY.md
      └─ Execute Phase 5 → Complete

Checkpoints (unless --auto)

User approval required at:

  • End of Phase 0 (existing system findings)
  • End of Phase 1 (requirements summary)
  • Phase 2c (architecture decision)
  • End of Phase 3 (task breakdown)
  • Phase 4d (quality review findings)

Checkpoint Protocol (CRITICAL)

At every numbered prompt checkpoint:

  1. STOP - Halt all execution immediately
  2. PRESENT - Display the numbered prompt exactly as shown
  3. WAIT - Do not take any further action until user responds
  4. RESPOND - Act based on user's numbered choice:
    • 1 (APPROVE) - Proceed to next phase/step
    • 2 (REVIEW) - Show requested details, then re-present prompt
    • 3 (MODIFY/FIX) - Make changes, then re-present prompt
    • 4 (CANCEL) - Stop the pipeline entirely

Tier 1 Checkpoints (⛔ CANNOT SKIP)

These checkpoints block execution regardless of flags:

  • Phase 2c: Architecture Decision
  • Phase 4e: Completion Gate

YOU MUST STOP AND WAIT. Even with --auto, do not proceed until user explicitly responds.

Without --auto: STOP and WAIT for user response. With --auto: Auto-approve and proceed, logging the decision.

Gates (HITL Tiers)

Three-tier Human-in-the-Loop framework based on risk level:

TierCheckpointsBehavior
⛔ Tier 1Phase 2c (architecture), Phase 4→5 (completion)MANDATORY - blocks until approved
⚠️ Tier 2Phase 0→1, 1→2, 3→4RECOMMENDED - skippable with --auto
✅ Tier 3Phase 2→3 (plan saved)AUTOMATED - proceeds, logs for review

Conditional Escalation: Any phase auto-elevates to Tier 1 if:

  • Database schema changes detected
  • Security implementation involved
  • Breaking API changes proposed

See GATES.md for decision criteria and prompt patterns.

Examples

See EXAMPLES.md for detailed usage scenarios.

Troubleshooting

See TROUBLESHOOTING.md for common issues.

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です