design-code-architecture

design-code-architecture is a skill for Claude Code from wondelai/skills. It costs 220 tokens per session (5,771 once invoked), scanned A, original, MIT.

A guided process for choosing an app’s main technical structure, including its boundaries, business concepts, data approach, and handling of failures. It records each decision so the work can be paused and continued.

In plain words
What is it for?
Use it to plan a new app’s architecture, decide which parts belong together, choose how data should be handled, and document the reasoning behind those choices.
Why use it?
It helps teams make the few early decisions that are costly to change while leaving simpler choices open until they are needed.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the metaskills plugin — 13 skills shipped together

Good fit Use it to plan a new app’s architecture, decide which parts belong together, choose how data should be handled, and document the reasoning behind those choices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wondelai/skills/design-code-architecture
About the project

Wondel.ai Agent Skills is a collection of skills and guided workflows that give coding agents structured methods for business, marketing, UX, website, app, and software-development tasks. It is used with agents such as Claude Code, Codex, Cursor, OpenClaw, and other agents that support the agentskills.io format. The catalogue entries are the project's skills, plugins, instructions, and rule packaged for those agents.

wondelai/skills · 2,124 stars · on GitHub · skills.wondel.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wondelai/skills --skill design-code-architecture
Clone the repo
git clone --depth 1 https://github.com/wondelai/skills

Made for: Claude Code.

Or install metaskills, the plugin that ships this one along with the rest of its 13 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for design-code-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/wondelai/skills/design-code-architecture.svg)](https://agentmods.dev/skills/wondelai/skills/design-code-architecture)
Your own site
<a href="https://agentmods.dev/skills/wondelai/skills/design-code-architecture"><img src="https://agentmods.dev/badge/skills/wondelai/skills/design-code-architecture.svg" alt="Measured on agentmods" height="20"></a>
Per session 220 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,771 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 28 Aug 2026
  • Snyk pass 28 Aug 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 36
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00220 $0.05771
Opus 5 $0.00110 $0.02885
Sonnet 5 $0.00044 $0.01154
Haiku 4.5 $0.00022 $0.00577

Measured 8d ago against content hash 4bf2140050ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

design-code-architecture scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

design-code-architecture/SKILL.md · 208 lines

How it starts

The opening of the file, as written. The whole thing — 208 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Design Code Architecture

Design the architecture for a new app: get the small number of expensive-to-reverse decisions right and stay aggressively simple everywhere else. This is an interactive, resumable journey of eight phases — the agent asks before every decision and records the outcome in your project's docs/ folder, so you can stop after any phase and resume later. It runs from the most foundational and hardest-to-reverse (boundaries, domain) through the tunable (data, resilience) to the cross-cutting disciplines (complexity, reversibility, scope) you apply throughout. A weekend project uses three phases lightly; a funded team building toward launch wants the whole stack.

Core Principle

Architecture is the set of decisions that are expensive to reverse: make exactly those deliberately, and defer everything cheap. This skill sequences the phases, asks the decision questions, and records every choice in docs/. The constituent skills carry the method — invoke them rather than improvising their frameworks. The whole strategy is to convert expensive decisions into cheap ones by putting a boundary in front of them, so the irreducibly expensive set stays small enough to get right with care.

Journey Map

Phase Skill Question it answers Artifact
1 clean-architecture Do source-code dependencies point inward — is the core testable with no DB, web, or framework? Creates docs/ARCHITECTURE.md
2 domain-driven-design Where does the business actually split, and what does each term mean? Extends docs/ARCHITECTURE.md
3 system-design How little system does our real load actually need? Extends docs/ARCHITECTURE.md
4 ddia-systems Which data model, storage engine, and consistency does each workload need? Extends docs/ARCHITECTURE.md
5 software-design-philosophy Is complexity hidden behind deep modules, or is this classitis? Extends docs/TECH-DEBT.md
6 release-it Will it degrade gracefully when a dependency is slow or down? Creates docs/RELIABILITY.md
7 pragmatic-programmer What thin slice proves the boundaries, and what habits keep them reversible? Extends docs/TESTING.md + docs/TECH-DEBT.md
8 37signals-way What is essential for v1, and what speculative abstraction do we cut? Extends docs/ARCHITECTURE.md + docs/TECH-DEBT.md

Read the full file on GitHub · 208 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 208 lines · 220 tokens per session scan A 4bf2140050ca

Subscribe to this mod's changes

design-code-architecture is a skill published in the GitHub repository wondelai/skills (2,124 stars, last pushed 9d ago), licensed MIT. It adds 220 tokens to every session and 5,771 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories