Agent skill

code-flow-viz

用于梳理和可视化代码流程,生成清晰的 ASCII 流程图、数据流图和表格分析。适用于已有代码的梳理、新功能设计的说明、以及技术文档的编写。

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill code-flow-viz-mmorit00-fund-portfolio-bot-2 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/analysis/code-flow-viz-mmorit00-fund-portfolio-bot-2/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 代码流程可视化规范 本 Skill 提供一套可复用的模板和方法,用于梳理代码流程、生成可视化文档。 > **核心原则**:用文字和 ASCII 图表讲清楚"数据从哪来、经过哪些层、最后到哪去"。 ## When to use 在以下场景使用本 Skill: - 用户询问"某个功能是怎么工作的" - 新增功能需要设计数据流 - 重构前需要梳理现有逻辑 - 编写技术文档或架构说明 - 代码评审时需要可视化调用链 ## 核心模板 ### 1. 完整流程图(多场景对比) 适用于:梳理一个功能的多种使用场景(如手动 vs 自动、成功 vs 失败) ``` ┌─────────────────────────────────────────────────────────────────────┐ │ 功能名称(如:限额管理全生命周期) │ └─────────────────────────────────────────────────────────────────────┘ ═══════════════════════════════════════════════════════════════════════ 场景 1:场景名称(如:自动查询限额状态) ═══════════════════════════════════════════════════════════════════════ 用户命令 │ ▼ ┌─────────────────────────────────────────────────────────────────┐ │ uv run python -m src.cli.xxx ... │ └────────────────┬────────────────────────────────────────────────┘ │ ▼ ┌────────────────┐ │ CLI 层 │ 调用 Flow 函数 │ _do_xxx() │ ────────────────────┐ └────────────────┘ │ ▼ ┌──────────────────────────┐ │ Flow 层 │ │ xxx_flow() │ └───────┬──────────────────┘ │ ▼ ┌─────────────────────────────┐ │ Data 层 │ │ XxxRepo / XxxClient │ └────────┬─────────────────────┘ │ ▼ ┌────────────────────────────┐ │ 外部系统 / 数据库 │ │ (SQLite / API / etc) │ └──────────┬─────────────────┘ │ 返回数据 ▼ ┌─

What's inside
Steps it walks through
  1. When to use
  2. 核心模板
  3. 1. 完整流程图(多场景对比)
  4. 2. 数据库表结构说明
  5. 3. 分层调用链图(简化版)
  6. 4. 数据类设计分析表
  7. 5. 业务关键点标注
  8. 使用方法
  9. Step 1: 确定分析目标
  10. Step 2: 选择合适的模板
  11. Step 3: 填充内容
  12. Step 4: 添加对比分析
  13. 实际案例
  14. 案例 1:限额管理流程(完整版)
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the code-flow-viz skill do?

用于梳理和可视化代码流程,生成清晰的 ASCII 流程图、数据流图和表格分析。适用于已有代码的梳理、新功能设计的说明、以及技术文档的编写。

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill code-flow-viz-mmorit00-fund-portfolio-bot-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going