agentleFS
ES-92ES-92/esc/skills/map/SKILL.md

map

Skill0 starsChanged 4 months agoMITView on GitHub

Analysiert einen bestehenden Codebase (Brownfield) und erzeugt einen AI-lesbaren Ist-Stand — Stack, Build/Test, Modul-/Ordnerstruktur, Architekturmuster, Datenmodell, Konventionen, Einstiegspunkte, Tech-Debt/Risiken — als esc/specs/codebase-map.md, an den sich die folgenden Phasen binden. Use when working on an existing project and the user says "bestehenden Code analysieren", "brownfield", "codebase mappen", "esc map", or before specs/changes on existing code.

31 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ultragoal, cost and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Yeachan-HeoSkill

    ultragoal

    Create and execute durable repo-native multi-goal plans over Codex goal mode artifacts.

    Also in 3 projects that use this

  • maxvaegaSkill

    cost

    Estimate what Claude Cowork / Claude Code conversations would cost if run on the pay-per-token Claude API instead of the subscription. Reports token counts and cache-aware API cost in USD and EUR, for the current conversation or for the whole history (cost per conversation). Trigger when the user asks things like "how much would this conversation cost on the API", "API cost of my Cowork conversations", "token usage / token count", "cost per conversation", "/cost", or wants to compare subscription vs API pricing.

    Also in 3 projects that use this

  • marylinSkill

    recover

    Recover work from a crashed or interrupted session. Use when Claude crashed mid-task, after an unexpected exit, when you see 'stale sessions detected', or when you lost context and need to figure out what was happening.

    Also in 3 projects that use this

  • thoughtbotSkill

    trace

    Run a scenario and record what actually happened.

    Also in 4 projects that use this

  • POSTTTTSkill

    tidy

    Clean up and organize a project's file structure — group loose files into logical folders (images/, scripts/, styles/, etc.), remove empty directories, and delete genuinely unnecessary files. Use when the user asks to "clean up the project", "organize the files", "tidy the directory", "sort these into folders", "remove empty folders", or "get rid of junk files". Always understands the project and updates references BEFORE moving anything, never deletes load-bearing files, and gets approval before changing the file tree.

    Also in 3 projects that use this

  • HeshamFSSkill

    loop

    Run a command or check on a recurring interval

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 22 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Test-Runner X", „Datenzugriff nur über Layer Y").

    line 42

“Common” is measured: kept by at least 6 in 10 of the 22 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

esc:map — Bestehenden Code erfassen (Brownfield)

Ziel: den Ist-Stand eines bestehenden Projekts so erfassen, dass alle folgenden ESC-Phasen darauf aufsetzen — statt Greenfield zu raten. Ergebnis ist eine kompakte, faktenbasierte Karte.

Sichtweise & Schärfe

Aus der analytischen Sicht geführt — nur belegen, was im Code wirklich steht (${CLAUDE_PLUGIN_ROOT}/shared/viewpoints.md). Keine Vermutungen als Fakten ausgeben.

Lies zuerst

  • esc/state.yaml, esc/specs/constitution.md (falls vorhanden)
  • Den Code selbst via Glob/Grep/Bash — Manifeste, Configs, Einstiegspunkte, Tests.

Ablauf

1. Scope & Tiefe klären

Frag (Auswahl): ganzes Repo oder ein Teilbereich? Tiefe (Überblick vs. gründlich)? Bei Monorepo: welches Paket.

2. Fakten sammeln (aus dem Code, nicht raten)

  • Stack & Tooling: Sprachen, Frameworks, Paketmanager (aus package.json/pyproject.toml/go.mod/… ).
  • Build/Run/Test: wie startet/testet/lintet man das Projekt (Scripts, Makefile, CI-Konfig).
  • Struktur: Top-Level-Module/Ordner und ihre Verantwortung; Einstiegspunkte (main, Server, Routen).
  • Architekturmuster: Layering, Patterns, externe Integrationen, Persistenz.
  • Datenmodell: Kern-Entitäten/Tabellen/Schemas (aus Migrations/Models) — als erDiagram skizzieren.
  • Konventionen: Namens-/Ordner-/Test-Konventionen, Formatter/Linter-Regeln.
  • Risiken/Tech-Debt: offensichtliche Schwachstellen, fehlende Tests, veraltete Deps, „hier-nicht-anfassen"-Zonen. Mit git log/git ls-files ein grobes Aktivitäts-/Größenbild gewinnen.

3. Karte schreiben

esc/specs/codebase-map.md: Überblick · Stack & Tooling · Build/Run/Test · Struktur (Modul-Tabelle) · Architektur (+ Mermaid) · Datenmodell (erDiagram) · Konventionen · Risiken/Tech-Debt · offene Fragen. Unsicheres klar als „unbestätigt" markieren, nicht als Fakt.

4. Constitution & Bindung

Biete an, entdeckte Konventionen in die Constitution zu übernehmen (z. B. „nutze den vorhandenen Test-Runner X", „Datenzugriff nur über Layer Y"). Danach esc:bind vorschlagen, damit die Karte in der CLAUDE.md verlinkt ist.

5. Routen

state.yaml aktualisieren (Brownfield vermerkt). Schlage den nächsten Schritt vor: bei kleiner Änderung direkt esc:prd (Quick-Spec)/esc:epics; bei größerem Vorhaben esc:discover/esc:prd.

Definition of Done

  • esc/specs/codebase-map.md ist faktenbasiert (aus dem Code belegt), Unsicheres markiert.
  • Build/Run/Test-Wege und Kern-Konventionen sind erfasst.
  • Entdeckte Konventionen in die Constitution übernommen (auf Wunsch); esc:bind angeboten.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.