CodeFlow : visualiser l'architecture d'un codebase

VérifiéSûr

Transformez tout dépôt GitHub, dossier local, PR ou vault Obsidian en carte interactive de l'architecture, 100% côté client.

Spar Skills Guide Bot
DeveloppementDébutant
27/08/2026
Claude CodeCodex
#architecture-visualization#dependency-graph#codebase-analysis#blast-radius#security-scan

Recommandé pour

Synthèse automatique

Transforme un dépôt GitHub, un dossier local, une pull request ou un coffre Obsidian en carte d'architecture interactive via une application navigateur CodeFlow sans compilation ni backend.

Points forts

  • Aucune installation ni compilation : un seul index.html chargeant React 18 et D3.js depuis des CDN épinglés
  • Analyse variée : graphe de dépendances, blast radius, propriété du code, score de santé A–F, heatmap d'activité et impact de PR
  • Traitement 100 % côté client, sans backend ni collecte de données
  • Export en JSON, Markdown, texte, SVG ou PDF, et carte CodeFlow auto-actualisée pour un README

Limites

  • L'analyse de dépendances est heuristique (fonctions appariées par nom, limitées au fichier et aux imports explicites) et peut manquer les imports dynamiques ou les renommages
  • Le scanner de sécurité est heuristique, pas un outil d'analyse statique approfondi
  • Offre une vue jetable dans le navigateur plutôt qu'un graphe de connaissances durable commité dans le dépôt
Quand l'utiliser

À utiliser lorsqu'on découvre un dépôt inconnu et qu'on veut une vue d'ensemble rapide et interactive de l'architecture, ou évaluer l'impact d'un changement.

Quand l'éviter

À éviter si l'on a besoin de diagrammes éditables à la main (drawio, mermaid), de recherche de code économe en tokens pour un agent, ou d'une analyse statique précise par langage.

Analyse de sécurité

Sûr
Score qualité90/100

The skill only instructs cloning a public GitHub repository and opening a local HTML file in a browser. No destructive commands, no piping to shell, no data exfiltration, and no obfuscated payloads are present. GitHub token usage is explicitly described as browser-memory only and optional. The allowed Bash and WebFetch tools are used for legitimate, user-initiated actions.

Aucun point d'attention détecté

Comment cette analyse est faite

Exemples

Explore an unfamiliar repo
Use codeflow to visualize https://github.com/owner/repo and give me an overview of its dependency graph and architecture.
Blast radius of a change
Using codeflow, analyze what breaks if I modify src/core/router.ts in my local project folder.
PR impact analysis
Run codeflow on this PR URL https://github.com/owner/repo/pull/123 and show me the affected files and blast radius.

name: codeflow description: >- Turn any GitHub repo, local folder, PR, or markdown/Obsidian vault into an interactive architecture map with CodeFlow — a zero-build single index.html browser app (React 18 + D3.js from pinned CDNs) that runs 100% client-side with no backend and no data collection. Pick an input (public repo, private repo with a local token, local files, PR URL, markdown vault), choose a visualization mode (folder/layer/churn/blast), and read the analysis — dependency graph, blast radius, code ownership, heuristic security scanner, pattern/anti-pattern detection, A–F health score, activity heatmap, PR impact — then export JSON/Markdown/text/SVG/PDF or wire the self-updating CodeFlow Card SVG onto a README. allowed-tools: Bash Read Write Edit Glob Grep WebFetch metadata: tags: codeflow, codebase-visualization, dependency-graph, blast-radius, code-ownership, health-score, pr-impact, security-scanner, wiki-link-graph, plugin platforms: Claude, Codex, Gemini, OpenCode, All keyword: codeflow version: 1.0.0 upstream: "https://github.com/braedonsaunders/codeflow" installer: "git clone https://github.com/braedonsaunders/codeflow.git && open codeflow/index.html" source: akillness/jeo-skills license: MIT

codeflow — Visualize Codebase Architecture in Seconds

CodeFlow (braedonsaunders, MIT) turns any GitHub repository, local folder, PR, or markdown/Obsidian vault into an interactive architecture map — entirely in the browser. It is a single index.html app that loads pinned React 18 + D3.js 7 + Babel from CDNs: no build process, no npm install, no backend, and no data collection — your code is fetched directly from GitHub to your browser (or read from local files) and never leaves your machine. This skill is the routing-first wrapper: pick an input, choose a visualization mode, read the analysis, and export the result (or wire the self-updating CodeFlow Card onto a README).

When to use this skill

  • The user opened an unfamiliar codebase and wants a fast architecture overview — an interactive dependency graph they can drag, zoom, and explore
  • The user asks "if I change this file, what breaks?" → blast-radius analysis over the dependency graph
  • The user wants code ownership (top contributors per file from git history) for a review or "who do I ask?" decision
  • The user wants an A–F codebase health score (dead code, circular dependencies, coupling, security issues) or an activity heatmap
  • The user wants a heuristic security / pattern scan — hardcoded secrets, SQL injection, eval(), debug statements; singleton/factory/observer/React hooks, and anti-patterns (God Objects, high coupling)
  • The user wants PR impact analysis — paste a PR URL to see affected files and the change's blast radius
  • The user wants to visualize an Obsidian vault / markdown directory as a note graph ([[wiki-links]] and [text](./relative.md) become edges)
  • The user wants to export the analysis (JSON / Markdown / text / SVG / PDF) or drop a self-updating CodeFlow Card SVG on a README

When not to use this skill

  • The user wants editable, hand-authored diagrams (architecture, ERD, UML, sequence, flowchart) → use drawio or mermaid

  • The user wants token-efficient code search for an agent over a repo (find a symbol, semantic find-related) → use semble

  • The user wants a routing-first repo-navigation packet for definitions/references/impact before refactoring → use codebase-search

  • The user wants a durable, regenerable knowledge graph committed to the repo (.graphify/) rather than a throwaway browser view → use graphify

  • The user wants a deep, language-accurate static-analysis / call graph — CodeFlow's dependency analysis is heuristic (name-matched functions, scoped by file + explicit imports) and may miss dynamic imports or renamed runtime references; it is a quick overview, not 100% accuracy

Prerequisites

| Requirement | Notes | |-------------|-------| | A modern browser | The whole app runs client-side; nothing is installed | | git (optional) | Only to self-host: git clone the one-file repo | | A GitHub token (optional) | For private repos and higher rate limits — kept in browser memory only, never stored | | Node.js (optional) | Only the npx skills installer or the parser unit tests (node --test tests/) need it |

Instructions

Step 1 — Choose how to run CodeFlow

| Mode | When | Entry point | |------|------|-------------| | Online (recommended) | Quickest — public or private repos | https://codeflow-five.vercel.app/ | | Self-host | Offline / air-gapped / audit the source | git clone + open index.html | | CodeFlow Card | Self-updating health SVG on a README | GitHub Action in card/ |

Self-host is a single command — there is no build step:

bash git clone https://github.com/braedonsaunders/codeflow.git open codeflow/index.html # or: xdg-open / start, depending on OS

The skill ships scripts/install.sh to clone (or update) the repo locally and open it.

Step 2 — Choose an input

| Input | How | |-------|-----| | Public repo | Paste facebook/react or the full GitHub URL, press Enter | | Private repo | Add a PAT (repo scope) or GitHub App installation token in the Token field | | Local files | Click Open Folder (or drag & drop) — nothing is uploaded | | PR impact | Paste a PR URL to see affected files + blast radius | | Markdown vault | Point at an Obsidian vault / markdown dir for the note graph |

For local scans, set exclude patterns (uploads/**, **/cache/**, *.png) before scanning to skip attachments, caches, and generated assets.

Step 3 — Pick a visualization mode

| Mode | Colors files by | |------|-----------------| | Folder | Directory structure | | Layer | Architectural layer (UI, Services, Utils, …) | | Churn | Commit frequency (hot spots) | | Blast | Impact when a file is selected ("what breaks?") |

Keyboard: Enter analyze · + / - zoom · Escape close modal.

Step 4 — Read the analysis

CodeFlow surfaces, all client-side: an interactive dependency graph, blast-radius counts per file, code ownership (top git contributors), a security scanner (hardcoded secrets/keys, SQL injection, eval(), debug statements), pattern detection (singleton/factory/observer/React hooks + anti-patterns), an A–F health score (dead code %, circular deps, coupling, security), an activity heatmap, and PR impact analysis. See references/features.md for the full surface and the 40+ supported languages.

Step 5 — Export or embed

  • Export after analysis: JSON (full data — health, files, functions, dependencies, churn, security, patterns, suggestions, language breakdown), Markdown, plain text, SVG (graph image), PDF (printable graph), or raw JSON.
  • Share: the Share button copies a link that re-runs the same analysis.
  • CodeFlow Card: a GitHub Action recomputes a health/scale/fragility SVG on every merge and renders it on your README (5 styles, accent presets, opt-in PR thermal-receipt comments, light/dark adaptive). See the upstream card/.

Step 6 — Plugin-style installation alongside jeo-skills

This skill folder is plugin-installable through the standard jeo-skills flow so the wrapper, references, and installer land on disk for any supported runtime:

bash

Project install (writes into .agents/skills/codeflow/)

npx skills add https://github.com/akillness/jeo-skills --skill codeflow

Global install for every detected agent

npx skills add -g https://github.com/akillness/jeo-skills --skill codeflow

Target specific agents

npx skills add -g https://github.com/akillness/jeo-skills --skill codeflow -a claude-code -a codex -y

Output format

When the user asks codeflow for help, return a compact brief:

markdown

codeflow Routing Brief

Scope

  • Run mode: online | self-host | card-action | undecided
  • Input: public-repo | private-repo | local-files | pr-url | markdown-vault
  • Goal: overview | blast-radius | ownership | health | security | pr-impact | note-graph

Recommended next move

  • open-online | self-host | open-folder | paste-pr-url | wire-card | export-json

Why

  • 2–3 bullets grounded in the user's packet

Route-outs

  • drawio / mermaid for editable hand-authored diagrams
  • semble for token-efficient agent code search over a repo
  • codebase-search for a repo-navigation packet before refactoring
  • graphify for a durable, committed knowledge graph

Best practices

  1. Use a token for anything non-trivial — unauthenticated GitHub API is 60 req/hour; a PAT or GitHub App raises it to 5,000 req/hour and speeds up analysis (CodeFlow fetches file contents per request).
  2. Keep tokens local — the token lives only in browser memory and clears when the tab closes; never commit it. Prefer a GitHub App installation token for teams (fine-grained, revocable, audit-logged).
  3. Set exclude patterns before local scans — skip node_modules, caches, build output, and binary assets so the graph stays readable and fast.
  4. Treat dependency edges as heuristic — name-matched functions, scoped by file + explicit imports; verify before acting on a blast-radius claim for a refactor with dynamic imports or reflection.
  5. Self-host for sensitive code — it is one auditable index.html; local file analysis works fully offline with no network calls.
  6. Export JSON for automation — the JSON report is the integration surface for CI/CD, custom reporting, or feeding another tool.

References

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/codeflow-visualize-codebase-architecture-in-seconds-mtb1e272/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

mkdir -p '.skill-downloads/codeflow-visualize-codebase-architecture-in-seconds-mtb1e272' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/codeflow-visualize-codebase-architecture-in-seconds-mtb1e272/download' --output '.skill-downloads/codeflow-visualize-codebase-architecture-in-seconds-mtb1e272/SKILL.md.part' && mv '.skill-downloads/codeflow-visualize-codebase-architecture-in-seconds-mtb1e272/SKILL.md.part' '.skill-downloads/codeflow-visualize-codebase-architecture-in-seconds-mtb1e272/SKILL.md'

2. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Outils déclarés par l’auteur (à vérifier dans votre agent) : Bash Read Write Edit Glob Grep WebFetch

Extrait original : Prerequisites
RequirementNotes
A modern browserThe whole app runs client-side; nothing is installed
git (optional)Only to self-host: git clone the one-file repo
A GitHub token (optional)For private repos and higher rate limits — kept in browser memory only, never stored
Node.js (optional)Only the npx skills installer or the parser unit tests (node --test tests/) need it

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.

Claude Code
test -f '.skill-downloads/codeflow-visualize-codebase-architecture-in-seconds-mtb1e272/SKILL.md' && test -s '.skill-downloads/codeflow-visualize-codebase-architecture-in-seconds-mtb1e272/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/codeflow' && cp -R '.skill-downloads/codeflow-visualize-codebase-architecture-in-seconds-mtb1e272' '.claude/skills/codeflow'

Codex
test -f '.skill-downloads/codeflow-visualize-codebase-architecture-in-seconds-mtb1e272/SKILL.md' && test -s '.skill-downloads/codeflow-visualize-codebase-architecture-in-seconds-mtb1e272/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/codeflow' && cp -R '.skill-downloads/codeflow-visualize-codebase-architecture-in-seconds-mtb1e272' '.agents/skills/codeflow'

OpenSkills

OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.

Installation officielle d’OpenSkills
openskills install './.skill-downloads/codeflow-visualize-codebase-architecture-in-seconds-mtb1e272'

openskills read 'codeflow-visualize-codebase-architecture-in-seconds-mtb1e272'

La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.

Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.

openskills sync

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/codeflow-visualize-codebase-architecture-in-seconds-mtb1e272/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires