/life-kit:clean-arch-domainfrom life-kit
Decides whether a business rule belongs in the domain (entities) or in a use case (interactor) under Clean Architecture. Use when designing or reviewing where logic lives, splitting requirements into code, or running /clean-arch-domain.
Ships in life-kit. 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.
Decide where each business rule lives: domain or use case. Use everything below to do the work or to review it; in a review, name each breach once, with the move that fixes it: the rule moved to its one home, or the dependency turned to point inward. Mark a definition that does not apply as not applicable.
A use case gives the input data (named, not structured), the primary course (the steps when everything goes right), and the exception courses (the steps when something goes wrong). Each step says what the system does, never how: validation criteria are decided later. It names no delivery mechanism or storage. The actor's action that starts it is not a system step. A user story and a use case are the same thing. Keep use cases light: plain text with the input data, primary course and exception courses. A use case is not heavy by nature; the heaviness came from elaborate forms laid on top of it.
An entity is a business object holding application-independent rules, not just data, so many use cases and applications may use it. It is not a copy of one storage table: it typically spans several tables and can carry its own operations.
A use case takes data in, processes it, and puts data out, so it can become an object: the interactor (Jacobson's control object). It carries out the application-specific rules and directs several entities.
Data enters and leaves an interactor through boundaries (abstract interfaces). The interactor implements the input boundary; the delivery mechanism implements the output boundary, so the interactor does not depend on what shows its results.
What SKILL.md sets; muted values are Claude Code's defaults
35 skills in this plugin
/agent-evalsThe agent-eval use case of the testing domain. Use to design, run or review an eval, score or claim for an AI agent, including one that follows a skill or instruction file, to interpret pass@k or judge scores, or on /agent-evals.
/behavior-viewDesign or recover behavior: sequence views of how parts cooperate in a scenario, and a use case's courses read out of code. Use to draw, trace or review an interaction, a call flow, or the paths through code from an entry point, or on /behavior-view. For the static relations between parts use structure-view; for writing the use cases themselves use user-stories.
/black-boxChoose test inputs from the specification, without looking at the implementation: which inputs to test and which combinations of them. Use for equivalence classes, boundary values, input space models, combination criteria (each choice, pairwise, t-wise, base choice), decision tables, random testing and fuzzing, or to review the inputs an existing suite covers, or on /black-box. Not for the pass or fail check itself (test-oracle) or for coverage of the implementation's structure (white-box).
npx claudepluginhub shangyiy/life-kit --plugin life-kitOther plugins' skills for the same job