Programowanie · Analiza
code-graph
/code-graph
Pokazuje z plikiem i linią, kto wywołuje daną funkcję i gdzie w kodzie znajdują się płatności lub logowanie.
Dla kogo
- Autor
- atomicbot-ai ↗
- Repozytorium
- atomic-agent ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 12.11.2026
Ocena i bezpieczeństwo
90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Przestarzałość
Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.
Licencja
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Pokazuje z plikiem i linią, kto wywołuje daną funkcję i gdzie w kodzie znajdują się płatności lub logowanie.
Oryginalny opis (EN)
Map code with file and line: who calls X, where payments or login live. Use for /code-graph.
Jak działa
- Start from the map
- Question types
- Answer format
- Limits to state honestly
Sekcje z nagłówków SKILL.md, w oryginale · 77 linii, 586 słów
Podgląd SKILL.md
---
name: code-graph
description: "Map code with file and line: who calls X, where payments or login live. Use for /code-graph."
version: 1.0.0
requires_tools:
- os.fs.code_map
- os.fs.grep
- os.fs.read
dangerous: false
---
# code-graph
People ask about code in terms of meaning ("where are payments?") and
links ("who calls this?"). Reading files one by one to answer that is slow
and misses things. This skill builds the part of the call graph the
question needs, from the project map and targeted searches, and shows every
edge with a `path:line` the user can open.
Read-only: never edit files while answering.
## Start from the map
Call `os.fs.code_map` on the project (or the folder the user named) once
per question. It lists the most-referenced files first with their main
symbols and lines. Pass `focus` with the names or paths from the question
to centre it. Use `path` set to one file to get that file's full skeleton
before reading it with `os.fs.read` and an offset.
## Question types
**Who calls X?**
1. Find the definition: `os.fs.grep` for the name with a definition
pattern (`function X`, `X(` after `def`, `class X`, `X =`, `fn X`).
2. Search for uses: `os.fs.grep` for `X(`, `.X(`, `new X`, and imports of
the file that defines it.
3. Drop the definition itself, comments, strings and, unless asked, tests.
4. For each real caller, read a few lines around it and note the enclosing
function. That function is the caller, not the file.
5. Go one more level up only if the user asked for the chain or the direct
callers are thin wrappers.
**What does X call / depend on?**
Read X's body (skeleton first, then the lines). List the functions,
modules and external services it uses, in the order they run.
**Where is feature Y?** (payments, login, uploads…)
1. Expand Y into the words code uses: payments gives `payment`, `charge`,
`invoice`, `billing`, `checkout`, `stripe`, `subscription`, `refund`.
2. Search file paths first (`os.fs.code_map` with `focus`, or `os.fs.grep`
on paths), then identifiers, then route strings and config keys.
3. Rank by how central the hits are: entry points (routes, handlers, CLI
commands) first, then the core logic, then helpers and tests.
4. Answer with the 3 to 7 places that matter, each with one line on its
role, not every hit.
**How does A reach B?**
Walk from A's entry point through its calls toward B, one hop at a time,
reading each hop. Stop after about eight hops; if B is still not reached,
say where the trail ends and why (an event bus, a queue, dynamic dispatch,
another service).
## Answer format
- Lead with the direct answer in one or two sentences.
- Then the edges, one per line: `caller (path:line) -> callee (path:line)`,
or a short list of places for "where is Y".
- When the user asks for a picture, or the graph has more than about six
edges, add a Mermaid `flowchart` block with the same edges. Keep it under
20 nodes; group the rest as "…and N more".
- End with one line on how complete it is: what search you relied on and
what it cannot see.
## Limits to state honestly
This is a search-based graph, not a compiler's. Say so when it matters:
- dynamic calls (callbacks passed around, `obj[name]()`, reflection,
dependency injection) and event emitters can hide callers;
- a common name like `run` or `get` matches too much; narrow the search by
the file that imports the definition, and say you did;
- generated code, other repositories and services over the network are out
of view.
Never invent an edge. If you did not read the line, it does not go in the
answer.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · atomicbot-ai/atomic-agent | 90 | MIT |
| aniruddha-adhikary/skills | 100 | Apache-2.0 |
Migawka bazy z 13.11.2026 · wersja paczki 2377ed2ed840 (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
- 100rs-call-graph
Wizualizuje w Rust grafy wywołań funkcji przez LSP, odpowiadając na pytania kto wywołuje daną funkcję i co ona wywołuje. - 100graph-it-live
Analizuje zależności w kodzie, grafy wywołań i architekturę przy użyciu graph-it CLI, odpowiadając, co wywołuje funkcję i co się zepsuje po zmianie. - 100geml-code-graph
Buduje, wyświetla i aktualizuje graf wywołań projektu jako dokumenty GEML codemap oraz pomaga śledzić, kto wywołuje daną funkcję, i ścieżki wpływu zmian. - 100geml-code-graph
Buduje, wyświetla i aktualizuje graf wywołań projektu jako dokumenty GEML codemap oraz pomaga śledzić, kto wywołuje daną funkcję, i ścieżki wpływu zmian. - 100phx-trace
Śledzi, jak wartość lub żądanie dociera do kodu Elixir, ustala, kto wywołuje daną funkcję, i pomaga zaplanować zmianę sygnatury. - 100hivemind-graph
Odpytuje lokalny graf kodu (funkcje, klasy, wywołania, importy) przez montowanie Deeplake, aby odpowiadać na pytania o strukturę repozytorium, na przykład kto coś wywołuje.