Agent skill · software engineering · affaan-m

claude-devfleet

通过Claude DevFleet协调多智能体编码任务——规划项目、在隔离的工作树中并行调度智能体、监控进度并读取结构化报告。

Why this skill is useful

Adds executable scripts for managing multi-agent coding tasks with structured reporting and project planning that are not commonly found in public documentation.

What it needs

Requires git installed locally. Requires claude account access. About 1k tokens when loaded. Last updated 2026-08-06. 238,342 stars on the source repository.

What this skill does

Claude DevFleet 多智能体编排 使用时机 当需要调度多个 Claude Code 智能体并行处理编码任务时使用此技能。每个智能体在独立的 git worktree 中运行,并配备全套工具。 需要连接一个通过 MCP 运行的 Claude DevFleet 实例: 工作原理 工具 工具 用途 ------ --------- planproject(prompt) AI 将描述分解为包含链式任务的项目 createproject(name, path?, description?) 手动创建项目,返回 projectid createmission(projectid, title, prompt, dependson?, autodispatch?) 添加任务。dependson 是任务 ID 字符串列表(例如 ["abc-123"])。设置 autodispatch=true 可在依赖满足时自动启动。 dispatchmission(missionid, model?, maxturns?) 启动智能体执行任务 cancelmission(missionid) 停止正在运行的智能体 waitformission(missionid, timeoutseconds?) 阻塞直到任务完成(见下方说明) getmissionstatus(missionid) 检查任务进度而不阻塞 getreport(missionid) 读取结构化报告(更改的文件、测试情况、错误、后续步骤) getdashboard() 系统概览:运行中的智能体、统计信息、近期活动 listprojects() 浏览所有项目 listmissions(projectid, status?) 列出项目中的任务 关于 waitformission 的说明: 此操作会阻塞对话,最长 timeoutseconds 秒(默认 600 秒)。对于长时间运行的任务,建议改为每 30-60 秒使用 getmissionstatus 轮询,以便用户能看到进度更新。 工作流:规划 → 调度 → 监控 → 报告 1. 规划:调用 planproject(prompt="...") → 返回 projectid 以及带有 dependson 链和 autodispatch=true 的任务列表。 2. 展示计划:向用户呈现任务标题、类型和依赖链。 3. 调度:对根任务(dependson 为空)调用 dispatchmission(missionid=<firstmissionid>)。剩余任务在其依赖项完成时自动调度(因为 planproject 为它们设置了 autodispatch=true)。 4. 监控:调用 getmissionstatus(missionid=...) 或 getdashboard() 检查进度。 5. 报告:任务完成后调用 getreport(missionid=...)。与用户分享亮点。 并发性 DevFleet 默认最多同时运行 3 个智能体(可通过 DEVFLEETMAXAGENTS 配置)。当所有槽位都占满时,设置了 autodispatch=true 的任务会在任务监视器中排队,并在槽位空闲时自动调度。检查 getdashboard() 了解当前槽位使用情况。 示例 全自动:规划并启动 1. planproject(prompt="...") → 显示包含任务和依赖关系的计划。 2. 调度第一个任务(dependson 为空的那个)。 3. 剩余任务在依赖关系解决时自动调度(它们具有 autodispatch=true)。 4. 报告项目 ID 和任务数量,让用户知道启动了哪些内容。 5. 定期使用 getmissionstatus 或 getdashboard() 轮询,直到所有任务达到终止状态(completed、failed 或 cancelled)。 6. 对每个终止任务执行 getreport(missionid=...)——总结成功之处,并指出失败任务及其错误和后续步骤。 手动:逐步控制 1. createproject(name="My Project") → 返回 projectid。 2. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills affaan-m/claude-devfleet--34341a

View the source on GitHub

Browse the @skills marketplace