pre-plan-workflow

Featured

Internal, hook-triggered: gathers existing MCP items and schema gate requirements to set the definition floor before planning.

AI & Automation 201 stars 21 forks Updated 2 weeks ago MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
77
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Pre-Plan Workflow — Definition Floor When entering plan mode, use the MCP to set the **definition floor** before writing your plan. The definition floor is the baseline of existing work, documentation requirements, and gate constraints that the plan must account for. **If MCP is unreachable:** Proceed with planning based on conversation context. Note in the plan that MCP state could not be verified — existing work may overlap. Re-check after MCP reconnects. ## Step 1: Check Existing MCP State Resolve the project rootId first: check session context for a rootId injected by the SessionStart hook, or read `.taskorchestrator/config.yaml`'s top-level `project.rootId` (a file read, not an MCP call). Call the health check to see what's already tracked: ``` get_context() ``` When a rootId is known, pass it to scope the check to this project: `get_context(ancestorId="<rootId>")`. When no rootId is known, call unscoped exactly as shown — this is the same behavior as before project scoping existed. **If active or stalled items exist:** - Identify items related to the current request — avoid planning work that duplicates what's already tracked - For each relevant active item, call `get_context(itemId=...)` to inspect: - **Note schema** — which notes are expected for this item's tags - **Gate status** — which required notes are filled vs. missing, and whether the item can advance - **Guidance key** — `guidanceKey` names the first unfilled required note; resolve its author...

Details

Author
jpicklyk
Repository
jpicklyk/task-orchestrator
Created
1 years ago
Last Updated
2 weeks ago
Language
Kotlin
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category