Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Suggests applicable design patterns for a codebase, evaluates SOLID principle adherence, and detects anti-patterns.
Use this skill ↓55% 86%+32 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 12 of 22 without it.
In `src/payments/processor.js`, adding a new payment gateway requires modifying existing `if/else` logic inside `processPayment()`. Which letter tag represents this open/closed principle violation in the report?
Tags the violation with single-letter indicator [O].
3 of 3 safety checks passed
提出可應用于代碼庫的設計模式,評估 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
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.