Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

divide-and-conquer分而治之

Agent Skill

divide-and-conquer 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

423

周安装

18

GitHub Stars

24

下载量

148
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:divide-and-conquer(分而治之)
来源仓库:https://github.com/driangle/taskmd
仓库路径:skills/divide-and-conquer
安装命令:
npx skills add https://github.com/driangle/taskmd --skill divide-and-conquer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/driangle/taskmd --skill divide-and-conquer

简介

divide-and-conquer 将大任务拆解为可并行执行的独立子任务流。

  • 适用于复杂系统开发中的工作分解与子代理调度管理。
  • 自动标记进度并生成日志条目以跟踪执行状态。
  • 需配合 taskmd 工具使用以识别具体任务 ID 与验收标准。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Divide and Conquer

Pick up a task and execute it by splitting the work into independent workstreams that run in parallel via subagents.

Instructions

The user's query is in $ARGUMENTS (a task ID like 077 or a task name/keyword).

  1. Look up the task: Run taskmd get $ARGUMENTS to find the task

- If not found, run taskmd list to show available tasks and ask the user which one they meant

  1. Read the task file with the Read tool to get the full description, subtasks, and acceptance criteria
  2. Mark the task as in-progress: Run taskmd set <ID> --status in-progress
  3. Start a worklog entry (if worklogs are enabled):

- Check .taskmd.yaml for worklogs: true -- only create worklogs if explicitly enabled - If enabled, find or create the worklog file at tasks/<group>/.worklogs/<ID>.md (or tasks/.worklogs/<ID>.md for root tasks) - Append a timestamped entry noting your approach and initial findings

  1. Plan and identify workstreams:

- Use EnterPlanMode to design the overall approach - In the plan, include a reference to the original task ID and task file path - Analyze the task and break it into independent workstreams — pieces of work that can proceed in parallel without depending on each other's output - Examples of independent workstreams: - Implementation code vs. tests vs. documentation - Changes to separate packages or modules - Backend changes vs. frontend changes - If the task is simple enough that parallelization adds no benefit, just do it directly (skip to step 7)

  1. Launch subagents in parallel:

- Use the Agent tool to launch one subagent per independent workstream - Give each subagent a clear, self-contained prompt describing exactly what to do, including relevant file paths and context - Launch all independent subagents in a single message so they run concurrently - Use isolation: "worktree" for subagents that modify files, to avoid conflicts - Wait for all subagents to complete

  1. Coordinate and integrate:

- Review all subagent results for correctness - If subagents ran in worktrees, merge their changes (review diffs, resolve any conflicts) - If any subagent failed, handle the failure directly rather than re-launching - Run tests and linting to verify the integrated result - Check off subtasks (- [x]) in the task file as they are completed - Append worklog entries when you make key decisions, hit blockers, or complete significant subtasks

  1. Write a final worklog entry summarizing what was done, which workstreams ran in parallel, decisions made, and any open items
  2. Mark the task as done:

- Check .taskmd.yaml for workflow: pr-review -- if set, use the PR-review workflow below - Solo workflow (default): Run taskmd set <ID> --status completed --verify - The --verify flag will run any verification checks defined in the task before applying the status change - If verification fails, fix the issues and try again - PR-review workflow: Open a PR, then run taskmd set <ID> --status in-review --add-pr <PR-URL> and stop

Worklog Format

Each worklog entry uses a timestamp heading followed by free-form notes:

## 2026-02-15T10:30:00Z

Started divide-and-conquer execution of the search feature task.

**Workstreams identified:**

1. Core search implementation (subagent — worktree)
2. Test suite (subagent — worktree)
3. Documentation updates (subagent)

**Completed:**

- [x] All subagents finished successfully
- [x] Merged worktree changes
- [x] Tests passing after integration

**Decisions:** Used full-text search with SQLite rather than Elasticsearch.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.43%
按下载量换算49

Claude

29.02%
按下载量换算43

Cursor

20.1%
按下载量换算30

Gemini CLI

10.35%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills