Automated summary
Deeply explores one specific area of a repository (database schema, API, function, domain model, frontend component) and produces a structured explanation that helps a developer build a mental model of it.
Strengths
- Traces call chains both upstream and downstream to map callers, dependencies, and data flow across layers
- Digs into the "why" via git history, pull requests, ADRs/RFCs, inline comments, and tests
- Delivers a structured seven-part write-up (overview, key concepts, how it works, connections, history, patterns, risks) with real code snippets and Mermaid diagrams
- Asks a single clarifying question when the supplied reference is ambiguous
Limitations
- Insight quality depends heavily on the repository's git history and existing documentation
- Exploration can be long and context-expensive on large codebases
- Purely explanatory: it neither edits nor fixes the code being studied
Use it when you land in unfamiliar code or want to solidify your grasp of a domain, API, or component before changing it.
Skip it when you want an actual code change, a quick fix, or a one-off symbol lookup.
Security analysis
SafeThe skill is purely read-only and exploratory: it instructs the agent to search, grep, glob, read files, read git history, and read docs/tests to explain a codebase. It explicitly forbids modifying code, creating files, or proposing changes. There is no network access, no shell piping, no secret handling, no obfuscation, and no attempt to disable safety controls. The only notable element is a relative reference to a shared ../quality.md checklist, which is a benign documentation link rather than an executable payload.
No concerns found
How this analysis is madeExamples
Help me understand the `subscriptions` table — trace it through the repository, service, API handler, and the frontend that displays it. I want to know how data flows and why it's designed this way.I need to get up to speed on `src/api/billing/`. Walk me through what it does, who calls it, what it depends on, and any design decisions from the git history or PRs.Explain the `reconcileLedgerEntries` function in depth: its purpose, internal logic, every caller, and the edge cases the tests cover.name: understand description: >- Explores a codebase deeply to build a human's mental model. Use when the user wants to understand a specific part of the codebase holistically — database schema, API, function, domain model, business logic, frontend component, architecture, or any other concept. Invoke with one or more references to the code in question (file paths, function names, module names).
Understand
Act as a knowledgeable colleague who has already studied the code in depth. The user wants to build or extend their mental model of a specific part of the codebase. Your job is to explore thoroughly, then explain comprehensively — structured, layered, and easy to follow.
Invocation
If the reference is ambiguous, ask one clarifying question before exploring.
Workflow
1. Locate the focus area
Resolve the user's references to concrete files and symbols. Use code search, grep, glob, and file reading to pinpoint the exact code.
2. Explore the focus area in depth
Read and understand the primary code. Map out:
- What it does — purpose, inputs, outputs, side effects.
- Public interface — exported functions, types, endpoints, schemas.
- Internal structure — key logic paths, state transitions, algorithms.
3. Trace all connections
Follow every dependency and dependent — upstream and downstream:
- Callers — who calls this code? Trace call chains up to the entry point (API handler, CLI command, UI event, cron job).
- Callees — what does this code depend on? Database queries, external services, shared libraries, config.
- Data flow — how does data enter, transform, and leave? Trace from source (HTTP request, DB row, message queue) to sink (response, UI render, side effect).
- Shared types / contracts — DTOs, interfaces, schemas, protobuf definitions that connect this code to other layers.
- Cross-layer mapping — if the focus is a DB table, find the repository, service, handler, and frontend that touch it (and vice versa).
4. Uncover the "why"
Go beyond what the code does to why it is the way it is:
- Git history — read the commit log and diffs for the focus files. Summarise significant changes: when was it introduced, how has it evolved, who contributed major changes.
- Pull requests / merge commits — look for PR descriptions that explain design decisions.
- ADRs / RFCs — search
docs/(and common locations likedocs/adrs/,docs/rfcs/,docs/decisions/) for architecture decision records that relate to this area. - Code comments & TODOs — surface inline rationale, warnings, known limitations, and tech-debt markers.
- Tests — read the test files. Tests reveal intended behaviour, edge cases, and invariants the authors considered important.
5. Identify patterns and risks
Note anything that helps the user's mental model:
- Design patterns in use (repository pattern, CQRS, event sourcing, pub/sub).
- Invariants and business rules enforced by the code.
- Error handling strategy.
- Known limitations, tech debt, or fragile areas.
- Conventions this code follows (or breaks) compared to the rest of the repo.
6. Explain
Present a structured explanation. Adapt depth and structure to the scope of the focus area, but generally follow this outline:
- Overview — one paragraph: what this is and why it exists.
- Key concepts — the domain terms and abstractions the reader needs.
- How it works — walk through the main flow(s) step by step.
- Connections — diagram or list of dependencies and dependents.
- History & rationale — why it was built this way, key decisions, evolution.
- Patterns & conventions — design patterns, coding conventions observed.
- Risks & limitations — tech debt, fragile areas, known issues.
Use code snippets to anchor explanations — show the actual code, don't just describe it. Use Mermaid diagrams when a visual would clarify relationships (call graphs, data flow, entity relationships).
Constraints
- Read-only. Never modify code, create files, or propose changes. This skill is purely exploratory and explanatory.
- Verify before claiming. Read the actual source — never guess what code contains or how something works.
- Cite locations. Anchor key claims to a file and line range (e.g.
src/orders/checkout.ts:42-67); cite commit hashes for history claims. A synthesis paragraph needs no citation of its own when the sections it draws on are already cited. - Stay focused. Explore connections broadly but keep the explanation centred on the user's focus area. Don't dump the entire codebase.
- No assumptions about intent. If the reason behind a design choice is unclear from the evidence (git history, ADRs, comments), say so explicitly rather than speculating.
Quality
- Before presenting results, run the shared self-review checklist — applied to the quality of the explanation. Surface issues in the chat only if found.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/deep-codebase-understanding-msba3mbi/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/deep-codebase-understanding-msba3mbi' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/deep-codebase-understanding-msba3mbi/download' --output '.skill-downloads/deep-codebase-understanding-msba3mbi/SKILL.md.part' && mv '.skill-downloads/deep-codebase-understanding-msba3mbi/SKILL.md.part' '.skill-downloads/deep-codebase-understanding-msba3mbi/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/deep-codebase-understanding-msba3mbi/SKILL.md' && test -s '.skill-downloads/deep-codebase-understanding-msba3mbi/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/understand' && cp -R '.skill-downloads/deep-codebase-understanding-msba3mbi' '.claude/skills/understand'Cursor
test -f '.skill-downloads/deep-codebase-understanding-msba3mbi/SKILL.md' && test -s '.skill-downloads/deep-codebase-understanding-msba3mbi/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/understand' && cp -R '.skill-downloads/deep-codebase-understanding-msba3mbi' '.cursor/skills/understand'Codex
test -f '.skill-downloads/deep-codebase-understanding-msba3mbi/SKILL.md' && test -s '.skill-downloads/deep-codebase-understanding-msba3mbi/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/understand' && cp -R '.skill-downloads/deep-codebase-understanding-msba3mbi' '.agents/skills/understand'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/deep-codebase-understanding-msba3mbi'openskills read 'deep-codebase-understanding-msba3mbi'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/deep-codebase-understanding-msba3mbi/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.