Skip to content
Back to skills

Repo Map

ASecurity

Write or refresh docs/codebase-map.md — what the repository is, how to run it, its entry points, a one-line-per-folder tour, and the invariants that must not break — so any agent can orient in one read.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 22, 2026
ai-agentsgo

Security analysis

A100/100

Scanned October 22, 2026

npx -y skills add gaurav8936/oneroof --skill repo-map --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Repo Map?

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

Security grade badge for Repo Map
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gaurav8936-repo-map/badge)](https://www.skillsdirectory.com/skills/gaurav8936-repo-map)

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: repo-map
description: Write or refresh docs/codebase-map.md — what the repository is, how to run it, its entry points, a one-line-per-folder tour, and the invariants that must not break — so any agent can orient in one read.
runtime: [shared]
triggers: [repo map, codebase map, map this repo, orient me in this codebase]
---

# repo-map — one page every agent reads first

## Steps

1. **Read before writing**: README, CLAUDE.md or AGENTS.md, the package or build file, the CI workflow, and the
   top-level folders. Run the app or tests once if it is cheap, so the "how to run" section is true.
2. **Write `docs/codebase-map.md`** with these sections, in this order:
   - **What it is**: two sentences.
   - **How to run**: install, run, test; ports; required environment variables (names only).
   - **Entry points**: the main executable(s), routes or commands, with paths.
   - **Folder tour**: one line per top-level folder and per important module: what it holds, what it does.
   - **Data and state**: where data lives, schemas, caches, what is generated.
   - **Invariants**: things that must stay true ("all writes go through `db/`", "never call the network in tests").
   - **Updated**: date and the commit the map was checked against.
3. **Keep it under about 150 lines.** Link to deeper docs instead of copying them.
4. When refreshing, diff the folder list against the map and fix every line that drifted; don't append.

## Never

- Never describe a folder you did not look in.
- Never include secrets, internal hostnames or personal data.

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.

Comments

Loading comments…

Newsletter

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