Skip to main content
在 Manus 中运行任何 Skill
一键导入

code-pattern-advisor

星标2
分支1
更新时间2026年3月22日 03:33

Identifies the right software design pattern for a given coding task. Use this skill whenever the user is designing a class, module, system, or architecture and would benefit from a known pattern — or when they're about to misapply one. Triggers include: asking "what pattern should I use", "how should I structure this", "is there a better way to organize this code", refactoring discussions, architecture planning, code review where structural improvements are relevant, or any task involving object creation strategies, decoupling components, managing state, handling errors across boundaries, or coordinating complex workflows. Also trigger when the user is ALREADY using a pattern and you detect they may be misapplying it or overengineering — the skill covers anti-patterns and "when NOT to use" guidance with equal weight. This skill is language-agnostic but accounts for language idioms that replace patterns natively.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
11 个文件
SKILL.md
readonly