AgentSkillsCN

overseer-plan

通过 MCP 代码模式,将 Markdown 规划文档转换为 Overseer 任务。当您需要将计划、规格或设计文档转化为可跟踪的任务层级时,可使用此技能。

SKILL.md
--- frontmatter
name: overseer-plan
description: Convert markdown planning documents to Overseer tasks via MCP codemode. Use when converting plans, specs, or design docs to trackable task hierarchies.
license: MIT
metadata:
  author: dmmulroy
  version: "1.0.0"

Converting Markdown Documents to Overseer Tasks

Use /overseer-plan to convert any markdown planning document into trackable Overseer tasks.

When to Use

  • After completing a plan in plan mode
  • Converting specs/design docs to implementation tasks
  • Creating tasks from roadmap or milestone documents

Usage

code
/overseer-plan <markdown-file-path>
/overseer-plan <file> --priority 1           # Set priority (0-2, 0=highest)
/overseer-plan <file> --parent <task-id>     # Create as child of existing task

What It Does

  1. Reads markdown file
  2. Extracts title from first # heading (strips "Plan: " prefix)
  3. Creates Overseer milestone (or child task if --parent provided)
  4. Analyzes structure for child task breakdown
  5. Creates child tasks (depth 1) or subtasks (depth 2) when appropriate
  6. Returns task ID and breakdown summary

Hierarchy Levels

DepthNameExample
0Milestone"Add user authentication system"
1Task"Implement JWT middleware"
2Subtask"Add token verification function"

Breakdown Decision

Create subtasks when:

  • 3-7 clearly separable work items
  • Implementation across multiple files/components
  • Clear sequential dependencies

Keep single milestone when:

  • 1-2 steps only
  • Work items tightly coupled
  • Plan is exploratory/investigative

Task Quality Criteria

Every task must be:

  • Atomic: Single committable unit of work
  • Validated: Has tests OR explicit acceptance criteria in context ("Done when: ...")
  • Clear: Technical, specific, imperative verb

Every milestone must:

  • Demoable: Produces runnable/testable increment
  • Builds on prior: Can depend on previous milestone's output

Review Workflow

  1. Analyze document → propose breakdown
  2. Invoke Oracle to review breakdown and suggest improvements
  3. Incorporate feedback
  4. Create in Overseer (persists to SQLite via MCP)

After Creating

javascript
await tasks.get("<id>");                    // TaskWithContext (full context + learnings)
await tasks.list({ parentId: "<id>" });     // Task[] (children without context chain)
await tasks.start("<id>");                  // Task (VCS required - creates bookmark, records start commit)
await tasks.complete("<id>", { result: "...", learnings: [...] });  // Task (VCS required - commits, bubbles learnings)

VCS Required: start and complete require jj or git (fail with NotARepository if none found). CRUD operations work without VCS.

Note: Priority must be 1-5. Blockers cannot be ancestors or descendants.

When NOT to Use

  • Document incomplete or exploratory
  • Content not actionable
  • No meaningful planning content

Reading Order

TaskFile
Understanding API@file references/api.md
Agent implementation@file references/implementation.md
See examples@file references/examples.md

In This Reference

FilePurpose
references/api.mdOverseer MCP codemode API types/methods
references/implementation.mdStep-by-step execution instructions for agent
references/examples.mdComplete worked examples