Install any skill in seconds. Free to start, no credit card required.
Get Started Free →wasabeef/建议设计模式并评估-solid-原则
建议设计模式并评估 SOLID 原则。「建议设计模式」「可以用什么模式?」「检查 SOLID 原则」「检测反模式」等触发。
Passed 15 of 22 test cases with the skill, and 12 of 22 without it.
and 1 more in the full report
3 fixed12 passed either way7 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
We need to run an automated scan against `src/controllers/` to identify common code smells like God Objects or Magic Numbers. Which flag should be passed?
| Checked | Without skill | With skill |
|---|---|---|
| Recommends using the --anti-patterns flag | Missed | Passed |
| Lists detected anti-patterns such as God Object or Magic Numbers | Missed | Passed |
The instructions your model reads when the skill loads.
提出可应用于代码库的设计模式,评估 SOLID 原则的遵守情况。
/design-patterns [分析对象] [选项]
--suggest : 提出可应用的模式 (默认)--analyze : 分析现有模式的使用情况--refactor : 生成重构方案--solid : 检查 SOLID 原则的遵守情况--anti-patterns : 检测反模式# 整个项目的模式分析
/design-patterns
# 对特定文件提出模式建议
/design-patterns src/services/user.js --suggest
# SOLID 原则检查
/design-patterns --solid
# 反模式检测
/design-patterns --anti-patterns
test cases passed, vs 12 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.