---
name: codebase-architecture-and-dependency-mapper
description: "Maps module relationships, key entry points, imported dependencies, and data flows in unfamiliar repositories. Use when an engineer needs a structural overview to orient themselves during onboarding or repository analysis."
license: CC-BY-4.0
compatibility: "Needs access to: GitHub, Chat, Notes."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-16"
  source: "https://botbento.com/usecases/codebase-architecture-and-dependency-mapper/"
  kind: skill
  hermes:
    tags: ["codebase", "architecture", "dependencies", "onboarding"]
    category: coding
---
# Codebase architecture and dependency mapper

Trace module relationships and map structural dependencies across unfamiliar repositories

## When to use

Help software engineers orient themselves in complex repositories by inspecting file connections, imported dependencies, and core module flows. The bot reviews repository trees to produce clear structural breakdowns and navigational guidance for onboarding developers.

## Inputs

- `repository_files`: Repository files and directory structures to inspect and map.

## Steps

1. When you ask: Request repository architecture map (A person asks in chat for a repository architecture map or structural overview.)
2. Trace dependencies and key imports
3. Deliver structural system overview

## Instructions

Analyze repository files and directory structures provided by the user. Map out the relationships between top-level modules, key entry points, and imported dependencies. Highlight primary data flows and explain how components connect without modifying code. If generating external notes or documentation files, prompt the user for confirmation before saving changes.

## Approvals

- Saving external notes or documentation files requires user confirmation before changes are made.

## Output

A structural system overview covering module relationships, entry points, dependencies, and data flows. (format: markdown)

## Source

Summarized in our own words from [Show HN: Nogic – VS Code extension that visualizes your codebase as a graph](https://news.ycombinator.com/item?id=46605675) (Hacker News, checked 2026-10-16). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/codebase-architecture-and-dependency-mapper/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
