一键导入
apply-design-patterns
Consult the design pattern catalog before implementing or refactoring code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Consult the design pattern catalog before implementing or refactoring code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guidelines for watching CI builds and diagnosing failures. Claude should use this skill when watching a CI build or investigating why a CI build failed.
Structural CRUD and reordering operations on plan files via the `i2code plan` CLI — insert/replace/delete/reorder threads and tasks, mark tasks/steps complete or incomplete, fix numbering, and query plan structure (get-next-task, get-thread, get-summary, list-threads). Claude MUST use this skill (not raw file edits) for any change to a plan file's threads, tasks, or steps, and for reading plan structure programmatically.
When running test scripts or long-running commands that produce verbose output, redirect output to a log file under logs/ to avoid truncation in the Bash tool. Claude should use this skill when running test scripts, end-to-end tests, or any command likely to produce large output. NOTE: This skill does not apply to Gradle because test output is written to TEST*.xml files.
a definition of tests and testing in a Java project using Gradle and JUnit 5. Advice on using Gradle to run tests.
When stuck on a problem, formulate a well-structured question and copy it to the clipboard for pasting into ChatGPT. Claude should use this skill when debugging efforts stall or when an outside perspective would help.
Provides a pre-commit checklist and commit message formatting standards for this project. Claude should use this skill when creating git commits to ensure messages follow project conventions, including proper co-authorship attribution and concise formatting.
| name | apply-design-patterns |
| description | Consult the design pattern catalog before implementing or refactoring code. |
Before implementing or refactoring, consult the design pattern catalog to see if an established pattern applies.
design-pattern-catalog/index.md lists all documented patterns with a short description of the problem each one solves.IMPORTANT: design pattern catalog is a project subdirectory. NOT part of this skill. If it doesn't exist, just skip it.
Check for a matching pattern — if the task involves a problem described in the index, read the full pattern entry.
Follow the pattern — use the reference implementation and testing strategies documented in the entry. Do not invent a new approach when a cataloged pattern exists.
If no pattern matches — proceed normally. Not every task needs a cataloged pattern.