plan

Generates implementation plans for features and refactors using OCXP code graph intelligence.

Updated May 12, 2026
One-click install
npx skills add https://github.com/contexthub-md/marketplace --skill plan-contexthub-md
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plan
Source: https://github.com/contexthub-md/marketplace/tree/main/contexthub/skills/plan
Command: npx skills add https://github.com/contexthub-md/marketplace --skill plan-contexthub-md

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Planning a feature or refactor without knowing the real codebase structure leads to hallucinated file paths, missed dependencies, and broken implementations. This Skill grounds implementation plans in the actual code graph, validating every reference before you write code. ## Core Features & Use Cases - Graph-grounded planning: Generates ordered navigation waypoints and a YAML implementation spec via ch_ocxp_plan, combining route and spec generation in one call. - Reference validation: Runs ch_ocxp_standards_check to catch hallucinated file paths and function names, then corrects them with ch_ocxp_search. - Compliance and impact analysis: Audits the plan against codebase rules with ch_ocxp_audit and maps the blast radius of changes using ch_ocxp_references, topology, and community detection. - Use Case: Ask to plan adding rate limiting to an API, and receive a structured plan listing files to modify in dependency order, new files to create, affected downstream consumers, naming constraints, and risks. ## Quick Start Ask the assistant to plan a refactor of the authentication module and show which files and downstream consumers are affected.

Frequently Asked Questions about plan

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I plan a feature implementation before writing code?

Invoke the plan skill with a feature description, and it calls ch_ocxp_plan to generate ordered waypoints and a YAML implementation spec from the code graph. The output lists files to modify in dependency order, new files to create, and constraints to follow.

How to assess the impact of changing a function or model?

The skill uses ch_ocxp_references to find everything that calls, imports, or uses a given entity, revealing the blast radius of a change. It also checks topology and community boundaries to identify cross-subsystem effects.

Does the plan skill work without an indexed project?

No, it requires an active project with indexed repositories. If you receive OCXP_UNAVAILABLE or NO_PROJECT errors, run the connect skill first to set up the workspace and indexing.

Why does the plan contain wrong file paths?

LLMs can hallucinate file paths, so the skill runs ch_ocxp_standards_check to validate every function name and path against the code graph. Failed references are corrected via ch_ocxp_search and reported to you before proceeding.

Can I limit planning to a specific subdirectory or repo?

Yes, use the scope parameter to narrow planning to a subdirectory and combine it with focus_repo to prevent cross-repo leakage. This is recommended for large changes planned subsystem by subsystem.