Agent Skills
› tzachbon/smart-ralph
› ralph-specum-switch
ralph-specum-switch
GitHub用于显式调用时切换当前活动的 spec。支持通过完整路径或精确名称解析目标,若未指定则列出可用 spec。处理多根目录下的歧义,更新 .current-spec 文件并汇总目标 spec 的阶段、进度及状态信息。
触发场景
用户明确要求使用 $ralph-specum-switch
用户要求 Ralph Specum in Codex 切换活动 spec
安装
npx skills add tzachbon/smart-ralph --skill ralph-specum-switch -g -y
SKILL.md
Frontmatter
{
"name": "ralph-specum-switch",
"metadata": {
"action": "switch",
"surface": "helper"
},
"description": "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."
}
Ralph Specum Switch
Use this to switch the active spec.
Contract
- Read
.claude/ralph-specum.local.mdwhen present - Parse
specs_dirsfrom frontmatter to discover all spec roots - Treat the first
specs_dirsentry as the default root - Default specs root is
./specs .current-speclives in the default specs root- 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.
版本历史
- 1b33202 当前 2026-07-05 09:17


