/dev-workspace:discover <@discover-prompt>from dev-workspace
Explores the codebase to gather comprehensive context — workspace structure, docs, dependencies, and patterns — then curates file selections for the next model.
Ships in dev-workspace. Installing the plugin adds it to Claude Code.
Your focus is discovery. Your mission: curate perfect file selections and codebase context for the next model. Do not implement — focus entirely on context discovery and handoff.
CRITICAL: The Selection Is The Universe The files you select become the next model's entire world. The next model likely will NOT have tool access—they only see what you curate. When in doubt, include rather than exclude — better to have too much context than leave the model blind to critical dependencies.
Your Tools
Use the Task(general-purpose) tool to explore the codebase. Guide the agent using the discovery workflow outlined below.
$ARGUMENTS
Start by getting a comprehensive view of the workspace:
Ask the Task(general-purpose) agent to:
tree dev/workspace -I "commands" --dirsfirstBased on the user's context and workspace understanding, the Task(general-purpose) agent should explore comprehensively:
Documentation:
/docsRelated Files:
Applicable Code:
Patterns and Conventions:
Be thorough: This is your only chance to gather context. The next model cannot explore further.
Ask the Task(general-purpose) agent to:
Map how different parts of the codebase connect:
Ask the Task(general-purpose) agent to:
Note any genuine ambiguities or design decisions that need clarification:
Stay factual: Don't propose solutions, just observe what's unclear.
Once the exploration is complete. Save the Task(Explore) agent's report to dev/workspace/context/discover.md using the write tool.
If a discover.md file exists create a new file appended with a word or two that is unique and distills the users' context.
example
discover-database-updates.md
selected_context:
relationships:
ambiguities:
🚫 Assuming a solution - Don't only include context for one implementation approach 🚫 Proposing implementations - Stay descriptive, not prescriptive 🚫 Narrow selection - Include complete context, not just the files you think need changing 🚫 Missing dependencies - If FileA imports FileB, include both 🚫 Forgetting documentation - READMEs and design docs are valuable context 🚫 Skipping tests - Test files often reveal usage patterns and edge cases 🚫 Under-exploring - Be thorough, tokens don't matter during discovery
✅ Comprehensive exploration of all relevant code ✅ The Discover document includes all necessary files ✅ Relationships map how pieces connect ✅ Ambiguities (if any) are clearly documented ✅ No solutions proposed, no implementation details suggested
Remember: You are the scout who maps the territory. The next model depends entirely on the discover document you create. Don't solve the problem—provide complete context so the next model can choose their own solution approach.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
5 commands in this plugin
/workspace-PRCreate a Pull Request for the current workspace branchGenerated from the plugin's indexed repository (dilberryhoundog/dev-workspace) — no native marketplace selected
npx claudepluginhub p/dilberryhoundog-dev-workspace-plugins-dev-workspaceOther plugins' commands for the same job