From mas-design
Design evaluation plugins following 12-Factor + MAESTRO principles
How this skill is triggered — by the user, by Claude, or both
Slash command
/mas-design:designing-mas-pluginsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Target**: $ARGUMENTS
Target: $ARGUMENTS
Trigger this skill when:
Plugins follow six principles. For worked code examples of each, see
references/core-principles-with-examples.md.
evaluate(context) -> result as a pure function; no side effects, no shared stateBefore implementing a plugin, verify:
evaluate() parameterself.cache = {} (breaks stateless)return {"score": 0.5} (use models)raise ValueError() (return error)config.get_global() (use settings)See references/plugin-implementation-template.md for the full EvaluatorPlugin abstract base class and a worked MyPlugin example with typed context/result models, error handling, and next-tier context filtering.
See references/plugin-testing-strategy.md for isolation test patterns — happy path and structured-error-handling tests using mocked context.
references/mas-design-principles.md — foundational design principles (existing)references/core-principles-with-examples.md — code examples for each of the six core principlesreferences/plugin-implementation-template.md — full EvaluatorPlugin + MyPlugin templatereferences/plugin-testing-strategy.md — isolation test patternsProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.
npx claudepluginhub qte77/claude-code-plugins --plugin mas-design