بنقرة واحدة
dispatch
将任务派发给后台 agent 执行。用法:/dispatch "任务描述"
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
将任务派发给后台 agent 执行。用法:/dispatch "任务描述"
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Review and summarize the current conversation session. Use this skill whenever the user says 'review', 'summarize session', 'session summary', 'wrap up', 'what did we do', 'checklist', or any variation of wanting to look back at what happened in the conversation. Also triggers on Chinese equivalents like '复盘', '总结', '回顾对话', '收尾'. Always use this skill at the end of a working session, even if the user just says 'done' or 'finished' — offer to run a review.
查看后台任务状态。用法:/task-status 或 /task-status <id>
Use when you have a spec or requirements for a multi-step task, before touching code
Use when creating new skills, editing existing skills, or verifying skills work before deployment
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
| name | dispatch |
| description | 将任务派发给后台 agent 执行。用法:/dispatch "任务描述" |
将用户描述的任务派发给后台 agent 执行。执行期间用户可自由切换对话,后台 agent 会实时更新任务状态文件。
读取文件:.claude/tasks/01_tasks.json(相对于工作区根目录)
如果文件不存在,创建它:
{"tasks": []}
取 tasks 数组长度 + 1,格式化为两位数字(如 01、02、10)。
从用户输入的任务描述中提取前 3-4 个有意义的词,转小写,空格替换为连字符。
示例:"修复登录模块 token 过期问题" → fix-login-token-expire
格式:YYYYMMDDHHmmss,使用当前本地时间。
格式:{id}_{timestamp}_{slug}.md
路径:.claude/tasks/01_tasks/{文件名}
# 任务:{slug}
状态:running | 开始:{YYYY-MM-DD HH:mm}
## 目标
{用户传入的完整任务描述}
## 进度日志
## 结果
在 01_tasks.json 的 tasks 数组末尾追加:
{
"id": "{id}",
"slug": "{slug}",
"file": "01_tasks/{文件名}",
"status": "running",
"created_at": "{ISO8601时间}",
"updated_at": "{ISO8601时间}",
"summary": "{任务描述前50字符}"
}
使用 Agent 工具,参数:
run_in_background: trueprompt 内容如下(用实际值填入):你是一个后台任务执行 agent。
任务描述:{用户的完整任务描述}
状态文件路径:.claude/tasks/01_tasks/{文件名}
注册表路径:.claude/tasks/01_tasks.json
任务 ID:{id}
执行要求:
1. 按任务描述完成工作,你有完整权限:读写文件、运行命令
2. 每完成一个阶段,在状态文件的"## 进度日志"部分追加一行:
`- {HH:mm} {做了什么}`
同时更新注册表中该任务的 updated_at 字段为当前时间
3. 全部完成后:
a. 在"## 结果"写入摘要
b. 状态文件第一行 running → done(失败则 failed)
c. 注册表 status 改 done/failed,更新 updated_at
后台任务 #{id} 已启动 ✓
描述:{任务描述}
查看进度:/task-status {id}