跳到主要内容
知仓学习社ZHICANG

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 a…

不碰外部(只输出文字)无严重或高危命中tzachbon/smart-ralph

它会碰到什么

扫了多少2 个文本文件,2 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Ralph Specum Switch

Use this to switch the active spec.

Derive RALPH_CODEX_PLUGIN_ROOT from this loaded skill by resolving two parent directories from the SKILL.md directory. Never derive it from the project working directory.

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
  1. Read the target spec state and summarize phase, progress, approval state, and present files.
  2. Report prototype dependencies without mutating them:
  • Treat a missing activePrototypes field as an empty map.
  • When state exists, run "$RALPH_CODEX_PLUGIN_ROOT/scripts/prototype_records.py" select-downstream --base-path "$BASE_PATH" --state "$BASE_PATH/.ralph-state.json" using the selected spec's resolved basePath.
  • Show each blocker from activeBlockers with prototype ID, status, blocked artifact or transition, returnPhase, and returnTaskIndex.
  • Show staleArtifacts and staleTaskIndexes from the selection result.
  • Do not reconcile, remove active entries, edit records, or change blocker data. If no overlay or stale dependency exists, preserve the existing switch output.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 544
本站分层T2
该仓技能数32
原文件路径plugins/ralph-specum-codex/skills/ralph-specum-switch/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 32 个技能