跳到正文
cccskills
免费在 GitHub 公开

ralph-hats

Create, inspect, validate, explain, and improve Ralph hat collections. Use this skill whenever the user asks to make or refine a `.ralph/hats/*.yml` workflow, debug hat routing, explain event topology, or tune a multi-hat Ralph run.

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

查看安装方法

包含的文件(5)

  • SKILL.md2.7 KB
  • agents/openai.yaml255 B
  • references/commands.md1.3 KB
  • references/examples.md2.0 KB
  • references/schema.md2.2 KB

SKILL.md(原文)

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

Ralph Hats

Use this skill to operate the full Ralph hat lifecycle for user-authored hat collections.

Use This Skill For

  • Creating a new hat collection in .ralph/hats/
  • Inspecting an existing hat collection and explaining its topology
  • Validating trigger routing, event flow, and completion behavior
  • Improving or refactoring hats for clearer roles and safer routing
  • Recommending better orchestration patterns for a Ralph workflow

Core Assumptions

  • Core runtime config already lives in ralph.yml or another -c source.
  • User-authored hats are stored separately and passed with -H.
  • This skill operates public hat collections, not Ralph built-in presets.

Workflow

  1. If a hats file already exists, read it first and explain the current topology before proposing changes.
  2. If creating a new workflow, write it to .ralph/hats/<name>.yml.
  3. Keep the hats file focused on hats-only data. Leave runtime limits and other core config in the main config file.
  4. Validate with ralph hats validate.
  5. Visualize topology with ralph hats graph when the event flow is not trivial.
  6. Use ralph hats show <hat> when you need to inspect one hat's effective configuration.
  7. When the user wants stronger confidence, run a targeted ralph run -c ... -H ... -p "..." exercise or provide the exact test command.

Guardrails

  • Only use hats-file top-level keys that Ralph accepts today: name, description, events, event_loop, hats.
  • In a hats file, event_loop is only for hats overlay keys such as starting_event and completion_promise.
  • Never use task.start or task.resume as hat triggers. Ralph reserves those for coordination. Use semantic delegated events like work.start, review.start, or research.start.
  • Each trigger must route to exactly one hat.
  • Keep description populated on every hat.
  • Prefer events: metadata when custom event names would otherwise be opaque.
  • Do not write user workflows into presets/ from this skill.

Output Expectations

  • When editing or creating hats, produce the file changes and the validation result.
  • When only inspecting, produce a concise topology summary, the main risks, and concrete improvement options.

Read These References When Needed

  • For current hats schema and supported fields: references/schema.md
  • For command recipes and validation workflow: references/commands.md
  • For pattern and file examples: references/examples.md

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Guides implementation of code tasks using test-driven development in an Explore, Plan, Code, Commit workflow. Acts as a Technical Implementation Partner and TDD Coach — following existing patterns, avoiding over-engineering, and producing idiomatic, modern code.

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

mikeyobrien/ralph-orchestrator31852026年10月16日 更新

Generates structured .code-task.md files from descriptions or PDD implementation plans. Auto-detects input type, creates properly formatted tasks with Given-When-Then acceptance criteria.

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

mikeyobrien/ralph-orchestrator31852026年10月16日 更新

Use when testing Ralph's hat collection presets, validating preset configurations, or auditing the preset library for bugs and UX issues.

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

mikeyobrien/ralph-orchestrator31852026年10月16日 更新

Lists all code tasks in the repository with their status, dates, and metadata. Useful for getting an overview of pending work or finding specific tasks.

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

mikeyobrien/ralph-orchestrator31852026年10月16日 更新

pdd

免费

Transforms a rough idea into a detailed design document with implementation plan. Follows Prompt-Driven Development — iterative requirements clarification, research, design, and planning.

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

mikeyobrien/ralph-orchestrator31852026年10月16日 更新

Browser automation via Playwriter (remorses) using persistent Chrome sessions and the full Playwright Page API.

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

mikeyobrien/ralph-orchestrator31852026年10月16日 更新

查看 mikeyobrien 的全部技能

报告此技能的问题