← fstackCONTENT HISTORYWHAT CHANGED · RULE-BASED ANALYSIS
Update to fstack
Snapshot Sep 30, 2026 · 23:16 UTC · version 1.1.2
Collection source: not recorded for this historical snapshot.
First saved snapshot
No earlier snapshot is available to establish a change.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"description": "Use for \"how does X work\", code walkthroughs before changing something, and placement / ownership / layering questions (\"where should this live\", \"which package owns this\", \"is this the right layer\"). Explains subsystem architecture, runtime flow, onboarding mental models. Can critique architecture. Use why for motivation.",
"included_files": [
{
"relative_path": "references/critic-prompt.md",
"size_in_bytes": 2345
},
{
"relative_path": "references/critique-rubric.md",
"size_in_bytes": 2935
},
{
"relative_path": "references/explainer-prompt.md",
"size_in_bytes": 3176
},
{
"relative_path": "references/explorer-prompt.md",
"size_in_bytes": 2745
}
],
"name": "how",
"skill_md_contents": "---\r\nname: how\r\ndescription: \"Use for \\\"how does X work\\\", code walkthroughs before changing something, and placement / ownership / layering questions (\\\"where should this live\\\", \\\"which package owns this\\\", \\\"is this the right layer\\\"). Explains subsystem architecture, runtime flow, onboarding mental models. Can critique architecture. Use why for motivation.\"\r\nmenu-description: walk through how a subsystem works\r\n---\r\n\r\n# How\r\n\r\nExplore the codebase to answer \"how does X work?\" questions. Produce clear architectural explanations at the level of a senior engineer onboarding onto a subsystem. Enough to build a working mental model, not annotated source code.\r\n\r\n**Platform note.** On Codex, the Claude tool names and `claude-*` slugs named below are Claude defaults. Resolve them via [`codex-tools.md`](../engineer-mode/references/codex-tools.md).\r\n\r\nTwo modes:\r\n\r\n1. **Explain** (default). Explore the codebase and produce a clear explanation\r\n2. **Critique.** Explain first, then spawn multiple models to independently identify architectural issues\r\n\r\n## Explain Mode\r\n\r\n### Step 1. Understand the Question and Assess Complexity\r\n\r\nParse what the user is asking about:\r\n\r\n- \"How does the rate limiter work?\", a subsystem\r\n- \"How do we handle billing for on-demand usage?\", a feature flow\r\n- \"How is the auth service structured?\", an architectural overview\r\n- \"Walk me through what happens when a user submits a form\", a runtime trace\r\n\r\nIdentify the scope. If ambiguous, state your best-guess interpretation before exploring. Don't ask. Let the user redirect if you're off.\r\n\r\n**Assess complexity to decide the approach:**\r\n\r\n- **Simple** (a single module, a small utility, a narrow question like \"how does function X work\"): skip explorer agents; the explainer explores and explains in a single pass. Go to Step 2b.\r\n- **Complex** (a subsystem spanning multiple files/services, a cross-cutting feature, a full architectural overview): spawn parallel explorer agents first, then hand off to the explainer. Go to Step 2a.\r\n\r\nWhen in doubt, lean simple. You can always spawn explorers if the explainer hits a wall.\r\n\r\n### Step 2a. Explore (complex questions only)\r\n\r\nDecompose the question into 2-4 parallel exploration angles, each a distinct slice of the subsystem so explorers don't duplicate work. Example split for \"how does the rate limiter work?\":\r\n\r\n- Explorer 1: data model and state management\r\n- Explorer 2: request path and enforcement\r\n- Explorer 3: configuration and metrics infrastructure\r\n\r\nThe right decomposition depends on the question. Use your judgment. Narrow questions: 2 explorers is fine. Broad subsystems: up to 4.\r\n\r\nSpawn all explorers in a single message:\r\n\r\n- `subagent_type`: `general-purpose`\r\n- `model`: your configured how-explorer model (default in [Models](#models))\r\n- `readonly`: `true`\r\n\r\nEach explorer gets the same base prompt from `references/explorer-prompt.md` plus a specific exploration angle naming its slice. Each explorer should:\r\n- Start broad: Glob for relevant directories, Grep for key types/interfaces/class names\r\n- Follow the thread: from an entry point, trace the call chain (callers, callees, data flow, type definitions)\r\n- Read the actual code, don't guess from file names\r\n- Stop when it can describe the full path from input to output (or trigger to effect) without hand-waving any step\r\n- Note things that are surprising, non-obvious, or that a newcomer would get wrong\r\n\r\nEach explorer returns structured findings: components found, flow traced, files read, anything non-obvious. Overlap between explorers is fine; the explainer reconciles.\r\n\r\nThen proceed to Step 3.\r\n\r\n### Step 2b. Direct Explain (simple questions)\r\n\r\nSpawn a single Task subagent that explores and explains in one pass:\r\n\r\n- `subagent_type`: `general-purpose`\r\n- `model`: your configured how-explainer model (default in [Models](#models))\r\n- `readonly`: `true`\r\n\r\nThe agent does its own exploration (Glob, Grep, Read) and writes the explanation directly. Read `references/explainer-prompt.md` for the communication style and output format. Same structure, just no explorer findings as input.\r\n\r\nProceed to Step 4.\r\n\r\n### Step 3. Synthesize (complex questions only)\r\n\r\nOnce all explorers return, spawn a single Task subagent to synthesize their findings into one coherent explanation:\r\n\r\n- `subagent_type`: `general-purpose`\r\n- `model`: your configured how-explainer model (default in [Models](#models))\r\n- `readonly`: `true`\r\n\r\nThe explainer gets all explorers' findings and writes the human-facing explanation (output format below). Read `references/explainer-prompt.md` for the full prompt template. The explainer reconciles overlapping findings, resolves contradictions, and weaves the slices into a unified picture.\r\n\r\n### Step 4. Present\r\n\r\nPresent the explainer's output to the user. You may lightly edit for clarity or add context from the conversation, but don't substantially rewrite. The explainer's communication is the product.\r\n\r\n### Output Format\r\n\r\nFollow this structure, adapted to the question. Not every section is needed for every question.\r\n\r\n**Overview.** 1-2 paragraphs. What it is, what it does, why it exists. Enough to decide whether to keep reading.\r\n\r\n**Key Concepts.** The important types, services, or abstractions. Brief definition of each. Not exhaustive, just the ones needed to understand the rest.\r\n\r\n**How It Works.** The core of the explanation. Walk through the flow: what triggers it, what happens step by step, where data goes, the decision points. Prose, not pseudocode. Reference specific files and functions so the reader can go look, but don't dump code blocks unless a snippet is genuinely necessary.\r\n\r\n**Where Things Live.** A brief map of the relevant files/directories. Not every file, just the ones needed to start working in this area.\r\n\r\n**Gotchas.** Non-obvious or surprising things that would trip someone up. Historical context that explains why something looks weird. Known sharp edges.\r\n\r\n## Critique Mode\r\n\r\nTriggered when the user asks for architectural issues, problems, or improvements, not just understanding.\r\n\r\n### Step 1. Explain First\r\n\r\nRun the full explain flow above (Steps 1-4). You must understand the architecture before critiquing it.\r\n\r\n### Step 2. Spawn Critics\r\n\r\nAfter the explanation is complete, spawn one architectural critic per model in your configured how-critics list (defaults in [Models](#models)), all in a single message.\r\n\r\nFor each critic:\r\n- `subagent_type`: `general-purpose`\r\n- `model`: one model from the configured how-critics list. These are minimum reasoning levels. The lead should escalate any model when the architecture warrants deeper analysis.\r\n- `readonly`: `true`\r\n\r\nRead `references/critic-prompt.md` for the prompt template. Each critic gets:\r\n1. The explanation from Step 1 (so they don't re-explore)\r\n2. The relevant file paths (so they can read the actual code)\r\n3. The architectural critique rubric from `references/critique-rubric.md`\r\n\r\n### Step 3. Lead Judgment\r\n\r\nSame framework as the interrogate skill. You're a pragmatic lead, not an aggregator.\r\n\r\nCategorize findings:\r\n- **Act on.** Architectural problems worth fixing now\r\n- **Consider.** Real concerns, but the cost/benefit is unclear\r\n- **Noted.** Valid observations, low priority\r\n- **Dismissed.** Wrong, missing context, or style preference\r\n\r\nPresent the explanation first (from Step 1), then the critique verdict below it. The explanation should stand on its own; someone who just wants to understand the system shouldn't wade through critique.\r\n\r\n## Models\r\n\r\nRole defaults live in repo-root `models.json`. `/setup-fstack` writes a per-harness override sheet that wins at runtime.\r\n\r\n- how explorer: `claude-opus-5`\r\n- how explainer: `claude-opus-5`\r\n- how critics: `claude-opus-5`, `claude-fable-5`, `claude-sonnet-5`\r\n"
}SHA-256 of public snapshot: 8dcea0820eb3c1647af3088e12504856161d687889923cea72455b0e7c33ddbc