Agent Skillskdlbs/kandev › planner-orchestration

planner-orchestration

GitHub

规范Kandev单会话工作流,通过模型检查点和任务文件实现用户主导的规划、执行与交付。确保设计、实施及升级阶段由用户控制模型切换,维持上下文连贯性。

.agents/skills/planner-orchestration/SKILL.md kdlbs/kandev

Trigger Scenarios

需要规划功能开发或修复任务时 涉及多模型切换的复杂实现流程

Install

npx skills add kdlbs/kandev --skill planner-orchestration -g -y
More Options

Non-standard path

npx skills add https://github.com/kdlbs/kandev/tree/main/.agents/skills/planner-orchestration -g -y

Use without installing

npx skills use kdlbs/kandev@planner-orchestration

指定 Agent (Claude Code)

npx skills add kdlbs/kandev --skill planner-orchestration -a claude-code -g -y

安装 repo 全部 skill

npx skills add kdlbs/kandev --all -g -y

预览 repo 内 skill

npx skills add kdlbs/kandev --list

SKILL.md

Frontmatter
{
    "name": "planner-orchestration",
    "description": "Enforce Kandev's single-session, user-controlled model workflow for feature, fix, debug, review, verification, and delivery work."
}

Single-Session Orchestration

The user-started primary conversation owns durable artifacts, integration judgment, and user communication. Platform-provided explorers and other predefined subagents may continue to serve the harness's normal investigation workflow. This skill governs planned implementation delegation, not the platform's general exploration behavior.

Model Checkpoints

The user, not the harness, selects the model. Keep each phase in the primary conversation so the active model, transcript, and costs are visible in one place.

  1. Design checkpoint — strong model. Use the user's strong model for clarification, codebase investigation, specs, plans, task decomposition, and high-risk design decisions. Default Codex guidance is GPT-5.6 Sol/high.
  2. Design-package handoff. Once the spec, plan, and task files are ready, summarize their paths and end the turn. Do not call ask_user_question_kandev (or an equivalent approval prompt) to ask the user to approve the package or switch models. The user reviews the files, switches the main session if desired, and sends a later explicit implementation request. The files may remain draft/pending; do not wait for a separate approval marker.
  3. Execution checkpoint. After that explicit request, read the task file, mark it in_progress, implement with /tdd, run its exact targeted checks, and mark it done. Work sequentially through the plan by default. The user, not the harness, chooses the active implementation model.
  4. Escalation checkpoint. Stop and ask the user to switch back to a stronger model before an architectural redesign, a new public contract, a migration or persistence boundary, or a high-impact security decision. Record a durable decision when the /record trigger applies.

Luna/low is appropriate only for clearly mechanical, read-only work such as short status summaries or simple command-output interpretation. It is not the default implementation or test model. The active agent must never claim a model change occurred based on self-identification; use runtime model-usage metadata when such confirmation is needed.

Task-File Workflow

Feature work still follows /spec, /plan, and /spec-driven-development:

  • Store the accepted spec in docs/specs/<slug>/spec.md.
  • Store plan.md and independently actionable sibling task files in docs/plans/<slug>/.
  • Use pending, in_progress, and done task-file status as the durable execution record. The primary agent updates both the current task and the plan's status after each completed task.
  • Keep task files small enough that the same conversation can resume from their acceptance criteria, owned files, and exact verification command after a user switches model.

Task files are a model-switch handoff and, if the user explicitly asks for subagents, a compact work packet. They must include intent, dependencies, owned files, acceptance criteria, verification, and risks, but must not name an agent role or model tier.

User-Authorized Subagents

Plans may label dependency waves and parallel-safe candidates. That is planning information only: execute sequentially unless the user explicitly asks to use subagents after selecting the implementation model.

When the user authorizes subagents:

  • Use the platform's native delegation tool, never Kandev task/session MCP APIs.
  • Do not recreate project custom-agent files or pin a different worker model. The child must use the active model the user selected in the primary session.
  • Use fork_turns: "none" (or the platform equivalent), not a full-history fork. Put the task-file path, owned files, acceptance criteria, exact command, and dependencies in the initial prompt.
  • Launch only tasks explicitly marked parallel-safe with disjoint files and no shared schema, migration, generated contract, lockfile, or package config.
  • Tell each child not to spawn further children. Update shared plan.md status serially in the primary session.
  • Confirm model routing from runtime usage metadata, not a model's prose. If it does not show the user-selected model, stop the delegation and report it.

If the user does not explicitly authorize delegation, do not infer permission from a plan's waves or parallelism labels.

The read-only pr-poller is a delivery exception, not an implementation worker. Launch it only after the user explicitly asks to wait for or monitor PR updates; it reports status to the primary conversation and never remediates, comments, or spawns children.

Task-Driven Validation And PR Review

Each task file owns its TDD requirement and exact unit, integration, or E2E commands. Its completed status and recorded command results are the pre-PR evidence; do not add a second generic validation pass here.

Do not automatically run /simplify, /qa, /code-review, security review, or broad /verify before opening a PR. Those duplicate the task validation and the two configured PR AI reviewers. Run them only when the user explicitly asks or an actionable PR/CI finding requires a focused remediation.

After the PR opens, the two configured AI reviewers are the semantic-review gate. Use /pr-fixup only to address a CI failure or actionable reviewer finding. A remediation reruns its relevant task-defined checks, not a broad local suite unless explicitly requested. Treat the OpenCode App as trusted semantic evidence only when trusted_producer=true confirms its dedicated producer provenance.

Guardrails

  • Do not treat a plan wave as authorization to launch implementation workers; that decision remains with the user. This does not restrict platform-provided explorers or other harness-managed investigation agents.
  • Do not use Kandev MCP task/session APIs as a worker mechanism. Use them only when the user explicitly asks to manage persistent Kandev tasks or sessions.
  • Do not create worktrees solely to parallelize plan tasks unless the user has explicitly authorized subagents for parallel-safe tasks.
  • Do not continue from the design-package handoff automatically or treat artifact creation as implementation authorization. Wait for a later explicit implementation request; the user controls any model switch between turns.
  • Do not replace durable specs, plans, task files, tests, or verification with chat-only summaries.

Version History

  • 1578843 Current 2026-08-16 08:47

    重构模型路由逻辑,简化工作流;优化UI以显示实时模型状态;改进harness工作流指导说明。

  • b4239d8 2026-07-24 17:32

Same Skill Collection

.agents/skills/acp-debug/SKILL.md
.agents/skills/add-integration/SKILL.md
.agents/skills/clean-branches/SKILL.md
.agents/skills/code-review/SKILL.md
.agents/skills/commit/SKILL.md
.agents/skills/context-engineering/SKILL.md
.agents/skills/create-kandev-plugin/SKILL.md
.agents/skills/debug/SKILL.md
.agents/skills/docs-maintainer/SKILL.md
.agents/skills/e2e/SKILL.md
.agents/skills/fix/SKILL.md
.agents/skills/harness-improvement/SKILL.md
.agents/skills/interview-me/SKILL.md
.agents/skills/plan/SKILL.md
.agents/skills/playwright-cli/SKILL.md
.agents/skills/pr-fixup/SKILL.md
.agents/skills/pr/SKILL.md
.agents/skills/product-demo-seeding/SKILL.md
.agents/skills/product-video-capture/SKILL.md
.agents/skills/push/SKILL.md
.agents/skills/qa/SKILL.md
.agents/skills/release/SKILL.md
.agents/skills/runtime-feature-flags/SKILL.md
.agents/skills/simplify/SKILL.md
.agents/skills/spec-driven-development/SKILL.md
.agents/skills/spec/SKILL.md
.agents/skills/tdd/SKILL.md
.agents/skills/using-agent-skills/SKILL.md
.agents/skills/verify/SKILL.md
.agents/skills/mobile-parity/SKILL.md
.agents/skills/record/SKILL.md

Metadata

Files
0
Version
1578843
Hash
3803e251
Indexed
2026-07-24 17:32

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-17 00:51
浙ICP备14020137号-1 $mapa de visitantes$