--- name: explain-codebase description: Explain a large file, package, or subsystem end to end using a long-context model. Use when onboarding to unfamiliar code, tracing how a feature works across many files, or reading files over 2000 lines. argument-hint: "" context: fork --- > **Recommended model:** `gpt-5.4`  ·  **Agent mode:** `ask` > > Skills are portable across agent clients, so they carry no Copilot-specific > `model:` field. Set the model via the picker, a custom agent, or the > slot mapping in `.github/model-compatibility.json`. Read all selected files or the active file and produce: ## 1. What this does (2-3 sentences max) Plain language. No jargon. Suitable for a new engineer's first day. ## 2. How it works — key concepts Identify the 3-5 most important concepts a reader needs to understand. For each: name it, explain it in 2-3 sentences, reference the relevant code. ## 3. Data flow / request lifecycle Trace a typical request or operation from entry point to exit. Use numbered steps. Reference actual function/class names. ## 4. Key dependencies What does this code depend on? What depends on it? List only the non-obvious dependencies — skip obvious standard library use. ## 5. Gotchas and non-obvious behaviour What would surprise a senior engineer reading this for the first time? Concurrency concerns, hidden state, surprising error handling, performance cliffs. ## 6. Where to start if I need to change something Point to the 2-3 files a new contributor should read first.