explaining-codebases skill
✓ DoğrulandıMimari haritalar, veri akış diyagramları ve açıklamalı kod incelemeleri dahil olmak üzere kod tabanları için etkileşimli anlatımlar oluşturur.
- GitHub yıldızları
- 22
- Dosyalar
- 4
- Son commit
- 26 Eki 2026
- Lisans
- MIT
- İzin verilen araçlar
- —
explaining-codebases skill ne işe yarar?
explaining-codebases bir agent skill'dir. Mimari haritalar, veri akış diyagramları ve açıklamalı kod incelemeleri dahil olmak üzere kod tabanları için etkileşimli anlatımlar oluşturur.
Özet, skill'in SKILL.md dosyasından oluşturuldu.
explaining-codebases skilli hakkında
Yeni katılımcıları sürece dahil etmesi veya karmaşık depoları anlaması gereken geliştiriciler, etkileşimli dokümantasyon oluşturmak için bu SKILL'i kullanabilir. Gerçek kaynak dosyalarını, servisleri veya depoları; mimari haritalar, veri akış diyagramları ve açıklamalı kod incelemeleri içeren kendi kendine yeten etkileşimli anlatımlara dönüştürür. Bir agent, kullanıcı bir mimariyi görselleştirmesini veya bir kod tabanı içindeki belirli bir mekanizmanın nasıl çalıştığını adım adım incelemesini istediğinde bu SKILL'i yüklemelidir.
Süreç; giriş noktalarını, modül yapılarını ve bir özelliğin temel kavramını belirlemek için gerçek kod üzerinde gezintiye dayanır. Öğelerin farklı aşamalardan nasıl geçtiğini gösteren execution-trace steppers ve sequence diagrams gibi yüksek sadakatli çıktılar üretir. Doğruluğu sağlamak için SKILL, alıntılanan her kod parçasının ve işlevsel iddianın belirli bir yol ve satırdaki uygulama ile eşleştiğini doğrulamak amacıyla fact-checking-explainers çalıştırılmasını gerektirir. Nihai HTML şablonlarını, metinleri ve düzenlemeleri işlemek için creating-explainers ile birlikte çalışır.
Bir agent bununla neler yapabilir
- 1Yeni ekip üyelerini sürece dahil etmeYeni bir projede modüllerin ve temel soyutlamaların birbirine nasıl uyum sağladığını gösteren bir mimari genel bakış oluşturun.
- 2Belirli algoritmalara derinlemesine incelemeDurum bilgisi ve vurgulanmış satırlarla tek bir algoritmayı adım adım incelemek için bir execution-trace stepper oluşturun.
- 3Veri hareketini görselleştirmeBir isteğin veya mesajın bir sistemin çeşitli aşamalarından nasıl geçtiğini göstermek için bir sequence diagram üretin.
- 4Kod dokümantasyonu doğruluğunu doğrulamaBir anlatımdaki tüm kod parçacıklarının ve işlevsel iddiaların mevcut uygulama ile eşleştiğinden emin olun.
Skill'in SKILL.md dosyasından yazılmıştır. Her kullanım durumu oradaki bir alıntı ile kontrol edilir.
explaining-codebases skill nasıl kurulur
Her komut, skill klasörünü istemcinin skills dizinine kopyalar. Yüklemek için istemciyi yeniden başlatın veya yeni bir oturum başlatın.explaining-codebases skill'ini Eklenti uygulamasına kur
/plugin marketplace add analyticalmonk/explain-this /plugin install explain-this@explain-this
explaining-codebases skill'ini Claude Code uygulamasına kur
~/.claude/skills/explaining-codebases/SKILL.md
$ npx degit analyticalmonk/explain-this/skills/explaining-codebases ~/.claude/skills/explaining-codebasesexplaining-codebases skill'ini Claude Code (project) uygulamasına kur
.claude/skills/explaining-codebases/SKILL.md
$ npx degit analyticalmonk/explain-this/skills/explaining-codebases .claude/skills/explaining-codebasesexplaining-codebases skill'ini Codex uygulamasına kur
~/.agents/skills/explaining-codebases/SKILL.md
$ npx degit analyticalmonk/explain-this/skills/explaining-codebases ~/.agents/skills/explaining-codebasesexplaining-codebases skill'ini Gemini CLI uygulamasına kur
~/.gemini/skills/explaining-codebases/SKILL.md
$ npx degit analyticalmonk/explain-this/skills/explaining-codebases ~/.gemini/skills/explaining-codebasesexplaining-codebases skill'ini Claude.ai uygulamasına kur
npx degit analyticalmonk/explain-this/skills/explaining-codebases explaining-codebases && zip -r explaining-codebases.zip explaining-codebases # claude.ai → Customize → Skills → + → Create skill → Upload a skill → explaining-codebases.zip
Otomatik kontroller
Çalıştırıldı 15 Kas 2026Tam rapor →Otomatik kontrollerimizi geçti. Bu bir güvenlik denetimi değil: bir ajanın çalıştırmasına izin vermeden önce betikleri okuyun. Kontroller nasıl çalışır
- Kaynak deposu bağlantılı ve erişilebiliranalyticalmonk/explain-this/skills/explaining-codebases is public and reachablegithub.com/analyticalmonk/explain-this/tree/HEAD/skills/expl ↗Geçti
- Açık kaynak lisansı (OSI)MITspdx.org/licenses/MIT.html ↗Geçti
- Son bir yıl içinde commit veya sürüm mevcutLast commit 2026-10-26github.com/analyticalmonk/explain-this/commits ↗Geçti
- Betiklerde indir-çalıştır veya kimlik bilgisi hırsızlığı yokNo scripts in the skill folderGeçti
- SKILL.md içinde gizli talimat yokNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/analyticalmonk/explain-this/blob/HEAD/skills/expl ↗Geçti
- Önceden izin verilen araçlar sınırlıNo pre-approved tools; the agent asks before using onegithub.com/analyticalmonk/explain-this/blob/HEAD/skills/expl ↗Geçti
- SKILL.md, Agent Skills biçimine uyuyorValid name and description; says when to use it; 69 linesgithub.com/analyticalmonk/explain-this/blob/HEAD/skills/expl ↗Geçti
SKILL.md
GitHub'da görüntüleExplaining Codebases
Overview
This skill explains code as it actually exists - a repository, a service, or a set of source files. The output is the same distill-style, single self-contained interactive explainer that creating-explainers produces. What differs is the intake (navigating real code instead of reading a paper) and the figure types (architecture diagrams, data-flow, execution traces, annotated code walkthroughs). It handles both onboarding overviews of a whole codebase and deep-dives on one mechanism.
Required Background
REQUIRED: Use creating-explainers for everything about the output - the HTML template, voice and style, base figure archetypes, color palettes, the outline/scaffold/prose/polish workflow, and the quality checklist. This skill only adds what is specific to code. Do not duplicate that material here.
When to Use
Use when the subject is code:
- Architecture / onboarding overview - how a project is structured: its modules, how data flows between them, the key abstractions, how the pieces fit. For a new contributor who needs the map.
- Single-mechanism deep-dive - how one algorithm, feature, or subsystem works, traced through the real implementation.
The skill picks the angle from the request and confirms it with the user during intake (overview and deep-dive want different figures and different depth).
When NOT to use: a paper, a topic, or any non-code source. Use creating-explainers instead.
Code Intake
See references/code-intake.md. In short: pick the angle, navigate the repository to find entry points and module structure, identify the spine concept (the one path or idea the article tracks), map the architecture, and pull real code snippets anchored to path:line. Quote actual code; never paraphrase code as if quoting it.
Code-Specific Figures
See references/code-figure-archetypes.md for the patterns:
- Architecture / module diagram - modules as boxes, dependencies as arrows
- Data-flow / sequence diagram - an item (request, message, token) moving through stages
- Execution-trace stepper - step through an algorithm with state and the current line highlighted
- Annotated code walkthrough - a code block whose lines reveal annotations as you step or hover
The mechanics (DPR-aware initCanvas, the IIFE pattern, animation loops) come from the base figure-archetypes.md in creating-explainers. The code-figure reference only covers how to apply them to code.
The Fact-Check Gate for Code
REQUIRED before delivery: run fact-checking-explainers. For a codebase explainer the source of truth is the code itself. Every claim about what the code does, and every quoted snippet, is checked against the actual implementation at a specific path and line. Code drifts; a snippet that was accurate yesterday may be wrong today. The interactive explainer is not done until it passes.
Workflow
Same staged workflow as creating-explainers, with code intake in place of the text intakes:
1. Code intake -> navigate, pick angle, find the spine, map architecture, pull real snippets
2. Outline -> propose sections + figure list, get user approval
3. Scaffold -> copy the article template, fill metadata
4. Prose pass -> write all sections with figure placeholders
5. Figures pass -> implement each interactive figure
6. Post-draft fact-check -> verify every claim and snippet against the real code (REQUIRED, blocking)
7. Polish -> run the creating-explainers Quality Checklist to completion
Pause for user approval after the outline. Everything about scaffolding, prose, figures, polish, and the delivery checklist follows creating-explainers.
Common Mistakes
| Mistake | Fix |
|---|---|
| Explaining code that does not exist, or that you imagined | Open the files. Every claim traces to real code at a real path. |
| Snippets drift from the real source | Quote exactly, with path:line. Never tidy code into something the repo does not contain. |
| Architecture diagram does not match the real module structure | Build the diagram from the actual imports and call sites, not a guess. |
| Scope too broad (a whole framework in one article) | Pick one subsystem or one mechanism. Breadth dilutes; depth teaches. |
| Pasting a huge file as a "figure" | Figures illustrate a point the prose just set up. Trim to the lines that matter. |
Bu becerideki dosyalar
4explaining-codebases skill soruları
explaining-codebases skill'ini Claude Code uygulamasına nasıl kurarım?
npx degit analyticalmonk/explain-this/skills/explaining-codebases ~/.claude/skills/explaining-codebases komutunu çalıştırın. Claude Code, skill'leri ~/.claude/skills (tüm projeler) veya .claude/skills (tek proje) konumundan yükler ve açıklaması görevle eşleştiğinde skill'i kullanır.
explaining-codebases skill'ini hangi istemciler kullanabilir?
Agent Skills biçimini okuyan her istemci: Claude Code, Codex, Gemini CLI ve claude.ai (ZIP olarak yükleyin). Skill içindeki betikler yalnızca istemcinin kod çalıştırmaya izin verdiği yerlerde çalışır.
SKILL kod açıklamalarının doğruluğunu nasıl sağlar?
SKILL, her iddianın ve kod parçacığının belirli bir yol ve satırdaki gerçek uygulama ile doğrulandığı zorunlu bir doğruluk kontrolü adımı gerektirir.
Bu SKILL'i ne zaman kullanmamalıyım?
Bu SKILL'i makaleler, genel konular veya kod dışı kaynaklar için kullanmayın; bunun yerine creating-explainers SKILL'ini kullanın.