跳到正文
cccskills
免费在 GitHub 公开

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.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md1.9 KB
  • agents/openai.yaml285 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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
  5. Read the target spec state and summarize phase, progress, approval state, and present files.
  6. 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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.

中文简介正在准备中。当前显示原文说明。

tzachbon/smart-ralph5592026年9月16日 更新

This skill should be used when generating spec artifacts (research.md, requirements.md, design.md, tasks.md), formatting agent output, structuring phase results, or when any Ralph agent needs guidance on concise, scannable output formatting. Applies to all Ralph spec phase agents.

中文简介正在准备中。当前显示原文说明。

tzachbon/smart-ralph5592026年9月16日 更新

Output rules for all agents - concise, scannable, actionable. Based on Matt Pocock's planning principles.

中文简介正在准备中。当前显示原文说明。

tzachbon/smart-ralph5592026年9月16日 更新

Core principle that the main agent is a coordinator, not an implementer. All work must be delegated to subagents.

中文简介正在准备中。当前显示原文说明。

tzachbon/smart-ralph5592026年9月16日 更新

This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.

中文简介正在准备中。当前显示原文说明。

tzachbon/smart-ralph5592026年9月16日 更新

This skill should be used when a Ralph phase must identify critical user decisions, run a layered grill, persist partial answers, obtain explicit approval, or resume an interrupted phase interview before delegating artifact work.

中文简介正在准备中。当前显示原文说明。

tzachbon/smart-ralph5592026年9月16日 更新

查看 tzachbon 的全部技能

报告此技能的问题