/pstack:howfrom pstack
Explains how a subsystem works, traces runtime flows, or determines code ownership before making changes. Uses subagents to explore and synthesize architectural explanations.
Ships in pstack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Explore the codebase to answer "how does X work?" questions. Produce architectural explanations at the level of a senior engineer onboarding onto a subsystem, enough to build a working mental model, not so much that it reads like annotated source code. Use why when the user wants historical motivation.
Every spawn is a read-only subagent that inherits the parent model. When the host supports model selection, a fast model suits explorers and a judgment-focused model suits the explainer. Pick each subagent's reasoning level for the job, per the Subagents section of the poteto-mode skill. If subagents are unavailable or forbidden, do each step inline in the same order.
If the scope is ambiguous, state your interpretation and explore. The user can redirect.
references/explainer-prompt.md without the explorer-findings section. Go to step 4.When in doubt, take the simple path.
Decompose the question into 2 to 4 angles, each a distinct, non-overlapping slice of the subsystem. Start all explorers concurrently, each with references/explorer-prompt.md and its angle filled in.
Once all explorers have returned, spawn one explainer with references/explainer-prompt.md and every explorer's findings filled in.
Present the explainer's output. Light edits for clarity or context from the conversation are fine. Do not substantially rewrite it.
The explanation uses the sections defined in references/explainer-prompt.md, dropping any that do not apply: Overview, Key Concepts, How It Works, Where Things Live, Gotchas.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
code-exploration, architecture, onboarding, subsystem-analysis
npx claudepluginhub painhardcore/pstack --plugin pstack53 skills in this plugin
/architectSketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use for /architect, 'architect this', 'design this', or non-trivial work where jumping to code would lock in the wrong shape./arenaSpawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for /arena, 'arena this', 'throw it in the arena', or when one attempt at a non-trivial artifact would lock in the wrong shape./benchmark-checklistVet a perf measurement (limiter, tuning, limits, errors, repeatability, relevance, and whether the work happened) before you report or act on it. Use when you run a benchmark or report a speedup or regression you measured.Other plugins' skills for the same job