Architecture Patterns
wshobson/agents
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.
Discovers and documents non-obvious structural and architectural patterns unique to this codebase.
$ npx skills add DynamoDS/Dynamo --skill dynamo-codebase-patterns -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install DynamoDS/Dynamo dynamo-codebase-patterns --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/DynamoDS/Dynamo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/dynamo-codebase-patterns .claude/skills/dynamo-codebase-patterns && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "dynamo-codebase-patterns" agent skill from https://github.com/DynamoDS/Dynamo/tree/master/.claude/skills/dynamo-codebase-patterns into .claude/skills/dynamo-codebase-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dynamo-codebase-patterns", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/DynamoDS/Dynamo/tree/master/.claude/skills/dynamo-codebase-patternsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add DynamoDS/Dynamo --skill dynamo-codebase-patterns -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install DynamoDS/Dynamo dynamo-codebase-patterns --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/DynamoDS/Dynamo.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/dynamo-codebase-patterns .agents/skills/dynamo-codebase-patterns && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "dynamo-codebase-patterns" agent skill from https://github.com/DynamoDS/Dynamo/tree/master/.claude/skills/dynamo-codebase-patterns into .agents/skills/dynamo-codebase-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dynamo-codebase-patterns", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add DynamoDS/Dynamo --skill dynamo-codebase-patterns -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install DynamoDS/Dynamo dynamo-codebase-patterns --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/DynamoDS/Dynamo.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/dynamo-codebase-patterns .cursor/skills/dynamo-codebase-patterns && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "dynamo-codebase-patterns" agent skill from https://github.com/DynamoDS/Dynamo/tree/master/.claude/skills/dynamo-codebase-patterns into .cursor/skills/dynamo-codebase-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dynamo-codebase-patterns", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/DynamoDS/Dynamo.git --path .claude/skills/dynamo-codebase-patterns--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add DynamoDS/Dynamo --skill dynamo-codebase-patterns -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install DynamoDS/Dynamo dynamo-codebase-patterns --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/DynamoDS/Dynamo.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/dynamo-codebase-patterns .gemini/skills/dynamo-codebase-patterns && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "dynamo-codebase-patterns" agent skill from https://github.com/DynamoDS/Dynamo/tree/master/.claude/skills/dynamo-codebase-patterns into .gemini/skills/dynamo-codebase-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dynamo-codebase-patterns", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install DynamoDS/Dynamo dynamo-codebase-patternsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add DynamoDS/Dynamo --skill dynamo-codebase-patterns -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/DynamoDS/Dynamo.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/dynamo-codebase-patterns .github/skills/dynamo-codebase-patterns && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "dynamo-codebase-patterns" agent skill from https://github.com/DynamoDS/Dynamo/tree/master/.claude/skills/dynamo-codebase-patterns into .github/skills/dynamo-codebase-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dynamo-codebase-patterns", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add DynamoDS/Dynamo --skill dynamo-codebase-patterns -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install DynamoDS/Dynamo dynamo-codebase-patterns --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/DynamoDS/Dynamo.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/dynamo-codebase-patterns .opencode/skills/dynamo-codebase-patterns && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "dynamo-codebase-patterns" agent skill from https://github.com/DynamoDS/Dynamo/tree/master/.claude/skills/dynamo-codebase-patterns into .opencode/skills/dynamo-codebase-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dynamo-codebase-patterns", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
dynamo-codebase-patternsDiscovers and documents non-obvious structural and architectural patterns unique to this codebase.
Dynamo Codebase Patterns is an agent skill from DynamoDS/Dynamo. Discovers and documents non-obvious structural and architectural patterns unique to this codebase. Reviews incoming changes for consistency with established patterns. Not style, conventions, features, or UX — only patterns that a developer from outside this repo would get wrong.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 15 other files (for example `patterns/README.md`, `patterns/dp-001-register-all-ports.md` and `patterns/dp-002-raises-modification-events.md`).
The repository describes itself as: Open Source Graphical Programming for Computational Design and Automation. The licence is Apache-2.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 8cadc02. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Dynamo Codebase Patterns loads about 1.5k tokens when it runs. Until then it costs about 76 tokens; SKILL.md has 698 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from DynamoDS/Dynamo at commit 8cadc02, republished under its Apache-2.0 licence (© DynamoDS). 698 words, ~1,488 tokens.
.claude/skills/dynamo-codebase-patterns/SKILL.md (or your agent's skills folder). This skill also uses 14 other files; get the full folder from GitHub.You maintain a living catalog of non-obvious implementation patterns specific to this codebase. Your purpose is to capture patterns that a capable C# developer, unfamiliar with Dynamo, would get wrong on first attempt — and to enforce them in code review.
You are not a style enforcer. Naming, formatting, and standard .NET patterns belong to the Janitor. You own structural and architectural patterns that are only meaningful in the context of this codebase.
Your pattern catalog lives in patterns/. Each pattern is a separate .md file. You read from this folder when reviewing changes. You write to it when you discover a new confirmed pattern.
The catalog should stay under 40 patterns. Before adding a new pattern, confirm no existing pattern already covers it. If the catalog is at 40, propose retiring a pattern before adding one.
Before recording any pattern, apply this filter. A pattern must pass all four:
NodeModel, WorkspaceModel, IScheduler, IExtension, etc.)? If no — likely skip it.[ComVisible], [ClassInterface] in WebView2 code), or mismatched vintage. Coexistence is often legacy debt, not a pattern to follow.When asked to scan a subsystem:
candidate status pattern file in patterns/confirmed only after it has been validated against 3 or more real file examplesPriority subsystems to scan first:
src/DynamoCore/Nodes — NodeModel subclassing, port registrationsrc/DynamoCore/Core — scheduler, execution modelsrc/Engine — geometry/computation boundarysrc/Libraries — built-in node patternssrc/DynamoCoreWpf and view extension folders — view extension registrationsrc/DynamoCoreWpf/Utilities/WebView2Utilities.cs and src/LibraryViewExtensionWebView2 — Dynamo has its own DynamoWebView2 subclass of Microsoft's WebView2; all WebView2 usage must go through it. Key patterns: Initialize() instead of EnsureCoreWebView2Async, ConfigureSettings() after init, disposal ordering, and ExecuteScriptFunctionAsync for C#→JS callsWhen reviewing a PR or change:
patterns/ whose domain matches — do not load all patterns for every reviewconfirmed pattern that applies, check whether the change follows itcandidate patterns as violations — they are not yet confirmedAdd a pattern candidate when:
candidate pattern file immediately on first sighting, even if you have only seen it onceWhen you flag a correction that already has a candidate file, increment its sightings count and add the PR to seen_in. At 3 sightings, promote the status to confirmed.
Flag an existing pattern for review when:
canonical_file has been significantly modified or deletedRetire a pattern when:
Each file in patterns/ follows this structure:
---
id: "dp-NNN"
name: ""
status: "candidate" # candidate | confirmed | legacy | retired
domain: "" # e.g. DynamoCore/Nodes, Engine, ViewExtensions
canonical_file: "" # path to the best real example in the repo
added: "YYYY-MM-DD"
last_verified: "YYYY-MM-DD"
sightings: 1 # increment each time this is flagged in a PR; promote to confirmed at 3
seen_in: [] # PR numbers or scan sessions where this was observed
---
## Intent
One sentence: what this pattern ensures.
## Why non-obvious
Why a capable developer unfamiliar with this repo would get this wrong without being told.
## Correct form
[code example from the repo]
## Anti-pattern
[what a developer would naturally write instead, and why it breaks]
## When it applies
Conditions under which this pattern must be followed.
## Related patterns
- dp-NNNThe why non-obvious field is required — it is the justification for why this pattern belongs in the catalog at all.
© DynamoDS, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 14 other files in .claude/skills/dynamo-codebase-patterns of DynamoDS/Dynamo.
Open the folder on GitHubat commit 8cadc02
Dynamo Codebase Patterns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Dynamo Codebase Patterns this skillDynamoDS/Dynamo | 2k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Architecture Patternswshobson/agents | 40k | — | ~2k | Automated safety check: Pass | MIT | |
| Android Clean Architectureaffaan-m/ECC | 274k | 4 repos | ~2.2k | Automated safety check: Pass | MIT | |
| Google Cloud Solution Architecturegoogle/skills | 21k | — | ~3.5k | Automated safety check: Pass | Apache-2.0 | |
| Architecture Patternsdavila7/claude-code-templates | 32k | 4 repos | ~483 | Automated safety check: Pass | MIT | |
| Architecture Docs Writerprisma/orm | 48k | — | ~1.6k | Automated safety check: Pass | Apache-2.0 |
wshobson/agents
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.
affaan-m/ECC
Applies Clean Architecture to Android and Kotlin Multiplatform projects: module layout, dependency rules, UseCases, Repositories and data layer patterns.
google/skills
Interactively discovers requirements and designs holistic, multi-product system architectures, solution blueprints, and deployment recommendations for complex workloads on Google Cloud.
davila7/claude-code-templates
Master proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design to build maintainable, testable, and scalable systems.
prisma/orm
Guides writing and rewriting architecture subsystem docs, ADRs and reference pages so they make sense to a developer with no prior project context.
affaan-m/ECC
Capture architectural decisions as numbered ADR markdown files in docs/adr/ with context, alternatives considered, consequences, and an index README.
DynamoDS/Dynamo
Create structured Jira tickets for Dynamo from bug reports, failing tests, or feature requests.
DynamoDS/Dynamo
Write and review C/.NET code in Dynamo following Dynamo coding standards, modern C patterns, and repo conventions.
DynamoDS/Dynamo
Navigate the Dynamo codebase and produce architecture briefings.
DynamoDS/Dynamo
Generate PR descriptions for Dynamo that align with the team template section names and order.
DynamoDS/Dynamo
Author and maintain Dynamo agent skills. An agent skill from DynamoDS/Dynamo.
DynamoDS/Dynamo
Write comprehensive NUnit tests for the Dynamo codebase following Dynamo testing patterns, conventions, and architectural constraints.
Discovers and documents non-obvious structural and architectural patterns unique to this codebase. Dynamo Codebase Patterns is an agent skill from DynamoDS/Dynamo. Discovers and documents non-obvious structural and architectural patterns unique to this codebase.
Run `npx skills add DynamoDS/Dynamo --skill dynamo-codebase-patterns -a claude-code`. Or copy the skill folder (.claude/skills/dynamo-codebase-patterns in DynamoDS/Dynamo) into .claude/skills/dynamo-codebase-patterns in your project. Claude Code loads it when a task matches its description.
Run `npx skills add DynamoDS/Dynamo --skill dynamo-codebase-patterns -a codex`. Or copy the skill folder (.claude/skills/dynamo-codebase-patterns in DynamoDS/Dynamo) into .agents/skills/dynamo-codebase-patterns in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add DynamoDS/Dynamo --skill dynamo-codebase-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dynamo-codebase-patterns, .gemini/skills/dynamo-codebase-patterns, .github/skills/dynamo-codebase-patterns and .opencode/skills/dynamo-codebase-patterns in your project.
SKILL.md names no scripts, command-line tools or credentials: Dynamo Codebase Patterns is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Dynamo Codebase Patterns is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Dynamo Codebase Patterns: Architecture Patterns (wshobson/agents, 40k stars), Android Clean Architecture (affaan-m/ECC, 274k stars), Google Cloud Solution Architecture (google/skills, 21k stars) and Architecture Patterns (davila7/claude-code-templates, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
DynamoDS (a GitHub organization) maintains it in DynamoDS/Dynamo, which has 2,033 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on October 7, 2026.
Source: DynamoDS/Dynamo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.