explain
/explain
Wyjaśnia, jak działa system lub proces, w postaci offline strony z diagramami Mermaid narysowanymi z kodu, po jednym wniosku na sekcję.
- Autor
- KirillSachkov ↗
- Repozytorium
- agent-clarity ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 10.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 8
- Skrypty
- 3
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 10.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 3 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: kit/build.py, kit/chrome.mjs, kit/page.js
Co robi i kiedy
Wyjaśnia, jak działa system lub proces, w postaci offline strony z diagramami Mermaid narysowanymi z kodu, po jednym wniosku na sekcję.
Oryginalny opis (EN)
Explain how a system or process works as an offline page of Mermaid diagrams drawn from the code: one takeaway per section. Use when asked how something is built or works, or to show or visualize it.
Jak działa
- Steps
Podgląd SKILL.md
---
name: explain
description: "Explain how a system or process works as an offline page of Mermaid diagrams drawn from the code: one takeaway per section. Use when asked how something is built or works, or to show or visualize it."
metadata:
internal: true
---
# Explain
> In progress: the page format and the build are being reworked, see the repository's issues. Use it, but expect changes.
Each section answers one question with one diagram, and its heading states the takeaway:
«Only composition.ts connects the core features», not «Modules». For what an agent did, use `recap`.
## Steps
1. **Pick the sections** from the question and the code; the example shows form only.
| Section | Question | Diagram |
|---|---|---|
| Overview | What runs and where data lives | `flowchart LR`, 5–10 nodes: processes, features inside them, background jobs, stores; `subgraph` per process |
| Modules | How the code depends on itself | `flowchart` from real imports, folded to packages or features. `:::removed` marks only an import the project's boundary rules reject; name the rule under the diagram. An import the rules allow is a plain arrow |
| A mechanism | What happens when X | `sequenceDiagram` of one scenario, 4–8 messages; the page steps through them |
| States | Which states an entity has | `stateDiagram-v2` with every transition the code allows: walk each branch of the transition function; only when the question is about states |
- Usually 3–5 sections. Leave out glossaries, file layouts and linter rules.
- Every arrow label is a verb. Node labels up to 4 words; the type goes in brackets: `S[Сервер · Node]`.
- Imports: `dependency-cruiser` or `madge` (TypeScript), `grimp` (Python), `go list -deps -json` (Go). Without a tool, collect imports with a script and fold them.
- A diagram over 15 nodes does not read: split it, or show one level.
Done when each section names its question and its takeaway heading.
2. **Gather evidence in the code.** For each arrow write `A -> B: verb; evidence: <file>`.
Take module dependencies from the project's import tool and its boundary rules; take states from every branch of the transition code.
Done when every part has a path in the code and every arrow has an evidence line.
3. **Write `explain.md` in its folder:**
| Where you run | Folder for `explain.md` and the page | Show the page |
|---|---|---|
| Orca chat (`ORCA_CHAT_SCRATCH_DIR` set) | `$ORCA_CHAT_SCRATCH_DIR/`, page `explain-<4 hex>.html` | a line `::orca-visual{file="<name>.html" title="<title>"}` |
| terminal | `<repo>/.reports/explain/`, page `<date>-<topic>.html` | `open <file>` (`xdg-open` on Linux), and the path in your reply |
When `.reports/` is not in the repo's `.gitignore`, add it to `.git/info/exclude`.
Start from [the example](examples/interview-sensei/explain.md); marks and diagram rules: [markdown.md](kit/markdown.md).
Draw only what the evidence holds; name files with `[[path]]` in the text under each diagram.
After each `sequenceDiagram`, add an ordered list: one plain-language note per message.
4. **Build fast, then check once.** Fix errors with the fast build; it takes about a second:
```bash
python3 <skill dir>/kit/build.py explain.md <page>.html
```
The fast build leaves the page unchecked. Run the same command once more with `--check`: it opens the page headless, offline,
in both themes and at phone width, and opens no window. Look at its screenshots once. Done when it prints `✓`.
5. **Show the page** as the table in step 3 says. In the reply, list the sections with their takeaways.
Pliki w paczce (8)
- SKILL.md 4 KB
- examples/interview-sensei/explain.md 4 KB
- kit/build.py 23 KB
- kit/chrome.mjs 4 KB
- kit/markdown.md 2 KB
- kit/page.css 11 KB
- kit/page.html 1 KB
- kit/page.js 6 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · KirillSachkov/agent-clarity | 100 | MIT |
| crbnos/carbon | 100 | AGPL-3.0 |
| PerilloAI/flowtrace-plugin | 100 | Apache-2.0 |
| mickeyyaya/evolve-loop | 100 | Apache-2.0 |
| zenobi-us/dotfiles | 100 | MIT |
| imgly/agent-skills | 100 | MIT |
| marcel-bich/marcel-bich-claude-marketplace | 100 | MIT |
| nicodiansk/draw-it-out | 100 | MIT |
| ramboz/jig | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 2aeaa68692f2 (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
- 100c4-architecture
Tworzy dokumentację architektury w modelu C4 z diagramami Mermaid: kontekst, kontenery, komponenty i wdrożenie. - 100kit-explain
Opisuje zmianę w PR lub krótkim HLD w układzie Problem, Rozwiązanie, Jak to działa, z jednym zwięzłym diagramem mermaid. - 100explain-code-flow
Wyjaśnia przepływ działania funkcji w czasie wykonania, transformacje danych i kontrakty wejścia i wyjścia jako wizualną narrację z diagramami Mermaid. - 90st-explain
Wyjaśnia prostym językiem, jak działa fragment kodu, dlaczego jest zbudowany właśnie w ten sposób i co to oznacza. - 100explain-system-flows
Wyjaśnia, jak faktycznie działa kod, funkcje, integracje lub przepływy systemu, pisząc wewnętrzną dokumentację Markdown z diagramami Mermaid dla czytelnika technicznego. - 90ds-explain
Wyjaśnia prostym językiem, jak działa fragment kodu, dlaczego jest tak zbudowany i co z tego wynika, np. przy wdrażaniu w podsystem.