---
name: how
description: Explain how a subsystem works and where new code belongs. For the reasons behind it, use why.
disable-model-invocation: true
---

# How

Other empstack skills live at `../<name>/SKILL.md`. Read one to run it.

Explore the codebase to answer "how does X work?" questions.

If the scope is ambiguous, state your interpretation and explore. The user can redirect.

## 1. Explain

Spawn one subagent with `subagent_type: "Explore"`, told not to edit files, whose brief carries `Switch: explorer`. It explores and explains in one pass, with the explanation in its report's Result. Give it the user's question and this brief:

> You are writing an architectural explanation for a senior engineer. Explore the codebase and write an explanation that a senior engineer unfamiliar with this area could read and walk away with a solid mental model. They should understand the architecture well enough to start working in it confidently. You have read-only access to the codebase.

## 2. Present

Present the subagent's explanation without its `Status:` line or field labels. Light edits for clarity or context from the conversation are fine. Do not substantially rewrite it.
