[{"data":1,"prerenderedAt":355},["ShallowReactive",2],{"content-\u002Fplugins\u002Faio-planning\u002Faio-discover":3,"children-\u002Fplugins\u002Faio-planning\u002Faio-discover":354,"twin-\u002Fplugins\u002Faio-planning\u002Faio-discover":349},{"id":4,"title":5,"author":6,"body":7,"budget_tier":6,"build_tags":6,"created":6,"description":345,"document_type":346,"extension":347,"game":6,"install":36,"investment_tier":6,"league":6,"meta":348,"navigation":349,"patch":6,"path":350,"plugin":24,"profit_per_hour":6,"ratings":6,"seo":351,"skills_count":6,"status":6,"stem":352,"strategy_tier":6,"tags":6,"updated":6,"version":6,"weight":6,"__hash__":353},"content\u002Fplugins\u002Faio-planning\u002Faio-discover.md","aio-discover",null,{"type":8,"value":9,"toc":330},"minimark",[10,37,42,52,57,60,64,81,85,90,93,135,139,146,156,159,167,171,215,219,222,228,231,234,240,244,250,254,312,316],[11,12,13],"blockquote",{},[14,15,16,17,25,26,25,30,33,34],"p",{},"From plugin ",[18,19,21],"a",{"href":20},"\u002Fplugins\u002Faio-planning",[22,23,24],"strong",{},"aio-planning"," · ",[27,28,29],"code",{},"v1.1.2",[22,31,32],{},"Install:"," ",[27,35,36],{},"\u002Fplugin install aio-planning@aiocean-plugins",[38,39,41],"h2",{"id":40},"environment","Environment",[43,44,45],"ul",{},[46,47,48,49],"li",{},"GitNexus: !",[27,50,51],{},"npx gitnexus status 2>\u002Fdev\u002Fnull && echo \"AVAILABLE\" || echo \"NOT INSTALLED\"",[53,54,56],"h1",{"id":55},"discover-find-relevant-code","Discover — Find Relevant Code",[14,58,59],{},"Hybrid search across the entire codebase using GitNexus. Use BEFORE planning or coding to understand what exists.",[38,61,63],{"id":62},"prerequisites","Prerequisites",[43,65,66],{},[46,67,68,69,72,73],{},"GitNexus indexed in project — run ",[27,70,71],{},"npx gitnexus analyze"," if not yet indexed\n",[43,74,75],{},[46,76,77,78],{},"Verify with ",[27,79,80],{},"npx gitnexus status",[38,82,84],{"id":83},"workflow","Workflow",[86,87,89],"h3",{"id":88},"step-1-formulate-3-5-search-queries","Step 1: Formulate 3-5 search queries",[14,91,92],{},"From the user's request, generate diverse queries covering different angles:",[43,94,95,106,120,129],{},[46,96,97,100,101,105],{},[22,98,99],{},"Functional",": \"how does ",[102,103,104],"span",{},"feature"," work\"",[46,107,108,111,112,115,116,119],{},[22,109,110],{},"Structural",": \"",[102,113,114],{},"component type"," for ",[102,117,118],{},"domain","\"",[46,121,122,111,125,128],{},[22,123,124],{},"Cross-cutting",[102,126,127],{},"pattern"," across frontend and backend\"",[46,130,131,134],{},[22,132,133],{},"Vietnamese OK",": GitNexus hybrid search handles multilingual",[86,136,138],{"id":137},"step-2-run-searches-in-parallel","Step 2: Run searches in parallel",[14,140,141,142,145],{},"Use the GitNexus MCP ",[27,143,144],{},"query"," tool for each search:",[147,148,153],"pre",{"className":149,"code":151,"language":152},[150],"language-text","query(\"query here\")\n","text",[27,154,151],{"__ignoreMap":155},"",[14,157,158],{},"Run 3-5 searches as separate parallel MCP tool calls. Alternatively use the CLI:",[147,160,165],{"className":161,"code":163,"language":164,"meta":155},[162],"language-bash","npx gitnexus analyze\n","bash",[27,166,163],{"__ignoreMap":155},[86,168,170],{"id":169},"step-3-score-and-filter","Step 3: Score and filter",[172,173,174,187],"table",{},[175,176,177],"thead",{},[178,179,180,184],"tr",{},[181,182,183],"th",{},"Similarity",[181,185,186],{},"Relevance",[188,189,190,199,207],"tbody",{},[178,191,192,196],{},[193,194,195],"td",{},">0.65",[193,197,198],{},"Highly relevant — must read",[178,200,201,204],{},[193,202,203],{},"0.55–0.65",[193,205,206],{},"Related — worth knowing",[178,208,209,212],{},[193,210,211],{},"\u003C0.55",[193,213,214],{},"Tangential — skip unless desperate",[86,216,218],{"id":217},"step-4-enrich-with-gitnexus-context-parallel","Step 4: Enrich with GitNexus context (parallel)",[14,220,221],{},"For each highly relevant file found, get symbol overview:",[147,223,226],{"className":224,"code":225,"language":152},[150],"context(file)\n",[27,227,225],{"__ignoreMap":155},[14,229,230],{},"This adds function names and signatures without reading the full file. Run in parallel for all relevant files.",[14,232,233],{},"Optionally, get full context for the most important symbol:",[147,235,238],{"className":236,"code":237,"language":152},[150],"context(file, symbol=\"main_function\")\n",[27,239,237],{"__ignoreMap":155},[86,241,243],{"id":242},"step-5-output-discovery-map","Step 5: Output discovery map",[147,245,248],{"className":246,"code":247,"language":152},[150],"## Discovery: [topic]\n\n### Highly Relevant (>0.65)\n- `path\u002Ffile.ts` — [what it does]\n  Functions: fn1, fn2, fn3 (from GitNexus context)\n- `path\u002Ffile.rs` — [what it does]\n  Functions: fn1, fn2 (from GitNexus context)\n\n### Related (0.55–0.65)\n- `path\u002Ffile.tsx` — [tangential but worth knowing]\n\n### Key Insight\n[What the search reveals about how the codebase handles this area]\n\n### Next Step\nRun `\u002Fmap` on the highly relevant files for structural analysis.\n",[27,249,247],{"__ignoreMap":155},[38,251,253],{"id":252},"skill-graph-what-to-invoke-next","Skill Graph — What to invoke next",[172,255,256,266],{},[175,257,258],{},[178,259,260,263],{},[181,261,262],{},"Need",[181,264,265],{},"Next skill",[188,267,268,279,290,301],{},[178,269,270,273],{},[193,271,272],{},"Structural analysis (dependencies, blast radius)",[193,274,275,278],{},[27,276,277],{},"\u002Fmap"," — second step in deep-plan pipeline",[178,280,281,284],{},[193,282,283],{},"Deeper understanding, need to interview user",[193,285,286,289],{},[27,287,288],{},"\u002Foh-my-claudecode:deep-interview"," — Socratic questioning to clarify requirements",[178,291,292,295],{},[193,293,294],{},"Want architecture-level understanding",[193,296,297,300],{},[27,298,299],{},"\u002Foh-my-claudecode:deep-dive"," — comprehensive analysis",[178,302,303,306],{},[193,304,305],{},"Ready to plan implementation",[193,307,308,311],{},[27,309,310],{},"\u002Fplan"," — third step in deep-plan pipeline",[38,313,315],{"id":314},"tips","Tips",[43,317,318,321,324],{},[46,319,320],{},"If results are weak (\u003C0.55), rephrase with more technical terms",[46,322,323],{},"Search for patterns too: \"error handling pattern\", \"event emit listen\"",[46,325,326,327,329],{},"After discovery, hand off to ",[27,328,277],{}," for structural analysis",{"title":155,"searchDepth":331,"depth":331,"links":332},2,[333,334,335,343,344],{"id":40,"depth":331,"text":41},{"id":62,"depth":331,"text":63},{"id":83,"depth":331,"text":84,"children":336},[337,339,340,341,342],{"id":88,"depth":338,"text":89},3,{"id":137,"depth":338,"text":138},{"id":169,"depth":338,"text":170},{"id":217,"depth":338,"text":218},{"id":242,"depth":338,"text":243},{"id":252,"depth":331,"text":253},{"id":314,"depth":331,"text":315},"Find code, locate implementations, and understand how features work via parallel Explore agents. First step of the aio-deep-plan pipeline (followed by aio-map and aio-plan).","skill","md",{},true,"\u002Fplugins\u002Faio-planning\u002Faio-discover",{"title":5,"description":345},"plugins\u002Faio-planning\u002Faio-discover","QXRpjtBX7pBjlp0MAzN4Lb5hvWIMFNa8ZAP5cdfpWog",[],1779712313585]