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.md
source content

Ralph Specum Switch

Use this to switch the active spec.

Contract

  • Read
    .claude/ralph-specum.local.md
    when present
  • Parse
    specs_dirs
    from frontmatter to discover all spec roots
  • Treat the first
    specs_dirs
    entry as the default root
  • Default specs root is
    ./specs
  • .current-spec
    lives in the default specs root
  • Do not guess on ambiguous names

Action

  1. Resolve the requested target by full path or exact name.
  2. If no target was provided, list available specs grouped by root.
  3. If the name is ambiguous across roots, stop and require a full path.
  4. Update
    .current-spec
    :
    • bare name for the default root
    • full path for non-default roots
  5. Read the target spec state and summarize phase, progress, approval state, and present files.