skills/explain-repo/SKILL.md
Explain a code repository at three levels of depth. Use when asked to explain a repo, summarize how a codebase is built, create an architecture walkthrough, onboard someone to a project, produce component interaction diagrams, or make a developer/coding agent "dangerous enough" to contribute meaningfully.
npx skillsauth add richardwu/agent-skills explain-repoInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Produce an evidence-based repository explanation in three layers: 1000 foot, 100 foot, and 10 foot. Optimize for onboarding a technical reader who will use coding agents to contribute to the repo.
Do not rely only on filenames or README text. Confirm key claims against source code or configuration where practical.
Start with a focused pass over:
README*, CONTRIBUTING*, CLAUDE.md, AGENTS.md, architecture docs.package.json, lockfiles, workspace files, framework config, compiler config, test config.Adjust the pass to the repo. For example, a library may need exports and examples more than routes; an infrastructure repo may need Terraform modules and environment wiring more than application components.
Use this structure unless the user asks for a different format.
Explain:
Keep this section high level and readable by a technical stakeholder who has not opened the code.
Explain how the main components interact:
Prefer diagrams such as:
flowchart LR
User --> Frontend
Frontend --> API
API --> Database
API --> ExternalService
sequenceDiagram
participant Client
participant Route
participant Service
participant Store
Client->>Route: request
Route->>Service: validate and execute
Service->>Store: read/write
Store-->>Service: result
Service-->>Route: response
Route-->>Client: payload
Use real component names from the repo instead of generic placeholders in the final answer.
Give enough detail for someone to contribute with coding agents:
src/lib/api.ts and is used by route loaders" over "there is an API layer."development
Review and verify that a Ralph PRD's user stories have been implemented correctly. Reads prd.json, steps through each user story's acceptance criteria, runs tests, checks code, and uses browser verification. Produces a pass/gap/untestable summary. Triggers on: review prd, verify prd, check ralph requirements, review requirements, are the stories done, verify user stories, prd review.
development
Convert PRDs to prd.json format for the Ralph autonomous agent system. Use when you have an existing PRD and need to convert it to Ralph's JSON format. Triggers on: convert this prd, turn this into ralph format, create prd.json from this, ralph json.
documentation
Generate a Product Requirements Document (PRD) for a new feature. Use when planning a feature, starting a new project, or when asked to create a PRD. Triggers on: create a prd, write prd for, plan this feature, requirements for, spec out.
development
Multi-agent code review using 3 parallel subagents (Claude, GPT, Gemini) to review branch changes against origin/main. Validates findings against actual diffs and posts consolidated report to GitHub PR. Use before opening a PR, when wanting multiple AI perspectives on code changes, or for large changesets that might truncate in single-agent reviews. Triggers on "multi-agent review", "review my branch", "review changes against main", "AI code review", or "review before PR".