Przejdź do treści
Biblioteka skilli
Programowanie · Nauka i wyjaśnianie

trove-explain

/trove-explain

Wyjaśnia kod, architekturę i przepływ danych na poziomie dopasowanym do odbiorcy, gdy trzeba zrozumieć nieznany moduł.

Repozytorium
trove ↗
Licencja
MIT
Ostatnia zmiana repozytorium
08.10.2026

Ocena i bezpieczeństwo

100/ 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ść35 / 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
2
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 08.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • SKILL.md zawiera komentarze HTML (2). Nie widać ich w podglądzie Markdown, a model je czyta.

Co robi i kiedy

Wyjaśnia kod, architekturę i przepływ danych na poziomie dopasowanym do odbiorcy, gdy trzeba zrozumieć nieznany moduł.

Oryginalny opis (EN)

Explain code, architecture, or data flow at the appropriate level for the audience. Use when someone needs to understand unfamiliar code, a module, or system design.

Jak działa

  1. Session Init
  2. Complexity gate
  3. Approach
  4. Explanation Levels
  5. Output Format
  6. Critique mode (optional)
  7. Best Practices
Sekcje z nagłówków SKILL.md, w oryginale · 67 linii, 387 słów
Podgląd SKILL.md
---
name: trove-explain
description: "Explain code, architecture, or data flow at the appropriate level for the audience. Use when someone needs to understand unfamiliar code, a module, or system design."
---
<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly -->
<!-- Regenerate: bun run build:skills -->

## Session Init

This skill ships Trove conventions. Prefer existing project patterns over generic best practices when they conflict.

# Code Explanation Skill

## Complexity gate

Size the effort to the subsystem before diving in:

- **Simple** (one module, one flow): explain it in a single pass.
- **Complex** (multiple subsystems, unclear ownership): fan out 2-4 bounded, read-only sub-agents to map distinct areas in parallel, then synthesize their findings into one mental model. Use the delegated-exploration phrasing in [docs/orchestration.md](../../docs/orchestration.md); fan out only when the subsystem warrants it (parallel agents cost linearly).

Read the actual code. Do not guess behavior from file or symbol names — the name lies often enough that a guess is the most common explanation failure.

## Approach

When explaining code or architecture:

1. **Start with the "why"** — what problem does this solve?
2. **Show the big picture** — how does it fit in the larger system?
3. **Walk through the flow** — trace data from entry to exit
4. **Highlight the non-obvious** — gotchas, trade-offs, design decisions

## Explanation Levels

Adapt your explanation depth to the audience:

| Level | Audience | Focus |
|-------|----------|-------|
| **High** | PM, Designer | What it does, user impact |
| **Mid** | New developer | How it works, key patterns |
| **Deep** | Experienced dev | Why decisions were made, edge cases |

## Output Format

```markdown
## What This Does
One-paragraph summary of purpose and behavior.

## Architecture
How components connect (use diagrams when helpful).

## Key Flow
Step-by-step trace through the main path.

## Design Decisions
Why it's built this way (trade-offs, alternatives considered).

## Gotchas
Things that might surprise you or cause bugs.
```

## Critique mode (optional)

When asked to critique (not just explain) the architecture, explain first, then surface findings and sort each into: **Act on** (real problem, worth fixing now), **Consider** (worth weighing), **Noted** (minor), **Dismissed** (raised and rejected, with the reason). Keep it lightweight; the heavyweight adversarial pass is `trove-review`'s deep mode.

## Best Practices

- Use code snippets to illustrate, but annotate them
- Prefer diagrams (ASCII or mermaid) for architecture
- Link to related code files when referencing them
- Keep explanations under 500 words unless requested otherwise

Wersje

W bazie nie ma innych skilli o nazwie trove-explain.

Identyczna treść występuje jeszcze w 3 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 28.10.2026 · wersja paczki 15228b6459f2 (skrót SHA-256 całej paczki)

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90explain-code
    Wyjaśnia nieznany kod z użyciem wiedzy o projekcie: architekturę, wzorce, pułapki i podobne implementacje.
  • 84analyze-code
    Wyjaśnia, co robi wskazany plik, moduł lub funkcja, oraz ocenia jego bezpieczeństwo, wydajność i architekturę, gdy trzeba zrozumieć cudzy kod.
  • 90sbp-explain-codebase
    Wyjaśnia nieznany kod i infrastrukturę w kontekście: śledzi przepływ danych, nazywa wzorce i tłumaczy powody decyzji projektowych.
  • 90ctx-explain
    Wyjaśnia kod osobie nowej w projekcie, odpowiadając na pytania typu co ten kod robi.
  • 90understand-explain
    Wyjaśnia szczegółowo wskazany plik, funkcję lub moduł w bazie kodu.
  • 100explain-code
    Wyjaśnia kod na kilku poziomach szczegółowości: cel, analiza linia po linii, diagramy przepływu danych i uzasadnienie projektu, przy wdrażaniu się w obcy kod.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.