Skip to main content

module-map

Produce a one-screen map of an unfamiliar area of the codebase: entry points, modules, data flow, callers. Designed to be read in fifteen seconds. Use when the user says "I do not know this area", "give me the map", "zoom out", "orient me".

来源信息

仓库
rohitg00/pro-workflow
最近来源活动
2026年4月17日 15:10
检测到的 SKILL.md 语言
英语
星标
2,917
分支
298

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
module-map
description
Produce a one-screen map of an unfamiliar area of the codebase: entry points, modules, data flow, callers. Designed to be read in fifteen seconds. Use when the user says "I do not know this area", "give me the map", "zoom out", "orient me".
# module-map Orient fast in unfamiliar code. The deliverable is a map, not a tour. ## Deliverable A single response containing, in this order: 1. **One-line summary** of what the area does from a caller's point of view. 2. **Entry points** — every function, route, CLI command, event handler, or cron that starts a call chain in this area. File path + symbol. 3. **Core modules** — the two to five modules that contain the real logic. One line each describing their role. 4. **Data flow** — ASCII arrows showing the dominant path for the most common input. Skip error paths unless they matter architecturally. 5. **External callers** — who outside this area calls in, and through which entry points. 6. **Hidden coupling** — anything that looks independent but is not (shared singletons, global state, implicit ordering, undocumented contracts between files). ## Rules - Fifteen-second read target. If the map exceeds one screen, cut it. - Every claim must be backed by a file path. No remembered or inferred structure without a grep behind it. - Do not list every file. Curate. A good map omits deliberately. - Do not propose changes. Mapping is orientation; refactoring is a different skill. - If the area is too large to map in one screen, segment it and ask the user which segment to expand. Do not silently drop half the code. ## Format ``` AREA: <one-line summary> ENTRY POINTS - <path>:<symbol> — <role> CORE MODULES - <path> — <role> FLOW <entry> -> <module> -> <module> -> <sink> CALLERS - <path> — uses <entry> HIDDEN COUPLING - <description> (<path>) ``` Use the exact headers. Consistency lets the user scan.
在 GitHub 查看