add-component
Checklists for adding a new MCP tool, select or op, a new Flyway database migration, or a new Gradle dependency to the Task…
Internal, hook-triggered when entering plan mode: reads existing MCP items and the declared schemas so the plan accounts for tracked work and gate requirements.
Claude Code
$ npx -y skills add jpicklyk/task-orchestrator --skill pre-plan-workflow --agent claude-code
Codex
$ npx skills add jpicklyk/task-orchestrator --skill pre-plan-workflow -a codex -y
Cursor
$ npx skills add jpicklyk/task-orchestrator --skill pre-plan-workflow -a cursor -y
Gemini CLI
$ npx skills add jpicklyk/task-orchestrator --skill pre-plan-workflow -a gemini-cli -y
GitHub Copilot
$ npx skills add jpicklyk/task-orchestrator --skill pre-plan-workflow -a github-copilot -y
OpenCode
$ npx skills add jpicklyk/task-orchestrator --skill pre-plan-workflow -a opencode -y
Windsurf
$ npx skills add jpicklyk/task-orchestrator --skill pre-plan-workflow -a windsurf -y
name: pre-plan-workflow description: "Internal, hook-triggered when entering plan mode: reads existing MCP items and the declared schemas so the plan accounts for tracked work and gate requirements." user-invocable: false
On entering plan mode, set the **definition floor** before writing the plan: the baseline of existing work, note requirements and gates the plan must account for. Shapes are in [`_generated/call-shapes.md`](../_generated/call-shapes.md); ids below are 8-hex shorts and any id field also takes the full UUID.
**If MCP is unreachable:** plan from conversation context, note in the plan that MCP state could not be verified (existing work may overlap), and re-check after it reconnects.
Resolve the scope from the SessionStart context: a `## Project Scope` section carries a project rootId (scopes reads); a `## Personal Scope` section carries a personal root (anchors only, reads stay unscoped). With no session context, read `project.rootId` from `.taskorchestrator/config.yaml` (a file read).
Health check, scoped to the project when a rootId is known (omit `ancestorId` otherwise):
{"tool": "items_read", "select": "context", "args": {"ancestorId": "9f3a1c22"}}`data` is `{active, blocked, stalled, claimSummary}`; `stalled` lists active items with unfilled required notes (`missing[]`, `guidanceKey`, `skillPointer`). If active, blocked or stalled items relate to the request, avoid planning duplicate work and inspect each one:
{"tool": "items_read", "select": "context", "args": {"itemId": "4b7d0e19"}}Read `schema[]` (each note's `exists` and `filled`), `gateStatus` (`canAdvance`, `missing`, `blockedBy`) and `guidanceKey`; resolve the authoring guidance with `items_read` `schema` and `fields: ["guidance"]`. With nothing tracked, the floor is simply "no existing state"; still do Step 2.
Read the resolved config, not the file:
{"tool": "config", "op": "effective", "args": {"rootId": "9f3a1c22"}}`config` is an ops tool, so the answer is `data.results[0]`: `types` lists the declared types, `schemas` their notes per phase (required queue notes must exist before work starts; required work notes are captured during implementation), and `traits` the declared traits, each an object with a `name`. Each type key is what an item sets as `type`; a create must pass a declared `type`. If the config tool is unavailable, read `.taskorchestrator/config.yaml` as an offline fallback (types are the keys under `work_item_schemas:`). With no declared schemas, items are schema-free and nothing is gated.
Use the result to inform the plan. Each planned task should:
Structure the plan knowing it will be materialized after approval:
The prerequisite is done. Proceed with plan mode's normal workflow: explore, design, write the plan. Once it is approved the post-plan hook guides materialization. Do not materialize before approval.
Server-enforced workflow discipline for AI agents. Prompt-based frameworks hope the LLM follows instructions. This one blocks the call if it doesn't.
Checklists for adding a new MCP tool, select or op, a new Flyway database migration, or a new Gradle dependency to the Task…
Compatibility assessment for items with the needs-api-compat-review trait. Evaluates the tool surface (served over both MCP and…
End-to-end workflow for taking MCP work items from backlog to merged PR. Handles git branching, schema-driven planning,…
SQLite migration assessment for items with the needs-migration-review trait. Evaluates schema changes, table recreation patterns,…
Performance impact assessment for items with the needs-perf-review trait. Evaluates hot paths, query patterns, and measurement…
Assessment of plugin skill and hook changes needed after MCP or config changes. Evaluates skill references, hook context,…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration