codemap
/codemap
Znajduje w repozytorium git, gdzie leży dany plik, funkcja lub linia, jednym wywołaniem, zanim zacznie się przeszukiwanie plików.
- Autor
- QDinvest ↗
- Repozytorium
- Code-Map-QD ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 09.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 09.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Znajduje w repozytorium git, gdzie leży dany plik, funkcja lub linia, jednym wywołaniem, zanim zacznie się przeszukiwanie plików.
Wyzwalacze z opisu
Oryginalny opis (EN)
Find where something lives in a git repo in one call before grepping or reading files. Use whenever you need to locate the file, function or line for a task ("where is X", "where does Y happen", "what calls Z", "what breaks if I change W"), including inside subagents doing code search.
Jak działa
SKILL.md bez nagłówków drugiego poziomu · 19 linii, 221 słów
Podgląd SKILL.md
---
name: codemap
description: Find where something lives in a git repo in one call before grepping or reading files. Use whenever you need to locate the file, function or line for a task ("where is X", "where does Y happen", "what calls Z", "what breaks if I change W"), including inside subagents doing code search.
---
# codemap
Run from inside the repo (or pass `--root <repo>`). Use `python3` if `python` is not found.
```
python "${CLAUDE_PLUGIN_ROOT}/scripts/codemap.py" ask "<task in plain words> <4-8 words the code likely uses>"
python "${CLAUDE_PLUGIN_ROOT}/scripts/codemap.py" impact <file|symbol> # importers depth 2 + tests to run
python "${CLAUDE_PLUGIN_ROOT}/scripts/codemap.py" file <path> # outline instead of reading a big file
```
- Add 4-8 words the code probably uses: synonyms, identifier guesses, terms of art. Questions and code often use different words; this closes the gap (right function listed 91% with them, 75% without, on 110 test questions).
Example: `ask "where are passwords hidden in logs mask redact obfuscate sensitive secret"`.
- Output: the best files, one per line, each with its best functions as `name start-end`. Pick the function whose name fits and read only those lines.
- If no listed function fits but a file looks right, run `file <path>` and read only the function whose name fits. An outline costs a few hundred tokens; the whole file often costs thousands.
- If nothing fits, grep.
- Put exact strings in quotes or write routes as-is (`/api/x/y`). They are searched verbatim and every file containing them is listed.
- Paths are relative to the repo root. The first call in a repo builds the index (seconds), later calls take well under a second.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · QDinvest/Code-Map-QD | 96 | MIT |
| jordancoin/codemap | 100 | MIT |
| AZidan/archflow | 100 | MIT |
| alvinunreal/oh-my-opencode-slim | 100 | MIT |
| jordancoin/codemap | 100 | MIT |
| ils15/copilot-global-config | 100 | MIT |
| azidan/codemap | 100 | MIT |
| ialameh/sift-coder | 100 | MIT |
| jellydn/my-ai-tools | 96 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki abff094a93e5 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100repomap
Szybko indeksuje repozytorium bez zależności, by wskazać, gdzie leży funkcja lub klasa i kto ją importuje, zanim czyta się całe pliki. - 100codemap-export
Eksportuje mapę kodu (codemap) jako JSON do dalszego przetwarzania przez inne narzędzia, z tymi samymi danymi co polecenie /codemap. - 90rc-codemap
Buduje i odświeża pliki codemap.md w każdym katalogu jako tanią mapę struktury przed eksploracją dużego repozytorium. - 100config-setup
Ustawia .codemap/config.json tak, by Codemap skupiał się na kodzie istotnym dla repozytorium, gdy konfiguracja jest brakująca, szablonowa lub zaszumiona. - 90glia-find
Znajduje, gdzie w bazie kodu leży funkcja, symbol lub pojęcie, zwracając ranking węzłów ze ścieżkami i liniami. - 100codemap-refresh
Odświeża mapy kodu nieaktualne po zmianach, regenerując tylko przestarzałe pliki i zachowując ręczne poprawki.