원클릭으로
harvest
Decomposes a reviewed implementation plan into backlog feature/task/subtask hierarchy
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Decomposes a reviewed implementation plan into backlog feature/task/subtask hierarchy
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Time-boxed investigation of a technical question, feasibility study, or proof-of-concept — produces a findings artifact with a recommendation and optional backlog linkage
Time-boxed investigation of a technical question, feasibility study, or proof-of-concept — produces a findings artifact with a recommendation and optional backlog linkage
Usage: Build feature {task-id} with harness {harness-cmd}. Implements a requested feature by continuously looping a fast worker agent against a strict, passing-import but failing test harness until success is achieved.
Review and maintain institutional learnings in docs/compound/ so the compound library stays accurate, deduplicated, and evidence-backed
Risk-triggered plan reinforcement that deepens verification, rollback, and guardrail detail before plan review
Manages the full PR lifecycle: creation, review comment handling, CI remediation, and user-approved merge
| name | harvest |
| description | Decomposes a reviewed implementation plan into backlog feature/task/subtask hierarchy |
| argument-hint | plan=docs/exec-plans/{YYYY-MM-DD}-{slug}-plan.md |
| input | {"properties":{"plan":{"type":"string","description":"Path to the reviewed implementation plan"},"dry_run":{"type":"boolean","description":"When true, output the planned structure without creating entries"}},"required":["plan"]} |
The harvest skill turns a reviewed implementation plan into backlog
feature, task, and subtask items. It is the reusable decomposition step
invoked by the stage agent.
This skill does not perform planning or review. It assumes the incoming plan has already been reviewed or otherwise approved for decomposition.
When the agent-intercom capability pack is installed, call ping at
session start. If reachable, broadcast at every step. If unreachable,
warn the operator that visibility is degraded and continue locally.
| Event | Level | Message prefix |
|---|---|---|
| Session start | info | [HARVEST] Starting: plan={input.plan} |
| Plan accepted | info | [HARVEST] Using reviewed plan: {plan_path} |
| Docline gate passed | info | [HARVEST] Docline gate passed: {plan_path} |
| Docline gate HALT | error | [HARVEST] Docline gate HALT: {violation_count} violation(s) in {plan_path} |
| Structure parsed | info | [HARVEST] Parsed implementation units: {unit_count} |
| Dry run | info | [HARVEST] Dry run: {feature_count} features, {task_count} tasks, {subtask_count} subtasks |
| Feature created | info | [HARVEST] Created feature: {feature_id} — {title} |
| Task created | info | [HARVEST] Created task: {task_id} — {title} |
| Dependency wired | info | [HARVEST] Dependency: {item_id} blocked by {depends_on} |
| Complete | success | [HARVEST] Complete: {feature_count} features, {task_count} tasks, {subtask_count} subtasks |
${input:plan}: (Required) Path to the reviewed implementation plan.${input:dry_run:false}: (Optional, defaults to false) Preview the
planned hierarchy without creating entries.${input:plan} in full.plan-review first when the
review state is unclear.Before any parsing, backlog mutation, or enclosing Stage harvest commit, gate
the incoming plan against the docline frontmatter contract. This is the
shift-left guard that prevents an invalid Stage-authored plan from riding into
a downstream Ship feature PR and failing the CI "Docline frontmatter gate"
(make docs-lint). It exists because of the 075-S root cause: a harvest commit
carried a plan with doc_type: exec-plan and no top-level title/source into
PR #164, failing the gate with 3 violations and blocking the PR.
${input:plan} via the
same entrypoint CI uses. make docs-lint runs the repo-wide gate
(go run ./cmd/backlogit docs lint, no arguments); to scope the check to the
incoming plan, call the same source entrypoint directly:
go run ./cmd/backlogit docs lint --path ${input:plan}. Use the source
entrypoint, not a possibly-stale installed backlogit binary, so the gate
cannot pass locally while CI fails.valid with 0 violations, broadcast the pass and
proceed to Phase 2.backlogit docs migrate diff-first, then --apply --yes --path ${input:plan})
and re-run this gate. Cite the 075-S root cause so the reason is legible.Both docline gates sit upstream of every path by which a plan reaches a commit: the impl-plan skill's mandatory self-lint runs at authoring time, and this Phase 1.5 gate runs before decomposition (and therefore before the enclosing Stage harvest commit). The harvest skill itself creates backlog items and does not commit; the commit is the enclosing Stage step, which this gate precedes.
Extract the planning data needed for decomposition:
Use repository search tools to validate file references or symbols when the plan mentions existing code locations that need confirmation.
Map the plan into the backlog hierarchy:
Before creating anything, apply backlog shaping rules:
Parent-first ordering (NON-NEGOTIABLE): Tasks require a parent_id
referencing an existing feature. The root feature MUST be created before any
tasks are created. If the harvest context does not include an existing parent
feature for task-kind work items, create or identify one before proceeding.
Omitting parent_id for task-kind artifacts violates the required
parent-child hierarchy (P-003 decomposition integrity) and may be blocked by
the configured backlog registry or policy gates.
When the backlogit capability pack is installed and the registry advertises
features.shipments: true, the parent feature MUST be added to the shipment
before its child tasks during shipment assembly. This ordering is enforced
downstream by the Ship agent — flag it explicitly in the harvest report so
Ship can assemble the shipment correctly.
If ${input:dry_run} is true:
If ${input:dry_run} is false:
backlogit_list_items or backlogit_search_items to check for existing
items with matching titles.backlogit_create_item or
backlogit add.backlogit docs lint (the
Phase 1.5 docline frontmatter gate). HALT and require a fix first.This skill operates at Tier 2 (Standard) — backlog decomposition is structured and deterministic.