本文へ移動
cccskills
無料GitHub で公開

spec-workflow

This skill should be used when the user asks to "build a feature", "create a spec", "start spec-driven development", "run research phase", "generate requirements", "create design", "plan tasks", "implement spec", "check spec status", "triage a feature", "create an epic", "decompose a large feature", or needs guidance on spec-driven development workflow, phase ordering, or epic orchestration.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md4.5 KB
  • references/phase-transitions.md6.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Spec Workflow

Spec-driven development transforms feature requests into structured specs through sequential phases, then executes them task-by-task.

Decision Tree: Where to Start

SituationCommand
New feature, want guidance/ralph-specum:start <name> <goal>
New feature, skip interviews/ralph-specum:start <name> <goal> --quick
Large feature needing decomposition/ralph-specum:triage <goal>
Resume existing spec/ralph-specum:start (auto-detects)
Jump to specific phase/ralph-specum:<phase>

Single Spec Flow

start/new -> research -> requirements -> design -> tasks -> implement
                         ^
                         optional prototype overlay, then return

Each phase produces a markdown artifact under the resolved <basePath>/. Normal mode pauses for approval between phases. Quick mode runs all phases then auto-starts execution.

Prototype is an optional overlay, not a main phase. The main phase remains research, requirements, design, tasks, or execution; live prototype work is stored in activePrototypes. Resolve the configured spec root and basePath before any overlay operation. Follow references/phase-transitions.md when suggesting, starting, resuming, cancelling, or consuming prototype evidence.

Phase Commands

CommandAgentOutputPurpose
/ralph-specum:researchresearch-analystresearch.mdExplore feasibility, patterns, context
/ralph-specum:requirementsproduct-managerrequirements.mdUser stories, acceptance criteria
/ralph-specum:designarchitect-reviewerdesign.mdArchitecture, components, interfaces
/ralph-specum:taskstask-plannertasks.mdPOC-first task breakdown
/ralph-specum:implementspec-executorcommitsAutonomous task-by-task execution
/ralph-specum:prototypeprototype-builderprototypes/<id>.mdTest one falsifiable design question in isolation

Normal mode may suggest prototype after research or requirements, and the user owns capture, verdict, handoff, and deletion decisions. Direct invocation is available from any main phase. Quick mode runs at most one agent-owned request after requirements, takes over the oldest design blocker when one exists, asks no decision questions, and always continues to design.

Epic Flow (Multi-Spec)

For features too large for a single spec, use epic triage to decompose into dependency-aware specs.

triage -> [spec-1, spec-2, spec-3...] -> implement each in order

Entry points:

  • /ralph-specum:triage <goal> -- create or resume an epic
  • /ralph-specum:start -- detects active epics, suggests next unblocked spec

File structure:

specs/
  _epics/<epic-name>/
    epic.md            # Triage output (vision, specs, dependency graph)
    research.md        # Exploration + validation research
    .epic-state.json   # Progress tracking across specs
    .progress.md       # Learnings and decisions

Management Commands

CommandPurpose
/ralph-specum:statusShow all specs and progress
/ralph-specum:switch <name>Change active spec
/ralph-specum:cancelCancel active execution
/ralph-specum:refactorUpdate spec files after execution

Common Workflows

Quick workflow

/ralph-specum:start my-feature "Build X" --quick
# Runs all phases automatically, starts execution
# May run one unattended prototype request after requirements

Guided development

/ralph-specum:start my-feature "Build X"
# Fact-first grilling at each phase
# Review and approve each artifact
/ralph-specum:implement

Large feature

/ralph-specum:triage "Build entire auth system"
# Decomposes into: auth-core, auth-oauth, auth-rbac
/ralph-specum:start  # Picks next unblocked spec

References

  • references/phase-transitions.md -- Read for phase flow, prototype overlay entry and return, quick ownership, recovery, or phase skipping

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.

日本語の概要は準備中です。原文の説明を表示しています。

tzachbon/smart-ralph5592026年9月16日 更新

This skill should be used when generating spec artifacts (research.md, requirements.md, design.md, tasks.md), formatting agent output, structuring phase results, or when any Ralph agent needs guidance on concise, scannable output formatting. Applies to all Ralph spec phase agents.

日本語の概要は準備中です。原文の説明を表示しています。

tzachbon/smart-ralph5592026年9月16日 更新

Output rules for all agents - concise, scannable, actionable. Based on Matt Pocock's planning principles.

日本語の概要は準備中です。原文の説明を表示しています。

tzachbon/smart-ralph5592026年9月16日 更新

Core principle that the main agent is a coordinator, not an implementer. All work must be delegated to subagents.

日本語の概要は準備中です。原文の説明を表示しています。

tzachbon/smart-ralph5592026年9月16日 更新

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.

日本語の概要は準備中です。原文の説明を表示しています。

tzachbon/smart-ralph5592026年9月16日 更新

This skill should be used when a Ralph phase must identify critical user decisions, run a layered grill, persist partial answers, obtain explicit approval, or resume an interrupted phase interview before delegating artifact work.

日本語の概要は準備中です。原文の説明を表示しています。

tzachbon/smart-ralph5592026年9月16日 更新

tzachbon のスキルをすべて見る

このスキルの問題を報告する