agentsclimarketplace

Architecture design

Skill lx-wnk/skills/skills/architecture-design

Portable Agent Skills for AI coding agents (Claude Code, Codex, Cursor, Gemini) — agentskills.io-conformant, versioned, installable via skills.sh

Install
npx -y skills add lx-wnk/skills --skill architecture-design

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Design system-level architecture — bounded contexts, modules, domains, layering, dependency direction, and ADRs. Make sure to use this skill whenever the user asks to design an architecture, plan a system, define bounded contexts, draft an ADR, decide on module boundaries, or says things like "entwirf die Architektur", "plane das System", "wie strukturieren wir X", "architecture design", "system design", "bounded contexts", "module layout". Use this skill for HIGH-LEVEL structural decisions only — component and class-level design belongs in `component-design`.

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

6.1 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it

Architecture Design (System Level)

Produce system-level architecture decisions: bounded contexts, module boundaries, layering, dependency flow. Output ADRs and diagrams only when they add value.

Scope

In scope: domains, bounded contexts, modules, layers, dependency direction, integration boundaries, data ownership, cross-cutting concerns (auth, logging, events).

Out of scope: class structure, method signatures, design patterns inside a module (→ component-design), feature requirements or user stories, code-level bugs.

Examples

# Design architecture for a new subsystem
/architecture-design order fulfillment module

# Design architecture for the whole project (exploratory)
/architecture-design

Workflow

flowchart TD
  A["Load project context"] --> B["Detect stack & conventions"]
  B --> C["Research best practices"]
  C --> D["Clarify scope with user"]
  D --> E["Propose 2-3 approaches"]
  E --> F["User picks approach"]
  F --> G["Draft structural design"]
  G --> H["Write ADR if decision is non-obvious"]
  H --> I["Summarize + next steps"]

Phase 1: Load Project Context

Check in order, stop at first hit:

  1. .agent-context/layer1-bootstrap.md → tech stack, project identity
  2. .agent-context/layer2-project-core.md → conventions, critical rules
  3. .agent-context/decisions.json → existing architectural decisions (ADRs)
  4. CLAUDE.md, AGENTS.md, CONTRIBUTING.md, README.md
  5. Manifest files: composer.json, package.json, go.mod, pom.xml, Cargo.toml, pyproject.toml

If none exist, explore the top-level directory tree and infer stack from source extensions.

Never block on missing context — always fall back to code exploration.

Phase 2: Detect Stack & Existing Structure

  • Identify primary language(s), framework(s), and major libraries
  • Map existing top-level modules/namespaces: Glob for src/**, app/**, internal/**, pkg/** depending on stack
  • Detect architectural style already in use (layered, hexagonal, DDD, clean, modular monolith, microservices)
  • Note build-system boundaries (monorepo packages, PHP namespaces, Go modules, etc.)

Phase 3: Research Best Practices

Use WebFetch or available documentation tools (e.g., Context7) for up-to-date framework guidance. Examples:

  • Symfony/Shopware → bundle vs. plugin boundaries, service layer
  • Nuxt/Vue → server vs. client boundaries, composables, feature modules
  • Go → package layout, internal/, hexagonal
  • Spring → hexagonal + modulith

Do not rely on training data for framework conventions — fetch current docs when version matters.

Phase 4: Clarify Scope

Ask targeted questions only if truly ambiguous. Preferred format: single multiple-choice per turn.

Typical open questions:

  • Is this a new subsystem, a refactor, or a greenfield project?
  • Hard constraints? (existing boundaries that must not change)
  • Non-functional drivers? (team size, deploy target, scale, regulatory)

Phase 5: Propose 2-3 Approaches

Present each with a one-line headline, a diagram sketch (Mermaid if helpful), and pros/cons. End with Recommendation and reasoning.

Typical dimensions to vary across options:

  • Monolith vs. modular monolith vs. split services
  • Domain-oriented vs. technical-layer-oriented module split
  • Shared kernel vs. duplicated models across contexts
  • Event-driven vs. direct calls between modules

Phase 6: Draft Structural Design

After the user picks an approach, produce:

  1. Module/context map — name, responsibility, owned data, public API surface
  2. Dependency direction — which modules may depend on which (no cycles)
  3. Integration points — events, sync calls, shared DB, etc.
  4. Cross-cutting concerns — where auth, logging, validation live

Use a Mermaid flowchart or graph if it actually clarifies something. Skip it for trivial structures.

Phase 7: ADR (Only If Warranted)

Write an ADR to docs/architecture/adr/NNNN-<slug>.md only when the decision:

  • Rules out a reasonable alternative
  • Has long-term consequences
  • Other team members will later ask "why did we do it this way?"

Skip the ADR for obvious defaults. Template:

# ADR-NNNN: <Title>

**Status:** Proposed | Accepted

**Date:** YYYY-MM-DD

## Context

<Forces, constraints, what problem this decision solves>

## Decision

<The chosen approach in 2-4 sentences>

## Consequences

**Positive:** ...

**Negative / Trade-offs:** ...

**Follow-ups:** ...

## Alternatives Considered

- **<Option B>** — rejected because ...
- **<Option C>** — rejected because ...

Phase 8: Output Summary

Report in the user's language:

  • What was decided
  • Where the ADR/design doc lives (if written)
  • Concrete next steps (often: run component-design on the first module)
  • Risks or open questions the user still needs to resolve

Rules

  • System-level only. If the user pulls you into class-level detail, recommend component-design.
  • No feature planning. If the request is about user stories or effort, redirect — not this skill.
  • Never modify source code. Write only to docs/architecture/.
  • Respect existing structure. Don't propose sweeping refactors unrelated to the current goal.
  • Fallback, don't block. Missing Agent-Context layers → explore code instead.
  • Research current docs. Don't guess framework conventions from memory.

Gives 0 of the 12 instructions most architecture codebase skills give in ~1.3k tokens

Counted across 811 of the 1,134 authors here whose files we hold, read 2026-08-06

  • ask the user which candidate to explorein 46 of 811, across 16 files
  • apply the deletion test to suspected shallow modulesin 43 of 811, across 15 files
  • read any relevant architecture decision records firstin 31 of 811, across 7 files
  • use exact glossary terms in every suggestionin 29 of 811, across 9 files
  • accept dependencies instead of creating themin 24 of 811, across 5 files
  • include before and after visualisations for each candidatein 24 of 811, across 5 files
  • read the domain glossary before exploringin 24 of 811, across 6 files
  • return results instead of producing side effectsin 23 of 811, across 4 files
  • explore the codebase for shallow modules and frictionin 23 of 811, across 3 files
  • introduce seams only where things varyin 22 of 811, across 3 files
  • reduce the number of methodsin 21 of 811, across 2 files
  • design deep modules with small interfacesin 21 of 811, across 2 files

Said here and by no other author read

  • output architecture decisions and ADRs
  • skip class-level design
  • skip feature requirements and user stories
  • load project context before designing
  • fall back to code exploration if context is missing
  • map existing top-level modules and namespaces

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.