# How

Explain how a subsystem works and identify where new code belongs, based on an exploration of the codebase.

**Canonical URL:** https://skillshunter.net/skills/discovered-b353c69b5e3183ec0174bd564b7022deefcc7bbad471cb2a

**JSON URL:** https://skillshunter.net/api/public/v1/skills/discovered-b353c69b5e3183ec0174bd564b7022deefcc7bbad471cb2a

**Markdown URL:** https://skillshunter.net/skills/discovered-b353c69b5e3183ec0174bd564b7022deefcc7bbad471cb2a.md

**Instructions download URL:** https://skillshunter.net/skills/discovered-b353c69b5e3183ec0174bd564b7022deefcc7bbad471cb2a/download

**Category:** Software & Development

**Source URL:** https://github.com/jueyi6/empstack/blob/74181e31d2f00313f8683ba157966efcabbe109e/skills/how/SKILL.md

**Source commit:** 74181e31d2f00313f8683ba157966efcabbe109e

**Listing approved at:** 2026-12-02

**Created at:** 2026-11-30T08:55:45.000000Z

**Updated at:** 2026-12-02T09:15:14.000000Z

## Catalog information

The following descriptions are catalog information. Listing approval does not mean the skill has been tested or is safe for every environment.

### Editor's note

The user must provide a specific question about how a subsystem works. The subagent will explore the codebase and generate an explanation suitable for a senior engineer, without editing any files.

### When to use it

- Explaining the architecture of a subsystem to a new team member
- Identifying where new code should be added within an existing codebase
- Generating documentation for a subsystem's functionality

## Skill instructions

---
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.

