/pstack:principle-model-the-domainfrom pstack
Encodes domain logic into data structures (state machines, typed models, maps, reducers) instead of scattered conditionals. Use when writing stateful logic or when code branches or repeats shape assumptions across files.
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.
None: SKILL.md is the whole skill.
Encode the real domain in a data structure instead of scattering it across conditionals.
Why: Scattered booleans, repeated shape assumptions, and branching spread across files are accidental complexity. A structure that matches the domain makes invalid states unrepresentable and deletes branches. Choosing it at write time is cheap. Recovering it later reads as a refactor and gets deferred.
Reach for structures like these:
Do not force an abstraction. Prefer boring code if the current shape is already clear, local, and unlikely to grow. Be skeptical of an abstraction that adds indirection without removing branches, duplicated rules, invalid states, or lifecycle risk.
The sign that you skipped this is a new feature that grows an existing if/else chain by one more branch, or a second boolean that must stay in sync with the first. Temporal decomposition is another sign. Phase-named modules repeat the same domain rules across steps.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub raka334/pstack-for-everyone --plugin pstack50 skills in this plugin
/architectSettle types, signatures, and module structure before code crosses a function boundary. Use for `architect`, design-this requests, or non-trivial changes where implementation would lock in the wrong shape./arenaRun parallel agent attempts at the same task, choose a base, graft the strongest ideas from the others, and verify the synthesis. Use when the host supports delegation and the artifact has competing approaches./automate-meCreate or improve a personal work-style skill from preferences and evidence in the current conversation or records the user supplies. Use for automate-me and requests to capture how the user works./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./blast-radiusFind what a change could break somewhere else before it ships, beyond the diff, and prove the one fact it's safe because of by running real code instead of writing it up. Use for 'blast radius of X', 'what could this break', or reviewing a small diff you don't trust./broRestate the last message in plain human language, with no jargon.4 plugins ship this exact skill · first indexed Sep 16, 2026
Other plugins' skills for the same job