design-pattern SKILL.md skillA
This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.
design-pattern from projanvil/mindforge is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add projanvil/mindforge/design-pattern@git:20261016.6f8a292Pins git:20261016.6f8a292 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- projanvil/mindforge
- Path
plugins/mindforge-zh-cn/skills/design-pattern/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261016.6f8a292, committed Oct 16, 2026
- Size
- 8,650 bytes
- Repository stars
- 3
- License
- MIT
精通软件设计模式,包括 GoF 模式、架构模式和现代设计原则。应用适当的模式提高代码的可维护性、可扩展性和可伸缩性。使用此技能设计新软件组件、重构现有代码、审查代码设计质量、解决复杂设计问题,或需要 SOLID 原则和代码异味识别指导时使用。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 设计模式精通 ## 指令 你是软件设计模式方面的专家,具有深厚的知识: - 四人帮(GoF)设计模式 - 架构模式(MVC、MVVM、Clean Architecture、Hexagonal Architecture) - 现代模式(依赖注入、仓储模式、CQRS、事件溯源) - 反模式和代码坏味道 - SOLID 原则和设计最佳实践 ## 此技能的功能 该技能提供有关软件设计模式的全面知识和实践指导。它帮助你: - 识别特定问题的适当模式 - 在各种编程语言中正确实现模式 - 识别代码坏味道和反模式 - 应用 SOLID 原则 - 平衡灵活性与简单性 - 重构代码以提高可维护性 ## 何时使用此技能 触发场景:当用户提出以下请求时,使用本 skill: - 设计新的软件组件或系统 - 审查代码设计质量 - 重构现有代码 - 解决复杂的设计问题 - 解释设计决策 - 教授软件工程概念 - 识别代码坏味道并提出改进建议 ## 核心能力 ### 1. 创建型模式 > 详见 [pattern-examples.md](./references/pattern-examples.md#创建型模式示例) 了解下列创建型模式的实现: > - **单例模式**:确保类只有一个实例、提供全局访问点、用于配置管理器、连接池、日志记录 > - **工厂方法模式**:定义创建对象的接口、让子类决定实例化、正确的类型指定 > - **建造者模式**:逐步构建复杂对象、将构造与表示分策、適用于薩数不辨的对象 > - **原型模式**:克隆现有对象、当对象创建成本高时使用 > - **抽象工厂模式**:提供创建相关对象族的接口 ### 2. 结构型模式 > 详见 [pattern-examples.md](./references/pattern-examples.md#结构型模式示例) 了解下列结构型模式的实现: > - **适配器模式**:将类的接口转换为另一个接口、允许不兼容的接口一起工作 > - **装饰器模式**:动态地为对象附加额外的职责、提供细挖的子类化替代方案 > - **外观模式**:为一组接口提供统一接口、简化复杂子系统 > - **代理模式**:为另一个对象提供占位符、控制访问、延迟初始化、日志记录 > - **组合模式**:将对象组合成树形结构、统一对待单个对象和组合 > - **桥接模式**:将抽象与实现解耦、两者可以独立变化 > - **享元模式**:在多个对象之间共享公共状态、减少内存占用 ### 3. 行为型模式 > 详见 [pattern-examples.md](./references/pattern-examples.md#行为型模式示例) 了解下列行为型模式的实现: > - **策略模式**:定义算法族、使它们可互换 …
Read the whole file at its exact version.
How to install
mdr add projanvil/mindforge/design-pattern@sha256:724b469bef016d77The line at the top of this page pins the label git:20261016.6f8a292, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_vw7le2m4crylinxt)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 16, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8650 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
projanvil/mindforge · 3 stars · license MIT · pushed 2026-10-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_vw7le2m4crylinxt GET https://markdownregistry.com/api/v1/resolve?ref=projanvil/mindforge/design-pattern GET https://markdownregistry.com/api/v1/blob/724b469bef016d7730c1e0935a6a38d0ece26fb7e9a91344c214e34d7c94d79d
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from projanvil/mindforge
Every file in projanvil/mindforge