how
Skill128 starsChanged 2 days agoMITView on GitHub
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. Use why for motivation.
Files
How
Explore the codebase to explain architecture, subsystem mechanics, and runtime flow. Deliver clear mental models at the level of an onboarding senior engineer.
Step 1. Understand the Question and Assess Complexity
Identify target scope from the request (subsystem, feature flow, architectural overview, or runtime trace). State your interpretation if ambiguous.
Classify complexity:
- Simple (single module, utility, or narrow function): Explainer explores and explains directly in one pass. Skip explorers; go to Step 2b.
- Complex (cross-cutting subsystem, multi-package flow, full architecture): Spawn parallel explorer agents first. Go to Step 2a.
Step 2a. Explore (complex questions)
Decompose the subsystem into 2-4 distinct exploration slices (e.g. data model/state, request path/enforcement, configuration/metrics).
Spawn all explorers concurrently in a single invoke_subagent call:
TypeName:researchRole:Subsystem Explorer (<slice>)Model: configured how-explorer model (defaultflash)Workspace:inherit
Each explorer receives references/explorer-prompt.md and its assigned slice. Explorers trace call chains, data flow, types, and non-obvious behaviors, returning structured findings. Proceed to Step 3.
Step 2b. Direct Explain (simple questions)
Spawn a single subagent via invoke_subagent:
TypeName:researchRole:Architecture ExplainerModel: configured how-explainer model (defaultpro)Workspace:inherit
The agent explores code directly and writes the explanation per references/explainer-prompt.md. Proceed to Step 4.
Step 3. Synthesize (complex questions)
Once all explorers return, spawn a synthesizer via invoke_subagent:
TypeName:self(orpoteto-agent)Role:Architecture SynthesizerModel: configured how-explainer model (defaultpro)Workspace:inherit
The synthesizer reconciles findings, resolves contradictions, and weaves slices into a unified explanation per references/explainer-prompt.md.
Step 4. Present
For complex subsystems, write the full explanation to <appDataDir>/brain/<conversation-id>/architecture_explanation.md (or <subsystem>_architecture.md) with ArtifactMetadata: { Summary: "...", UserFacing: true, RequestFeedback: false }. Present an executive summary in chat and link to the artifact. For simple questions, present directly in chat.
Output Format
- Overview. Purpose, scope, and why it exists.
- Key Concepts. Core types, abstractions, and services.
- How It Works. Step-by-step runtime flow, data flow, decision branches, and file/symbol references.
- Where Things Live. Concise directory and file map.
- Gotchas. Edge cases, non-obvious constraints, and known hazards.
Other versions76 projects use a version of this.
Word for word · 0
None found.
Edited · 28
- uzairansaruzi/p3-stack★ 12612% same
- Dimon94/dverity★ 10714% same
- Dimon94/skills★ 10714% same
- danjdewhurst/dotclaude★ 614% same
- adjohn/pstack★ 412% same
- alexnthnz/keel★ 410% same
- anis-dr/skills★ 315% same
- lucasheriques/pstack★ 313% same
- dhanji4U/skills★ 211% same
- EvanBatten/pstack-for-cc★ 215% same
18 more not listed
Wrote their own version · 48
- backnotprop/pstack★ 2.7ksame name
- poteto/how★ 878same name
- dsebban/skills★ 71same name
- roerohan/skills★ 29same name
- overextended/skills★ 18same name
- Scino/fstack★ 18same name
- kkgogogo17/pi-pstack★ 9same name
- mariusflorescu/pstack-t3★ 9same name
- creedants/pstack-t3★ 8same name
- sirius-cc-wu/sirius-skills★ 5same name
38 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use poteto-help, make-bot-ui and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ianclearySkillpoteto-help
Guides users through pstack setup, /poteto-mode, and picking the skill, playbook, or principle for a task. Type /poteto-help with a question.
Also in 9 projects that use this
Xia-AtaraxiaSkillmake-bot-ui
Builds a small web page whose buttons wake an agent over a webhook: a local server keeps the sender key server-side and POSTs JSON to a webhook-triggered routine, and the page is exposed on the existing Tailscale node. Use for \"make a bot UI\", \"a dashboard with buttons that trigger the agent\", \"wake the bot from a page\", handing a webhook sender key to the server without pasting it in chat, or putting that UI on the tailnet. Not for general frontend work - use principle-frontend; not for tailnet health or reachability - use tailscale.
Also in 17 projects that use this
bnemaSkillsetup-pstack
Configure which Pi models pstack uses per role. Detects available provider/model specs and writes pstack's user configuration. Use for /setup-pstack, "configure pstack models", or changing pstack model choices.
Also in 23 projects that use this
fullerzzSkillmaintain-formal-verification-skill
Refresh a project's formal checks after covered code changes, distinguish verification drift from product bugs, and retain per-check coverage checkpoints. Use explicitly for /maintain-formal-verification-skill or auditing whether a model still describes the code.
Also in 3 projects that use this
In this repository57 other files it gives its agents.
- rules/AGENTS.mdAGENTS.md
- agystackSkill
- architectSkill
- arenaSkill
- automate-meSkill
- benchmark-checklistSkill
- blast-radiusSkill
- broSkill
- correctSkill
- create-formal-verification-skillSkill
- create-verification-skillSkill
- deslopSkill
- figure-it-outSkill
- interrogateSkill
- in-your-own-wordsSkill
- ketchupSkill
- loopSkill
- maintain-verification-skillSkill
- no-commentsSkill
- poteto-modeSkill
- principle-attack-the-premiseSkill
- principle-boundary-disciplineSkill
- principle-build-the-leverSkill
- principle-encode-lessons-in-structureSkill
- principle-exhaust-the-design-spaceSkill
- principle-experience-firstSkill
- principle-explain-the-numberSkill
- principle-fix-root-causesSkill
- principle-foundational-thinkingSkill
- principle-guard-the-context-windowSkill
- principle-laziness-protocolSkill
- principle-make-operations-idempotentSkill
- principle-migrate-callers-then-delete-legacy-apisSkill
- principle-minimize-reader-loadSkill
- principle-model-the-domainSkill
- principle-never-block-on-the-humanSkill
- principle-outcome-oriented-executionSkill
- principle-prove-it-worksSkill
- principle-redesign-from-first-principlesSkill
- principle-separate-before-serializing-shared-stateSkill
- principle-sequence-verifiable-unitsSkill
- principle-subtract-before-you-addSkill
- principle-test-behavior-not-implementationSkill
- principle-type-system-disciplineSkill
- recallSkill
- reflectSkill
- setup-agystackSkill
- sharpenSkill
- show-me-your-workSkill
- statechartSkill
- swarmSkill
- tddSkill
- teachSkill
- technical-writingSkill
- typescript-best-practicesSkill
- unslopSkill
- whySkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

