跳到正文
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(原文)

安装前可以查看交给 AI 代理的指令内容。

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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日 更新

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

中文简介正在准备中。当前显示原文说明。

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日 更新

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 的全部技能

报告此技能的问题