Skip to content
DevBuildKit
AgentsSkillsCommandsPacksPricingDocsBlogTools
Log inGet DevBuildKit

/project-map

Produce an annotated map of a repository: directory purposes, entry points, module dependencies, change hotspots and a where-do-I-look table, so a developer or an AI agent can navigate fast. Read-only.

CommandFreev1.0.0
  1. Commands
  2. /project-map

What it does

Produce an annotated map of a repository: directory purposes, entry points, module dependencies, change hotspots and a where-do-I-look table, so a developer or an AI agent can navigate fast. Read-only.

Category
corenavigationanalysis
Platforms
generic
Capabilities
analysisdocumentation

Example tasks

  • /project-map
  • /project-map where is checkout handled?
  • /project-map apps/web

Works with

Related skills

  • Repository Understanding· skill

Recommended alongside

  • Context Librarian· agent

Permissions summary

  • Files

    Reads files only

  • Shell

    Runs a limited set of commands

  • Network

    No network

Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.

Supported environments

ClientSupportInstalled as
Claude CodeNative.claude/commands/<id>.md
OpenAI CodexAdapter.codex/prompts/<id>.md
CursorNative.cursor/commands/<id>.md
VS Code (Copilot)Native.github/prompts/<id>.prompt.md
Generic markdownAdapterdocs/forgekit/commands/<id>.md

Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.

Included in packs

  • engineering

Full command (free preview)

This is a free component, so its complete content is public. It is exactly what gets installed (before client-specific formatting).

Build a navigable map of this repository. Subpath or question (empty means the whole repo): $ARGUMENTS

Read-only. Annotate only what you opened or searched; if you did not look inside a directory, label it "not inspected".

  1. Existing context first. Read AGENTS.md, CLAUDE.md, README.md, docs/ index files. Reuse their descriptions where they still match the code; flag contradictions.
  2. Inventory. Use git ls-files (Glob if not a git repo) to list directories to depth 2 (depth 3 inside the focus path). Skip generated and vendored folders (node_modules, dist, build, .next, Pods, .gradle, vendor, Library) and say you skipped them.
  3. Entry points. Find where execution starts: main/index files, bin entries, framework route directories, scripts in the manifest, workers/cron definitions, Dockerfile CMD, mobile Application/App classes.
  4. Dependency direction. For each top-level module or package, sample its imports with Grep to determine which other modules it depends on; draw it as a short list A -> B, C and flag any back-edge or cycle you find.
  5. Hotspots. Run git log --since=6.months --name-only --pretty=format: | sort | uniq -c | sort -rn | head -15 to list the most-changed files; note which ones are also very large (wc -l).
  6. Question mode. If $ARGUMENTS is a question ("where is X handled"), answer it first with exact file paths and a 3-5 step trace of the flow, then show only the part of the map that supports it.

Do not modify files, run builds, or install anything. Allowed shell: git ls-files, git log, wc, ls, sort, uniq, head.

Output: an annotated tree in a code block (max 60 lines, one short purpose per directory), Entry points, Dependency direction, Hotspots (file, change count, lines), a Where do I look for...? table (routes, data models, config, auth, tests, CI, build), and Not inspected / uncertain.

Version and changelog

Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.

Changelog — /project-map

1.0.0

  • Initial release.

Build with this command

Create Demo Project

Install in CLI

$ devbuild add command project-map

Dependencies are resolved automatically.

Free. Needs a free account: run devbuild login once.

IDproject-map
Version1.0.0
TierFree
Arguments[subpath or question]
DevBuildKit

Your entire AI development team. One install.

DevBuildKit never uploads your source code. Telemetry is opt-in and anonymous.

Product

  • Agents
  • Skills
  • Commands
  • Packs
  • Features
  • Live demo
  • Pricing

Learn

  • Documentation
  • Getting started
  • CLI reference
  • Blog
  • Changelog
  • Compare

Free tools

  • All tools
  • Agent generator
  • Config converter
  • Stack detector
  • Context analyzer

Use cases

  • Android development
  • iOS development
  • SaaS development
  • Backend development
  • App Factory
  • Game development

Company

  • Terms
  • Privacy
  • Refunds
  • Log in
  • Sign up

© 2026 DevBuildKit. All rights reserved.

DevBuildKit is an independent product. Claude, Claude Code, Anthropic, OpenAI, Codex, ChatGPT, Cursor, Visual Studio Code, GitHub Copilot, Microsoft and all other product names are trademarks of their respective owners. DevBuildKit is not affiliated with, endorsed by or sponsored by any of them; names are used only to describe compatibility.