/pstack-herdr:principle-subtract-before-you-addfrom pstack-herdr
Apply when sequencing an addition, refactor, or rewrite. Remove dead weight, redundant validators, and stub references first, then build on the simpler base.
Ships in pstack-herdr. 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.
When evolving a system, remove complexity first, then build. Deletion gives you a simpler base, which makes the next addition smaller and less brittle.
Why: Adding to a complex system compounds complexity. Removing first cuts the surface area, reveals the essential structure, and usually makes the next design obvious. Default to subtraction.
The pattern:
What SKILL.md sets; muted values are Claude Code's defaults
31 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./arena让不同家族的模型(Claude / OpenAI / Google)在 Herdr 里各自独立出一份方案,由当前会话主持:交叉评审、挑底稿、嫁接其他方案的长处,交给用户拍板。只用于方案类问题:架构、设计、技术选型。用于 /arena、'arena this'、'丢进 arena',以及其他 skill(如 architect)要求运行 arena 时。不写代码。要求 HC_TERMINAL_ID 已设置。/figure-it-outDesign an auditable playbook when no narrower one fits: a large migration, an ambitious multi-part change, or work a human reviews after stepping away. Scales rigor to the task, runs a hypothesis loop, and logs decisions via show-me-your-work. Use for /figure-it-out, 'figure it out', a large migration, or when no narrower playbook applies./herdr-parallel-tasks在 Herdr 里把几件独立的事分派给 agent 并行完成:一件事一个 agent 从头做到尾;同时有不止一个 agent 写代码时,每个各开一个 worktree。用于用户要求「这几件事并行做」「派几个 agent 分别去做」。要求 HC_TERMINAL_ID 已设置;否则停下来说明。/howUse 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./interrogate在 Herdr 里让三家模型评审一份代码改动:Codex 找问题,Gemini 筛掉 Codex 过度防御的部分,Claude 看架构;当前会话汇总给用户。用于 /interrogate、'interrogate'、'对抗评审'、'多模型评审'、'挑挑毛病'。不自动改代码。要求 HC_TERMINAL_ID 已设置。npx claudepluginhub dengnaichen/pstack-herdr --plugin pstack-herdrOther plugins' skills for the same job