清理火焰追踪

cornch-k2026-10-27查看 837复制 1167

火焰追逐器加上在两个追逐器之间工作的清洁器。每隔几轮,它就会提取工作空间,编写一个简短的 NEXT.md,并将纪元压缩为一次提交(旧历史记录保存在标签中)。使用 /baton:cleanup-flame-chase "<task>" 运行。

Download (.md)

📘如何使用这个技能

  1. 1
    复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
  2. 2
    打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
  3. 3
    粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
  4. 4
    直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景

💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。

SKILL.md1649 chars
---
name: cleanup-flame-chase
description: flame-chase plus a cleaner working between the two chasers. Every few turns it distills the workspace, writes a short NEXT.md, and squashes the epoch into one commit (old history kept in a tag). Run with /baton:cleanup-flame-chase "<task>".
argument-hint: "\"<task>\" [--cleanup-turns K] [--next-lines L] [--work-paths \"paths\"] [--repairs R] [--turns N] [--minutes M] [--check \"cmd\"] [--no-early-stop] [--in-place] [--resume [run-id]]"
disable-model-invocation: true
---

# cleanup-flame-chase

Arguments: $ARGUMENTS

Load the run protocol first (Skill tool → `baton:protocol`; if that fails, Read `${CLAUDE_PLUGIN_ROOT}/skills/protocol/SKILL.md`) and follow it, including its **Cleaning** section. Then Read `${CLAUDE_SKILL_DIR}/../flame-chase/SKILL.md` and run exactly that flow (roles, turn prompt, stop rules), with these changes:

- The flow name in headers and commit messages is `cleanup-flame-chase`.
- Add one line to the end of each chaser's turn prompt: `If NEXT.md exists at the repository root, read it first: a cleaner wrote it after distilling the workspace.`
- Every `--cleanup-turns` work turns, run the protocol's Cleaning steps. The cleaner is not a chaser and doesn't change whose turn is next.
- Also stop after 3 consecutive `empty` work turns.

## Why

In a long chase, each chaser leaves traces of its own approach. The cleaner sits between them, keeps the tree to the work that matters, and leaves a short NEXT.md, so each fresh chaser spends its turn on the task instead of on archaeology. NEXT.md is part of the tree, so the "workspace is the only handoff" rule still holds.
来源:skillsdirectory

评论0

登录后参与评论

还没有评论,来抢沙发吧