Explaining Architecture
ASecurityExplains how a subsystem, feature flow, or runtime path works (architecture, data flow, file map, gotchas), with an optional critique by fresh-context critics. Read-only. Use when the user says "how does this work?", or when asked how a subsystem or flow works, how a request, event, or piece of data travels through the code, which files to start in, or where logic belongs. Not for why code is shaped as it is; use investigating-design-rationale. Not for explaining a PR or diff; use explaining-...
- 3 stars
- 0 votes
- 0 copies
- 2 views
- Added October 21, 2026
Security analysis
100/100Pro scans all 4 files and shows the line behind each finding
npx -y skills add bostonaholic/skills --skill explaining-architecture --agent claude-codeAre you the author of Explaining Architecture?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/bostonaholic-explaining-architecture)---
name: explaining-architecture
description: Explains how a subsystem, feature flow, or runtime path works (architecture, data flow, file map, gotchas), with an optional critique by fresh-context critics. Read-only. Use when the user says "how does this work?", or when asked how a subsystem or flow works, how a request, event, or piece of data travels through the code, which files to start in, or where logic belongs. Not for why code is shaped as it is; use investigating-design-rationale. Not for explaining a PR or diff; use explaining-code.
effort: medium
argument-hint: "[<subsystem, feature, or question>]"
---
# Explaining architecture
Answer "how does X work?" with the mental model a senior engineer needs to
start working in an unfamiliar subsystem: its architecture, flow, and sharp
edges, not annotated source code.
When the question is about motivation, rejected alternatives, or history
rather than mechanics, call the Skill tool with
`investigating-design-rationale` instead. If that skill is not installed, say
so and answer the mechanics only. Without a Skill tool, follow the
[skill call rules](shared/skill-calls.md).
The skill is read-only: it writes no files and changes no state. Describe what the code does, not what its docs claim, and report any disagreement per the [docs and code rules](shared/docs-vs-code.md).
## Input
The request names a subsystem, a feature flow, or a placement question ("where
should this validation live"). When it names none or is vague, infer the target
from conversation context and state your interpretation in one line before
exploring. Do not ask first.
## Explain
Read the implementation; never infer behavior from file or function names.
Trace each flow from trigger to effect. Where you cannot trace a link, say so
instead of inventing it. Claims about code carry `file:line`, and a flow step
names the function that runs it.
Adapt the answer to the question; use only the sections it needs, headed
word for word as named here:
- **Overview**: what it is, what it does, why it exists, in a paragraph or
two.
- **Key Concepts**: the abstractions needed to follow the rest.
- **How It Works**: trigger, steps, data movement, decision points, in prose.
Add a mermaid diagram only when the flow crosses several components.
- **Where Things Live**: the file map someone needs to start, not every file.
- **Gotchas**: surprising behavior, historical residue, sharp edges.
When something is complex, explain why. Leave out how you explored,
background the question did not raise, and restatement.
## Critique
Run only when the request asks for problems, issues, or improvements. Finish
the explanation first, then follow [critique mode](references/critique-mode.md).
Files in this skill
- SKILL.md
- agents/openai.yaml
- references/critique-mode.md
- shared/skill-calls.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.