ralph-specum-switch
仓库创建 2026年1月12日最近提交 4 天前SkillHot 收录 21 天前
▸ 精选理由
在多规范仓库中快速切换工作上下文与追踪活动规范。
▸ 风险提示
需要读取和写入仓库/工作区文件的权限。
这个 Skill 做什么
切换活动规范,解析配置并维护 .current-spec 状态。
当你明确要求用 $ralph-specum-switch 或让 Ralph Specum 切换活动规范时,会解析项目里的配置(例如 .claude/ralph-specum.local.md)并发现 specs_dirs。默认把第一个 entry 或 ./specs 作为规范根,更新 .current-spec 指向新的活动规范;遇到不明确的名字会提示确认,不会随意猜测。
▸ 展开 SKILL.md 英文原文
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.
431
Stars
37
Forks
30
仓库内 Skill
+16
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/tzachbon/smart-ralph/main/plugins/ralph-specum-codex/skills/ralph-specum-switch/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/tzachbon/smart-ralph/main/plugins/ralph-specum-codex/skills/ralph-specum-switch/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# 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
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有