From glean-code
Prepares for plan mode by gathering enterprise context via Glean: design docs, similar code implementations, stakeholders, related systems. Use before architectural or strategic planning.
How this skill is triggered — by the user, by Claude, or both
Slash command
/glean-code:plan-prepThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
When users need to enter plan mode but want enterprise context first, use Glean to research design docs, similar implementations, stakeholders, and related systems.
When users need to enter plan mode but want enterprise context first, use Glean to research design docs, similar implementations, stakeholders, and related systems.
Use plan prep when users:
Filter aggressively for relevant, current information.
Freshness Test
Relevance Test
Authority Test
Quality over quantity: 3-4 high-quality findings beat 10 weak ones.
Local tools only see your current repo. The plan-prep workflow searches your entire organization for:
This gives you enterprise context for better planning decisions.
| Research Need | Glean Tool |
|---|---|
| Find design docs, RFCs, architecture | search |
| Find similar code implementations | code_search |
| Find code owners and stakeholders | code_search + employee_search |
| Find related/dependent systems | code_search |
| Read full document content | read_document |
search "[task] architecture OR design doc OR RFC"code_search "[related components]" for similar solutionscode_search "[relevant systems] updated:past_month" + employee_searchcode_search for upstream/downstream componentsThe plan-prep command returns structured research organized as:
All with clear source citations so you can verify and dig deeper.
After reviewing the research:
Use /glean-code:plan-prep <task description> to start the planning preparation workflow.
/glean-code:codebase-context [system] - Get architectural context about a specific system/glean-code:code-owners [component] - Identify code owners and maintainers/glean-code:similar-code [pattern] - Find similar implementations across repos/glean-code:find-examples [API/pattern] - Find usage examplesnpx claudepluginhub gleanwork/claude-plugins --plugin glean-codeCreates detailed implementation plans through interactive, iterative collaboration. Use when planning features, refactoring, or tasks with research and multi-agent analysis.
Enhances existing plans by deploying parallel research agents per section to add best practices, optimizations, UI/UX improvements, edge cases, and real-world examples.