architecture-paradigm-layered

architecture-paradigm-layered is a skill for Claude Code from athola/claude-night-market. It costs 32 tokens per session (1,160 once invoked), scanned A, original, MIT.

A software design approach that separates an application into layers, such as the user interface, business rules, services, and data storage. Each layer has a defined responsibility and dependency direction.

In plain words
What is it for?
Use it to organize application structure, define layer responsibilities, and plan how presentation, domain logic, and database access should interact.
Why use it?
It prevents unrelated concerns from becoming mixed together and makes a monolithic application easier to understand and maintain. It is intended for moderate-sized systems with clear boundaries.

Skill for Claude Code

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

Part of the archetypes plugin — 15 skills shipped together

Good fit Use it to organize application structure, define layer responsibilities, and plan how presentation, domain logic, and database access should interact.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/athola/claude-night-market/architecture-paradigm-layered
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 athola/claude-night-market --skill architecture-paradigm-layered
Clone the repo
git clone --depth 1 https://github.com/athola/claude-night-market

Made for: Claude Code.

Or install archetypes, the plugin that ships this one along with the rest of its 15 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 architecture-paradigm-layered

README.md
[![agentmods](https://agentmods.dev/badge/skills/athola/claude-night-market/architecture-paradigm-layered/github.svg)](https://agentmods.dev/skills/athola/claude-night-market/architecture-paradigm-layered)
Your own site
<a href="https://agentmods.dev/skills/athola/claude-night-market/architecture-paradigm-layered"><img src="https://agentmods.dev/badge/skills/athola/claude-night-market/architecture-paradigm-layered/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for architecture-paradigm-layered

Your own site · 80×15
<a href="https://agentmods.dev/skills/athola/claude-night-market/architecture-paradigm-layered"><img src="https://agentmods.dev/badge/skills/athola/claude-night-market/architecture-paradigm-layered.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,160 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
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00032 $0.01160
Opus 5.5 $0.00013 $0.00464
Sonnet 5.5 $0.00006 $0.00232
Haiku 4.5 $0.00003 $0.00116

Measured 24d ago against content hash cd568cd0a730, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

architecture-paradigm-layered 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 24d 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.

plugins/archetypes/skills/architecture-paradigm-layered/SKILL.md · 102 lines

How it starts

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

The Layered (N-Tier) Architecture Paradigm

When to Employ This Paradigm

  • When teams need clear architectural boundaries and a familiar structure for moderate-sized systems.
  • When compliance or operations teams require clear separation of concerns (e.g., UI vs. domain logic vs. persistence).
  • When the deployment artifact remains a monolith, but code clarity and separation are degrading.

When NOT To Use This Paradigm

  • When high scalability demands require independent scaling of components
  • When multiple teams need independent deployment cycles
  • When complex business logic requires frequent cross-layer communication
  • When microservices architecture is already planned or in place
  • When real-time processing requirements make layered communication too slow

Adoption Steps

  1. Define the Layers: Establish a clear set of layers. A common stack includes: Presentation -> Application/Service -> Domain -> Data Access.
  2. Enforce Dependency Direction: Code in a given layer may only depend on the layer immediately below it. Forbid any "upward" dependencies or imports.
  3. Centralize Cross-Cutting Concerns: Implement concerns like logging, authentication, and validation as centralized middleware or policies, rather than duplicating this logic in each layer.
  4. Test Each Layer Appropriately: Apply testing strategies suitable for each layer, such as unit tests for the domain layer, service-layer tests for orchestration logic, and integration tests for persistence adapters.
  5. Document and Enforce Interactions: Maintain up-to-date dependency diagrams and use automated architecture tests to prevent developers from creating "shortcut" dependencies that violate the layering rules.

Key Deliverables

  • An Architecture Decision Record (ADR) that captures the responsibilities of each layer, the allowed dependencies between them, and the policy for any exceptions.
  • A formal dependency diagram stored with the project documentation.
  • Automated architectural checks (e.g., using ArchUnit, dep-cruise, or custom scripts) to prevent rule violations from being merged.

Read the full file on GitHub · 102 lines

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. 24d ago Changed · -4 lines cd568cd0a730
  2. 1mo ago Changed · -8 lines 21e6ff9f52e8
  3. 1mo ago First seen · 114 lines · 32 tokens per session scan A 9dd7d4df2fd0

Subscribe to this mod's changes

architecture-paradigm-layered is a skill published in the GitHub repository athola/claude-night-market (343 stars, last pushed yesterday), licensed MIT. It adds 32 tokens to every session and 1,160 once invoked, about $0.0001 per session on Opus 5.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-09-03.

Related

Other skills, from other repositories

distributed-feasibility-checker

Evaluate whether a system should adopt distributed architecture by systematically checking against the 8 Fallacies of Distributed Computing and assessing team/operational readiness. Use this skill whenever the user is considering microservices, debating monolith vs distributed, hearing "let's use microservices,"…

bookforge-ai/bookforge-skills · 86 tokens

frontmcp-guides

Tutorials, end-to-end walkthroughs, and complete reference projects for FrontMCP. Use when you want a getting-started guide, a full worked example, or to learn best practices by following a step-by-step build rather than a single API reference. Includes a beginner weather-API server (tool plus static resource, Zod…

agentfront/frontmcp · 157 tokens

rust-axum-service

Use when building or extending a Rust service - axum on tokio (or the repository's actix-web / rocket), typed errors with IntoResponse, serde at the boundary, sqlx queries and migrations, never blocking the runtime, tracing, clippy.

makifbaysal/tasktrooper · 57 tokens

quarkus-service-architecture

Use when building or extending a Java service with Quarkus - layered architecture, JAX-RS resources, CDI beans, Panache persistence, and native-friendly patterns.

makifbaysal/tasktrooper · 40 tokens

composable-commerce

Architect a modern store using MACH principles — independent microservices, API-first integrations, cloud-native hosting, and headless frontend.

finsilabs/awesome-ecommerce-skills · 28 tokens

config-env-parameters

Manage Symfony configuration with .env files, parameters, secrets vault, and environment-specific settings.

dev-toolings/superpowers-symfony · 22 tokens