map

Scan repository directories and generate ARCHITECTURE.md with a Mermaid module graph.

8|5|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/shenxingy/Clade --skill map-shenxingy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: map
Source: https://github.com/shenxingy/Clade/tree/main/configs/skills/map
Command: npx skills add https://github.com/shenxingy/Clade --skill map-shenxingy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of quickly understanding a codebase’s structure by turning scattered directories and module relationships into a readable architecture document.

Core Features & Use Cases

  • Project structure scanning: Inspects top-level directories (while avoiding node_modules and typical noise) to summarize what each area contains.
  • Dependency mapping: Infers logical relationships by scanning key files for imports, entry points, and cross-module usage.
  • Automatic documentation output: Creates or updates ARCHITECTURE.md at the project root with a Mermaid module relationship diagram.

Quick Start

Ask your AI to run the /map skill to scan the repository and update ARCHITECTURE.md with a Mermaid diagram.

Frequently Asked Questions about map

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate architecture documentation with a dependency graph for my codebase?

To generate architecture documentation, this Skill scans your repository directories and infers module dependencies to produce an ARCHITECTURE.md file with a readable Mermaid dependency graph at the project root.

What is the best way to map project structure for onboarding to a new codebase?

Mapping project structure for onboarding requires summarizing top-level directories and cross-module usage. This Skill automatically outputs an overview diagram to help new developers quickly understand the codebase architecture.

Can I automatically create a Mermaid diagram of module relationships by scanning imports?

Yes, you can create a Mermaid diagram by scanning key files for imports and cross-module usage. This Skill infers logical relationships and writes a limited number of key modules into a Mermaid graph.

Does this architecture mapping tool work for medium-sized codebases during refactoring planning?

Yes, this architecture mapping tool is designed for medium-sized codebases and software engineering scenarios like refactoring planning. It generates an overview diagram by inspecting directories while avoiding typical noise like node_modules.

How to update an existing ARCHITECTURE.md file without losing manual notes?

To update an existing ARCHITECTURE.md file, the Skill writes or updates the file at the repository root with a generated Mermaid map. It focuses on top-level directories and key module dependencies to maintain a readable overview diagram.