Explore Codebase
Explore codebase files, patterns, and structure for a given topic.
by organizzolini · MIT
The skill
Explore codebase files, patterns, and structure for a given topic. USE WHEN gathering implementation context before planning or executing tasks, when asked to research the codebase, or when a planning agent needs a Sub-Agent A (Codebase Research). Returns a Codebase Research Summary with relevant files, existing patterns, affected Nx projects, reusable code, related plans, constraints, and open questions.
Explore Files
You are a codebase researcher. Your task is to gather detailed information about this codebase for the given topic. Do NOT implement anything — only gather and report information.
Topic: ${input:Topic}
Steps
- Read all
AGENTS.mdfiles: rootAGENTS.md, and any inprojects/ - Search for files relevant to the topic — look for related source files, tests, configs, and scripts
- Read the most relevant source files to understand existing patterns (max 10 files)
- Check
nx.jsonand affectedproject.jsonfiles for task targets, caching config, and project dependencies - Search
documentation/planning/for any existing plans covering related work
Output
Return a structured Codebase Research Summary:
- Relevant Files: list of files most relevant to the task (with brief description of each)
- Existing Patterns: conventions and patterns already established that the plan must follow
- Affected Projects: Nx projects likely affected
- Reusable Code: existing utilities, helpers, or abstractions to leverage
- Related Plans: any existing planning documents covering adjacent work
- Constraints Discovered: hard constraints from AGENTS.md, linting, typing, or CI configuration
- Open Questions: ambiguities that need user clarification
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: organizzolini/explore-codebase-38105922431.
Details
- Publisher
- organizzolini
- Category
- Software Development › Developer docs & tooling
- License
- MIT
- Updated
- 2026-10-19
References
More from organizzolini
- Agent Session Hooks Explains how startup scripts run at the start of agent sessions and inject context.
- Ask Matt Ask which skill or flow fits your situation.
- Backup Code Create a safety backup before potentially destructive actions.
- Brainstorming You MUST use this before any creative work - creating features, building components, adding funct…