بنقرة واحدة
codebase-explorer
Structured codebase search protocol — deep parallel exploration before acting on unfamiliar code
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Structured codebase search protocol — deep parallel exploration before acting on unfamiliar code
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Pre-generation gap analysis — surface hidden requirements, AI-slop risks, and missing guardrails before the plan is written
Unified external CLI agent runner — backend detection, command dispatch, retry logic, response parsing
Post-generation plan review — verify references, executability, and acceptance criteria before execution
High-IQ architecture consulting mode — complex trade-offs, hard debugging, read-only analysis
Autonomous exploration and goal-driven execution — read extensively before acting
Anti-AI-slop technical writing — clear prose, human tone, zero filler
| name | codebase-explorer |
| description | Structured codebase search protocol — deep parallel exploration before acting on unfamiliar code |
Structured protocol for thorough codebase research. When activated, shift into comprehensive search mode: launch parallel searches from multiple angles, synthesize findings, then surface concrete evidence to guide decisions.
Key triggers from other agents or workflows that load this skill:
/plan Step 1 (intent-specific exploration) and Step 2 (test infra detection)/ultrawork during Certainty Protocol/start-work when a task is classified deepNever single-angle. Always launch 3+ parallel searches:
grep_search("pattern") → find text/symbol occurrences
find_by_name("*.config.*") → find files by name/extension
view_file_outline(key_file) → understand structure without reading all
Fire all simultaneously. Synthesize after results return.
When forming search goals (especially for complex exploration), structure thinking with:
grep_search(target_function, IsRegex=false, MatchPerLine=true) → all call sites
grep_search(target_type, Includes=["*.test.*"]) → test coverage
find_by_name("*.test.*", SearchDirectory=src) → test file inventory
Focus on:
grep_search("similar_feature_name") → existing implementations
find_by_name("similar-module") → directory structure
view_file_outline(best_existing_example) → public API shape
Focus on:
index.ts vs direct exports)grep_search("import.*from", IsRegex=true) → dependency direction
grep_search("interface|abstract class", IsRegex=true) → abstractions
find_by_name("*.config*") → configuration surface
Focus on:
find_by_name("jest.config*")
find_by_name("vitest.config*")
grep_search("\"test\":", Includes=["package.json"])
find_by_name("*.test.*", Type="file")
find_by_name("*.spec.*", Type="file")
Return: YES/NO for test infrastructure with framework name and example test file.
Stop searching when:
Cap at 2 rounds. Do NOT over-explore. Time is precious. (Matches GEMINI.md Exploration Protocol.)
After search rounds complete, synthesize:
Found:
- [Pattern/file]: [What it tells us]
- [Pattern/file]: [What it tells us]
Conclusion: [What this means for the task]
Confidence: HIGH / MEDIUM / LOW
Remaining unknowns: [What's still unclear, if anything]