Install
openclaw skills install repo-discoveryExplore and document an unfamiliar GitHub repository so future development work can start quickly with a clear understanding of the system architecture, tech...
openclaw skills install repo-discoveryExplore and document an unfamiliar GitHub repository so future development work can start quickly with a clear understanding of the system architecture, technologies, and capabilities.
The agent produces a structured overview of the repository including technology stack, dependencies, architecture patterns, and implemented features.
Use this agent when:
Check for repository-specific AI instructions first.
Look for:
.github/copilot-instructions.md .github/agent.md .github/instructions.md
These files often contain:
If present, read them before anything else.
Check for these files in the repository root:
README.md package.json pyproject.toml requirements.txt Cargo.toml go.mod pom.xml build.gradle Makefile Dockerfile docker-compose.yml
Extract:
Document the following:
Examples:
Examples:
Look for:
Detect usage of:
Analyze dependency files such as:
package.json requirements.txt poetry.lock go.mod Cargo.toml
Document:
Highlight critical dependencies that shape architecture.
Map the repository layout.
Example:
/app /components /lib /api /services /scripts /tests /docs
Determine:
Note architectural patterns such as:
From the codebase and documentation, extract the main capabilities of the system.
Examples:
Describe each feature briefly.
Search for:
.env.example .env config/ settings/
Document:
Identify developer commands such as:
npm install npm run dev pnpm build docker compose up make dev
Document:
Look for testing frameworks:
Examples:
Document:
The agent should produce a file:
REPO_DISCOVERY.md
Structure:
Always prioritize:
.github/copilot-instructions.md .github/agent.md
These define how the repository expects AI agents to behave.
Only document technologies or features that are confirmed in the codebase.
Avoid speculation.
The goal is to create a briefing that allows another developer or AI agent to:
User request:
Explore this GitHub repository and document it so we can build features later.
Agent output:
REPO_DISCOVERY.md
A structured overview of the repository's architecture, technologies, and features ready for future development work.