claude-code-plugin-lite/skills/divide-and-conquer/SKILL.md
Pick up a task and execute it using subagents to parallelize independent workstreams. Use when the user wants to work on a task with maximum concurrency.
npx skillsauth add driangle/taskmd divide-and-conquerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Pick up a task and execute it by splitting the work into independent workstreams that run in parallel via subagents — no CLI required.
The user's query is in $ARGUMENTS (a task ID like 077 or a task name/keyword).
Find the task file:
.taskmd.yaml for custom dir (default: tasks) and workflow modeGlob for <task-dir>/**/*$ARGUMENTS*.mdRead the task file with the Read tool to get the full description, subtasks, and acceptance criteria
Mark the task as in-progress:
Edit to change the status to in-progress in the frontmatterStart a worklog entry (if worklogs are enabled):
.taskmd.yaml for worklogs: true — only create worklogs if explicitly enabled<task-dir>/<group>/.worklogs/<ID>.mdPlan and identify workstreams:
EnterPlanMode to design the overall approachLaunch subagents in parallel:
Agent tool to launch one subagent per independent workstreamisolation: "worktree" for subagents that modify files, to avoid conflictsCoordinate and integrate:
- [x]) in the task file using Edit as they are completedWrite a final worklog entry summarizing what was done, which workstreams ran in parallel, decisions made, and any open items
Mark the task as done:
.taskmd.yaml for workflow mode:verify checks: run them (bash via Bash tool, assert via code inspection)Edit to set status: completedEdit to set status: in-review and add the PR URL to pr arrayEach 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.
See SPEC_REFERENCE.md (in the plugin root) for frontmatter schema, workflow modes, and verify checks.
tools
Mark a task as completed. Use when the user wants to mark a task as done or complete.
testing
Create a new task file following the taskmd specification. Use when the user wants to add a new task to the project.
data-ai
Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some waiting on outside answers, and others rolling into a later summary.
data-ai
Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some waiting on outside answers, and others rolling into a later summary.