Smart-ralph ralph-specum-switch
This skill should be used only when the user explicitly asks to use `$ralph-specum-switch`, or explicitly asks Ralph Specum in Codex to switch the active spec.
install
source · Clone the upstream repo
git clone https://github.com/tzachbon/smart-ralph
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/tzachbon/smart-ralph "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/ralph-specum-codex/skills/ralph-specum-switch" ~/.claude/skills/tzachbon-smart-ralph-ralph-specum-switch && rm -rf "$T"
manifest:
plugins/ralph-specum-codex/skills/ralph-specum-switch/SKILL.mdsource content
Ralph Specum Switch
Use this to switch the active spec.
Contract
- Read
when present.claude/ralph-specum.local.md - Parse
from frontmatter to discover all spec rootsspecs_dirs - Treat the first
entry as the default rootspecs_dirs - Default specs root is
./specs
lives in the default specs root.current-spec- Do not guess on ambiguous names
Action
- Resolve the requested target by full path or exact name.
- If no target was provided, list available specs grouped by root.
- If the name is ambiguous across roots, stop and require a full path.
- Update
:.current-spec- bare name for the default root
- full path for non-default roots
- Read the target spec state and summarize phase, progress, approval state, and present files.