communication-style
Output rules for all agents - concise, scannable, actionable. Based on Matt Pocock's planning principles.
Use only when the user explicitly invokes `$ralph-specum`, requests Ralph Specum in Codex, or asks Ralph Specum to handle a named phase or optional prototype.
$ npx -y skills add tzachbon/smart-ralph --skill ralph-specum --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/ralph-specumContext preview
The summary Claude sees to decide when to auto-load this skill.
Use only when the user explicitly invokes `$ralph-specum`, requests Ralph Specum in Codex, or asks Ralph Specum to handle a named phase or optional prototype.
name: ralph-specum description: Use only when the user explicitly invokes `$ralph-specum`, requests Ralph Specum in Codex, or asks Ralph Specum to handle a named phase or optional prototype. metadata: surface: primary
Use this as the primary Codex surface for Ralph Specum. It carries the full reusable workflow and can handle the entire command surface directly when helper skills are not installed.
Derive `RALPH_CODEX_PLUGIN_ROOT` from this loaded skill: take the directory containing `SKILL.md`, then its parent `skills` directory, then the next parent. Never derive the plugin root from the project working directory.
Handle these intents directly:
| Intent | Action | |--------|--------| | Start, new, resume, quick mode | Follow the start flow in `../../references/workflow.md` | | Triage | Delegate to `triage-analyst` sub-agent to decompose into epic and specs | | Research | Delegate to `research-analyst` sub-agent to write `research.md` | | Requirements | Delegate to `product-manager` sub-agent to write `requirements.md` | | Prototype | Follow `../../references/prototype-coordinator.md`, or route an explicit helper request to `$ralph-specum-prototype` | | Design | Delegate to `architect-reviewer` sub-agent to write `design.md` | | Tasks | Delegate to `task-planner` sub-agent to write `tasks.md` | | Implement | Delegate each task to `spec-executor` sub-agent until complete or blocked | | Status | Show active spec, backlog state, and per-root listing | | Switch | Update `.current-spec` only | | Cancel | Stop execution and clean up state, confirm before destructive delete | | Index | Generate `specs/.index/` component and external specs | | Refactor | Delegate to `refactor-specialist` sub-agent to update spec files | | Feedback | Open or draft GitHub feedback | | Help | Summarize the surface and next commands |
If the corresponding helper skill is installed and the user invoked it explicitly, keep behavior aligned with that helper. If not, perform the action here.
0. **You are a coordinator, not a doer.** Delegate each phase to the appropriate sub-agent and never write spec artifacts (`research.md`, `requirements.md`, `design.md`, or `tasks.md`) yourself. Apply the shared hard-transition invariant to only `start`, `triage`, `research`, `requirements`, `design`, and `tasks`. For only `start`, `triage`, `research`, `requirements`, `design`, and `tasks`, enforce that invariant. For those phases, gather context, discover and preload contracts, run the interview, obtain final approval, pass the gate, delegate, validate the output, and present results for artifact approval. Keep the existing delegation flows for `implement` and `refactor` unchanged; the new phase gates do not apply to them. 1. Keep the Ralph disk contract stable. 2. Treat `.claude/ralph-specum.local.md` as the settings source when present. 3. Default to `./specs` when no valid config exists. 4. Keep `.current-spec` in the default specs root. 5. Merge state fields. Do not replace the whole state object. 6. Preserve `source`, `name`, `goal`, `basePath`, `phase`, `taskIndex`, `totalTasks`, `taskIteration`, `maxTaskIterations`, `globalIteration`, `maxGlobalIterations`, `commitSpec`, and `relatedSpecs`. 7. Also preserve newer state fields when present, especially `awaitingApproval`, `quickMode`, `granularity`, `epicName`, `discoveredSkills`, and native task sync metadata. 8. Write `.progress.md` after every phase and after every implementation attempt. 9. Keep pre-delegation interview approval separate from post-generation artifact approval. 10. Honor the `Commit` line in tasks during implementation unless the user explicitly disables task commits. 11. Use branch creation or worktree creation when the user asks for branch isolation or the repo policy requires it. 12. Run `phase_gate.py mode` at entry to every affected phase. Only exact `--quick` enables quick mode; exact `--interactive` clears it. Reject both together, `-q`, variants, and natural-language substitutes. No flags normalize invalid legacy quick state to interac
Spec-driven development with smart compaction. Claude Code plugin combining Ralph Wiggum loop with structured specification workflow.
Output rules for all agents - concise, scannable, actionable. Based on Matt Pocock's planning principles.
Core principle that the main agent is a coordinator, not an implementer. All work must be delegated to subagents.
Core Smart Ralph skill defining common arguments, execution modes, and shared behaviors across all Ralph plugins.
Comprehensive understanding of the spec-kit methodology. Constitution-driven feature development with specify, plan, tasks, and implement phases.
Internal Ralph Specum contract for Codex phase interviews, skill manifests, approval, and delegation gates. Phase coordinators load this skill directly; users…
This skill should be used only when the user explicitly asks to use `$ralph-specum-cancel`, or explicitly asks Ralph Specum in Codex to stop execution or…