Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

code-atlas

БесплатноБез исполняемых скриптовНе проверен

Builds comprehensive, living code-atlases as multi-layer architecture documents derived from code-first truth. Defaults to both Graphviz DOT and Mermaid. User…

rysweetот rysweet★ 77 звёзд на GitHub

Об этом скилле

Code Atlas Skill

Purpose

Build exhaustive, regeneratable architecture atlases directly from code truth. A code-atlas is a living document set: diagrams, graphs, and inventory tables that form a navigable map of any codebase. Atlas-building is investigation: structured reasoning about code in graph form reveals structural bugs, API contract mismatches, and architectural drift that linear code review misses.

An atlas is complete when any engineer, given only the atlas and a bug report, can trace the full execution path without opening the source code.

Layer Overview

Layer definitions are the single source of truth in LAYERS.yaml. All references below use slugs from that file.

Slug Name Description Recommended Diagram Type
repo-surface Repository Surface All source files, project structure, build systems Mermaid flowchart TD
ast-lsp-bindings AST+LSP Symbol Bindings Cross-file symbol references, dead code, interface mismatches Mermaid flowchart LR or DOT digraph
compile-deps Compile-time Dependencies Package imports, dependency trees, circular deps DOT digraph (handles large trees better)
runtime-topology Runtime Topology Services, containers, ports, inter-service connections DOT digraph with subgraph clusters
api-contracts API Contracts HTTP routes, gRPC, GraphQL, middleware chains Mermaid flowchart TD
data-flow Data Flow DTO-to-storage chains, transformation steps Mermaid flowchart LR
service-components Service Component Architecture Per-service internal module/package structure Mermaid graph TD (one per service)
user-journeys User Journey Scenarios End-to-end paths from entry to outcome Mermaid sequenceDiagram

Per-Layer Scope Guidance

Slug Scope Target
repo-surface Top-level directories and build entry points. Do not enumerate every file.
ast-lsp-bindings Exported symbols and their cross-file references. Focus on public API surface.
compile-deps Direct dependencies and one level of transitive. Include version constraints.
runtime-topology All deployed services, their ports, and inter-service protocols.
api-contracts Every HTTP/gRPC/GraphQL endpoint with auth, DTOs, and middleware.
data-flow Primary read/write paths per service. Skip internal caching flows unless relevant.
service-components Top-level packages/modules within each service. Show coupling edges.
user-journeys Derive from api-contracts routes + pages/CLI entries. Trace 3-8 key journeys.

Skill Delegation Architecture

code-atlas (this skill)
  Responsibilities:
    - Atlas layer orchestration (all 8 layers)
    - Language-agnostic code exploration
    - Three-pass bug-hunting workflow
    - Staleness detection triggers
    - Density management (split, not prompt)
    - Publication workflow (GitHub Pages, mkdocs, SVG)

  Delegates to:
    code-visualizer skill       Python AST module analysis (compile-deps + service-components fallback)
    mermaid-diagram-generator   Mermaid syntax generation and formatting
    lsp-setup skill             Layer ast-lsp-bindings: LSP-assisted symbol queries (optional)
    visualization-architect     Complex DOT graph rendering and cross-layer layouts
    analyzer agent              Deep codebase investigation and dependency mapping
    reviewer agent              Contradiction hunting (Passes 1, 2, 3)

When to Use This Skill

Trigger Use Case
Starting work on an unfamiliar codebase Full atlas build before coding
Onboarding a new engineer Share atlas as navigation guide
Before a major refactor Map current state; plan changes against topology
Bug hunt stalled Pass 1 + Pass 2 bug-hunting through graphs
Docs feel stale
Полный SKILL.md на GitHub

Установить code-atlas в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

API-CONTRACTS.mdLAYERS.yamlREADME.mdSECURITY.mdbug-hunt-guide.mdexamples.mdpublication-guide.mdreference.md

FAQ

Что делает скилл code-atlas?

Builds comprehensive, living code-atlases as multi-layer architecture documents derived from code-first truth. Defaults to both Graphviz DOT and Mermaid. User can override to single format. Language-agnostic (Go, TypeScript, Python, .NET, Rust, Java). Files issues with 'code-atlas-bughunt' label. Treats atlas-building as a multi-agent bug-hunting journey: graph-form reasoning exposes structural bugs, route/DTO mismatches, orphaned env vars, dead code paths, and stale documentation that linear review misses. Three-pass bug hunt with per-journey PASS/FAIL/NEEDS_ATTENTION verdicts. Use when: creating architecture documentation, investigating unfamiliar codebases, hunting structural bugs, setting up CI/CD diagram refresh, or publishing to GitHub Pages/mkdocs.

Как установить скилл code-atlas?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл code-atlas запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить code-atlas с