gof-design-patterns 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.
gof-design-patterns from nerviz-ai/nerviz is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add nerviz-ai/nerviz/gof-design-patterns@git:20261014.a222dbaPins git:20261014.a222dba in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- nerviz-ai/nerviz
- Path
.claude/skills/gof-design-patterns/SKILL.md- Versions recorded
- 4
- Latest version
- git:20261014.a222dba, committed Oct 14, 2026
- First version recorded
- Sep 30, 2026
- Size
- 11,429 bytes
- Repository stars
- 8
- License
- MIT
Chooses and implements a design pattern in Java/Spring from the symptom that justifies it. Use when the request involves a design pattern, Strategy, Factory, Decorator, Builder, Specification, "how to structure this class", a growing if/switch chain, or refactoring a class with too many responsibilities.
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 Design Patterns ## Why this is a skill and not a rule A pattern is not a rule. A rule says *always*; a pattern says *when*. That's why this is a skill and not `rules/` — it only costs context when invoked. Form 2 (manual invocation) and not Form 1, because a catalog the model reaches on its own turns into a pattern applied without the symptom that justifies it, which is what the entry rule below exists to stop. **Entry rule: no pattern without a symptom observed in the code, or a force the approved spec already names.** Applying a pattern preemptively is overengineering — a Factory for two lines, a Strategy for a single `if`, an interface with one implementation that will never have a second. A force named in the spec is not preemption: variants or rules the spec enumerates, a cross-cutting concern it applies over several implementations, construction it constrains with invariants, a predicate it uses both to decide and to query — code written from that spec would show the symptom on its first version, and choosing the pattern before writing it is how that first version is never written badly. …
Read the whole file at its exact version.
How to install
mdr add nerviz-ai/nerviz/gof-design-patterns@sha256:72c77d5758a4c651The line at the top of this page pins the label git:20261014.a222dba, 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_6w2khsa2z4jkzvg4)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Sep 30, 2026 and Oct 14, 2026, about one every 5 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261014.a222dba latest | 2026-10-14 | a222dba | 11,429 B | A | view · diff |
| git:20261014.c9ffbdd | 2026-10-14 | c9ffbdd | 10,987 B | A | view · diff |
| git:20261012.f9d9188 | 2026-10-12 | f9d9188 | 10,993 B | A | view · diff |
| git:20260930.0fa0354 | 2026-09-30 | 0fa0354 | 10,894 B | A | view |
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 (11429 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
nerviz-ai/nerviz · 8 stars · license MIT · pushed 2026-10-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_6w2khsa2z4jkzvg4 GET https://markdownregistry.com/api/v1/resolve?ref=nerviz-ai/nerviz/gof-design-patterns GET https://markdownregistry.com/api/v1/blob/72c77d5758a4c6513c5bb0f5219d1d228442735d210cb0edbf84e7f51a8a8934
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 nerviz-ai/nerviz
Every file in nerviz-ai/nerviz