Logo vun Read Codebase

Read Codebase

Communautéit
0xBakeer
read-codebase

Getting oriented in an unfamiliar repository before changing it - project rules files, entry points, build and test commands, the module map, data flow for one feature, and writing down what was learned.

Iwwersiicht

Editeur0xBakeer
RepositoryTandemLLM
Skill-Nummread-codebase
Stären
75
Forks
14
Matgeliwwert Fichieren
Nëmmen Instruktiounen
LizenzAGPL-3.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum 0xBakeer op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Read Codebase an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/0xBakeer/TandemLLM/tree/main/packages/library/read-codebase
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/0xBakeer/TandemLLM.git /tmp/TandemLLM
mkdir -p .claude/skills
cp -r /tmp/TandemLLM/packages/library/read-codebase .claude/skills/read-codebase
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Read Codebase an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Read Codebase automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Read Codebase net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Reading an unfamiliar codebase

Rules:

  • Read the rules first: README, AGENTS.md, CLAUDE.md, CONTRIBUTING, Makefile, package.json scripts, pyproject.toml. They say how to build and test and what is forbidden.
  • Map the tree: ls top level, find . -maxdepth 2 -type d | grep -v node_modules, then file counts per language. Find the entry points (main, app, index, cli).
  • Follow one feature end to end: route or command, handler, data model, storage, test. Read the test for it; tests show intent and the real call shapes.
  • Run the existing tests before touching anything; note the summary line. That is the baseline.

What goes wrong:

  • Rebuilding a helper that exists two directories up; grep for the concept first (grep -rn "def parse_date\|parseDate").
  • Changing a function with five callers and testing one.
  • Running a different build or test command than the project's; "it fails" when it is just the wrong command.

Check: the rules file read (quote the relevant line), the test baseline run, the call-site list for the target symbol, and the 10-line note.

Done when:

  • The build and test commands quoted from the project's own files, and the baseline test summary line.
  • Call sites of the symbol to change listed with file:line.
  • The orientation note (10 lines) in the message before the first edit.

Reference

bash
cat README.md | head -80; ls -a; cat AGENTS.md CLAUDE.md CONTRIBUTING.md 2>/dev/null | head -120
find . -maxdepth 2 -type d -not -path '*/node_modules*' -not -path '*/.git*' -not -path '*/.venv*'
find . -type f \( -name '*.py' -o -name '*.ts' -o -name '*.js' -o -name '*.go' \) -not -path '*/node_modules/*' -not -path '*/.venv/*' | sed 's/.*\.//' | sort | uniq -c
grep -rn "scripts" package.json | head; grep -n "\[tool\|\[project" pyproject.toml; grep -n '^[a-z-]*:' Makefile
grep -rn "app = \|createServer\|def main\|if __name__" --include='*.py' --include='*.js' --include='*.ts' . | grep -v node_modules | head
grep -rn "parse_date" --include='*.py' . | grep -v '.venv' | grep -v 'test_'      # call sites
git log --oneline -15; git log --oneline -- path/to/file | head        # recent history of the area
pytest -q 2>&1 | tail -3     # or: npm test 2>&1 | tail -5 ; go test ./... 2>&1 | tail -5

Orientation note template:

Build: <cmd>   Test: <cmd>   Run: <cmd>
Entry: <file>  Feature path: <route/cmd> -> <handler file:line> -> <model> -> <store>
Tests for it: <file>   Baseline: <N passed>
Change: <symbol> at <file:line>, callers: <n> (<files>)
Rules: <quoted line from README/AGENTS>

More rules:

  • Grep for the symbol you will change and list every call site before editing.
  • Write a 10-line orientation note (commands, entry points, where the feature lives, what the tests cover) in the message, then start.

More pitfalls:

  • Reading 40 files and writing nothing down; the orientation evaporates after a compaction.

Heefeg gestallte Froen

Wat mécht de KI-Skill Read Codebase?

Getting oriented in an unfamiliar repository before changing it - project rules files, entry points, build and test commands, the module map, data flow for one feature, and writing down what was learned.

Firwat Read Codebase op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Read Codebase besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Read Codebase an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/0xBakeer/TandemLLM/tree/main/packages/library/read-codebase an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Read Codebase benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Read Codebase benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Read Codebase domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Read Codebase gratis?

Jo. De Skill gëtt vum 0xBakeer ënner der Lizenz AGPL-3.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇