Skip to content
Back to skills

Explore Codebase

ASecurity

Analyze a codebase architecture and produce a structured report (stack, organization, key points) in chat. Trigger whenever {USER_NAME} gives a repo path to explore, says "analyze this project", "what does this code do", "look at [project] architecture", "explore this repo", or wants to document an old dev project before creating a Past Project card.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
developmenttypescriptgonodedockergitbackend

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add Zoomma1/get-your-life-together --skill explore-codebase --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Explore Codebase?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Explore Codebase
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zoomma1-explore-codebase/badge)](https://www.skillsdirectory.com/skills/zoomma1-explore-codebase)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: explore-codebase
description: Analyze a codebase architecture and produce a structured report (stack, organization, key points) in chat. Trigger whenever {USER_NAME} gives a repo path to explore, says "analyze this project", "what does this code do", "look at [project] architecture", "explore this repo", or wants to document an old dev project before creating a Past Project card.
---

# Skill: `/explore-codebase`

Explore a repo and produce a structured architecture report in chat.

## Input

`$ARGUMENTS` = absolute path to repo to analyze.

If no path provided → ask: "What's the repo path?" and wait.

---

## Step 1 — Verify path

Verify the path exists. If missing → "Path not found: [path]. Correct?" and wait.

---

## Step 2 — README (optional)

Use Glob to search for `README*` at repo root (depth 1 only).

- If found → read first 50 lines and extract 2-3 sentence summary
- If missing → note "Missing" and continue

---

## Step 3 — Configuration & Stack

Use Glob to search for config files at root:
`package.json`, `pom.xml`, `requirements.txt`, `Cargo.toml`, `go.mod`, `build.gradle`, `composer.json`, `Gemfile`, `.csproj`, `pyproject.toml`, etc.

For each found file:
- Read content (max 100 lines)
- Extract: primary language, framework/runtime, 5–10 key dependencies
- If multiple configs → rank by priority (ex: package.json + Dockerfile → Node + Docker)

If **no config found** → note "No config detected — structural analysis only" and continue to Step 4.

---

## Step 4 — Folder structure

Use Glob to explore structure with `**/*` (depth 2-3 suggested).

Exclude: `node_modules/`, `.git/`, `.github/`, `dist/`, `build/`, `target/`, `__pycache__/`, `.venv/`, `venv/`, `.next/`, `.nuxt/`, `out/`, `coverage/`.

Produce a condensed tree (max 15 lines) showing:
- Main folders and typical content
- Paths to source (ex: `src/`, `lib/`, `app/`, `backend/`)
- Entry point files if detected

---

## Step 5 — Entry points (optional)

Use Grep to search for `main.*`, `index.*`, `App.*`, `server.*` at root and in `src/` (max 10 results).

Select max 2 relevant files. Read first 50 lines of each to understand entry point.

---

## Step 6 — Architecture & Patterns

By examining structure, config, and entry points, identify the architectural pattern:

- **MVC**: controllers/, models/, views/
- **Layered**: controllers/, services/, repositories/, entities/
- **Feature-based**: features/feature-A/, features/feature-B/
- **Monolithic**: everything in src/ without clear separation
- **Monorepo**: packages/, workspaces/, multiple package.json
- **Other**: describe briefly

Justify in 1 sentence based on structure evidence.

---

## Step 7 — Final report

Assemble report combining all elements above. Produce in chat this exact format:

```
## [Project Name]

**Stack**: [language(s) + framework(s) + runtime]
**Architecture**: [identified pattern] — [1-sentence justification]

**Structure**:
[condensed tree, 10-15 lines]

**Key dependencies**: [5-10 main libs, or "No config detected"]

**Notable points**:
- [observation on patterns, structure, tech choices]
- [visible tech debt or obvious limitation]
- [example: "Monorepo without Lerna/pnpm", "TypeScript strict mode disabled", etc.]
- [max 5 points]

**README**: [2-3 sentence summary, or "Missing"]
```

---

## Absolute rules

- Never create files, never modify the analyzed repo
- Report in chat only — no vault notes created
- Analysis is purely descriptive: don't recommend changes or critique project choices
- If a step lacks data (no README, no config, no clear entry point) → continue anyway — report is partial but complete

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.