Claude-skill-registry dev-feature

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/dev-feature" ~/.claude/skills/majiayu000-claude-skill-registry-dev-feature && rm -rf "$T"
manifest: skills/data/dev-feature/SKILL.md
source content

Feature Development Workflow SOP

Version: 1.0.0 Last Updated: 2026-01-11 Status: Active


Overview

Purpose

This workflow enables complex, multi-session feature development using AI agents with persistent documentation. It ensures continuity across sessions, tracks progress systematically, and allows any agent (or human) to pick up work exactly where the previous session left off.

When to Use

ALWAYS: Multi-day features, architecture changes, projects requiring research + design + implementation phases, work spanning multiple sessions SKIP: Tasks completable in a single session, simple bug fixes, minor updates


Process Workflow

Flow Diagram

[New Feature Request]
        |
[Phase 1: Setup] --> Create feature folder + INDEX.md
        |
[Phase 2: Research] --> Spawn Explore agent --> research/*.md
        |
[Phase 3: Design] --> design/DESIGN_##_*.md
        |
[Phase 4: Planning] --> development/EXECUTION_##_*.md
        |
[Phase 5: Execute] --> Spawn sub-agents --> Implement
        |
[Phase 6: Validate] --> TypeScript + Review + Tests
        |
[Phase 7: Handoff] --> Update SESSION_HANDOFF.md

Phase Summary

PhaseObjectiveDeliverableDuration
1. SetupCreate folder structureFeature folder with INDEX.md15-30 min
2. ResearchUnderstand current stateGap analysis, research notes1-4 hours
3. DesignCreate solution designsDesign documents per component2-6 hours
4. PlanningBreak into executable tasksExecution documents with checkboxes1-2 hours
5. ExecutionImplement via sub-agentsWorking code (pending validation)Variable
6. ValidationVerify correctnessValidated code, updated docs15-30 min
7. HandoffDocument session stateUpdated SESSION_HANDOFF.md10-15 min

Quick Start

Starting a New Feature

  1. Create Feature Folder

    /docs/ignored/{feature-name}/
    ├── INDEX.md                    # Central navigation + status
    ├── SESSION_HANDOFF.md          # Session continuity
    ├── research/                   # Research and analysis
    ├── design/                     # Design documents
    └── development/                # Execution plans
    
  2. Create INDEX.md using INDEX_TEMPLATE.md

  3. Create SESSION_HANDOFF.md using SESSION_HANDOFF_TEMPLATE.md

  4. Begin Research Phase - Invoke

    /design-research
    skill

Resuming a Feature

  1. Read
    INDEX.md
    for overall project status
  2. Read
    SESSION_HANDOFF.md
    for last session context
  3. Check dependency graph for next available task
  4. Read relevant DESIGN + EXECUTION docs
  5. Continue execution

Key Principles

  1. Index as Single Source of Truth - INDEX.md is the authoritative reference for project status
  2. Session Handoff Continuity - Every session ends with updated SESSION_HANDOFF.md
  3. Atomic Execution Documents - Each execution is self-contained with clear inputs/outputs
  4. Agent Specialization - Use Explore for research, general-purpose for implementation
  5. Documentation-Driven Progress - Work isn't "done" until docs reflect completion

Detailed Workflow

See WORKFLOW.md for complete phase-by-phase instructions including:

  • Step-by-step procedures for each phase
  • Agent spawning patterns
  • Validation checklists
  • Troubleshooting guidance

Templates

TemplatePurposeLocation
INDEX_TEMPLATECentral navigation and status trackingtemplates/INDEX_TEMPLATE.md
SESSION_HANDOFF_TEMPLATESession continuitytemplates/SESSION_HANDOFF_TEMPLATE.md
EXECUTION_TEMPLATEStep-by-step implementation plantemplates/EXECUTION_TEMPLATE.md

Agent Spawn Patterns

Research Phase (Explore Agent)

Use Task tool with subagent_type: "Explore"
- Codebase questions
- Finding files/patterns
- Understanding architecture

Implementation Phase (General-Purpose Agent)

Use Task tool with subagent_type: "general-purpose"
- Creating files
- Modifying code
- Running validations

Quick Reference

Folder Structure

TypeLocation
Feature Docs
/docs/ignored/{feature}/
Index
/docs/ignored/{feature}/INDEX.md
Handoff
/docs/ignored/{feature}/SESSION_HANDOFF.md
Research
/docs/ignored/{feature}/research/
Design
/docs/ignored/{feature}/design/
Execution
/docs/ignored/{feature}/development/

Validation Commands

# TypeScript check
npx tsc --noEmit

# Format and lint
task format-all

# Run tests
task test

Status Indicators

SymbolMeaning
░░░░░░░░░░Not started (0%)
█████░░░░░In progress (50%)
██████████Complete (100%)

Troubleshooting

IssueSolution
Agent lacks contextProvide full design doc content in prompt
Dependency not metCheck INDEX.md dependency graph before starting
Lost session stateRead SESSION_HANDOFF.md to restore context
Stale documentationRun documentation update agent after code changes

Related Skills

SkillPurposeWhen to Use
/design-research
Research and designPhase 2-3: Research and Design
/review-code
Code reviewPhase 6: Validation
/test
TestingPhase 6: Validation
/git-pr
Create pull requestsAfter feature complete

Note: Skill paths (

/skill-name
) work after deployment. In the template repo, skills are in domain folders.


End of SOP