dare-layered-design

dare-layered-design is a skill for Claude Code, Codex from dewtech-technologies/dare-method. It costs 62 tokens per session (1,732 once invoked), scanned A, original, MIT.

A software architecture that separates an application into four layers: request handlers, business services, data access, and models that represent the domain. Each layer has a defined job and passes work to the next one.

In plain words
What is it for?
Use it when creating features, reviewing pull requests, generating CRUD code, or organizing a legacy project.
Why use it?
It prevents business rules, database code, and input handling from becoming mixed together, making changes and code reviews easier.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when creating features, reviewing pull requests, generating CRUD code, or organizing a legacy project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dewtech-technologies/dare-method/dare-layered-design
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 dewtech-technologies/dare-method --skill dare-layered-design
Clone the repo
git clone --depth 1 https://github.com/dewtech-technologies/dare-method

Made for: Claude Code, Codex.

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 dare-layered-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/dewtech-technologies/dare-method/dare-layered-design/github.svg)](https://agentmods.dev/skills/dewtech-technologies/dare-method/dare-layered-design)
Your own site
<a href="https://agentmods.dev/skills/dewtech-technologies/dare-method/dare-layered-design"><img src="https://agentmods.dev/badge/skills/dewtech-technologies/dare-method/dare-layered-design/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 dare-layered-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/dewtech-technologies/dare-method/dare-layered-design"><img src="https://agentmods.dev/badge/skills/dewtech-technologies/dare-method/dare-layered-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,732 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.
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.00062 $0.01732
Opus 5.5 $0.00025 $0.00693
Sonnet 5.5 $0.00012 $0.00346
Haiku 4.5 $0.00006 $0.00173

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

Security

Grade A, and why

dare-layered-design 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 3mo 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.

implementations/antigravity/.agents/skills/dare-layered-design/SKILL.md · 167 lines

How it starts

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

DARE Layered Design Skill

Você é um especialista em arquitetura de software e Layered Design. Seu papel é garantir que todo projeto DARE — independente da stack — siga estritamente o pipeline Handler → Service → Repository → Model, sem atalhos.

Quando usar esta skill

  • Você está revisando um Pull Request e quer verificar se as camadas foram respeitadas
  • Você está gerando código de scaffold (CRUD, novo módulo, novo endpoint)
  • Você está auditando um projeto legado que vai começar a usar DARE
  • Você está em /dare-blueprint decidindo a estrutura de pastas

As 4 camadas (regra única, sem exceção)

┌──────────────────────────────────────────┐
│  Handler  (HTTP, gRPC, CLI, queue worker) │ ← entrada
└──────────────────────────────────────────┘
              ↓
┌──────────────────────────────────────────┐
│  Service  (lógica de negócio, 1 operação) │ ← coração
└──────────────────────────────────────────┘
              ↓
┌──────────────────────────────────────────┐
│  Repository  (acesso a dados, abstração)  │ ← I/O
└──────────────────────────────────────────┘
              ↓
┌──────────────────────────────────────────┐
│  Model  (entidade pura, sem HTTP/DB)      │ ← domínio
└──────────────────────────────────────────┘

Handlers (controllers, routers, routes)

Responsabilidades

  • Receber request HTTP/gRPC/CLI
  • Validar input (delegar para FormRequest/Pydantic/Zod/serde)
  • Chamar um service
  • Retornar response formatada

NUNCA

  • Acessar Repository diretamente
  • Conter lógica de negócio
  • Fazer query em banco
  • Instanciar Service com new (use injeção)

Services (use_cases, interactors, commands)

Responsabilidades

  • Implementar uma operação de negócio (RegisterUser, RefundPayment)
  • Orquestrar Repositories
  • Validar regras de negócio
  • Lançar exceções de domínio (UserAlreadyExists, InsufficientFunds)

NUNCA

  • Saber sobre HTTP (status code, headers)
  • Saber sobre framework web
  • Conter SQL inline (usa Repository)

Read the full file on GitHub · 167 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. 3mo ago First seen · 167 lines · 62 tokens per session scan A c0df61de5809

Subscribe to this mod's changes

dare-layered-design is a skill published in the GitHub repository dewtech-technologies/dare-method (5 stars, last pushed 4mo ago), licensed MIT. It adds 62 tokens to every session and 1,732 once invoked, about $0.0002 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-08-31.

Related

dare-layered-design compared with skills from other repositories

dare-layered-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dare-layered-designdewtech-technologies/dare-methodSkill54mo agoMITA62Claude Code, Codex
distributed-systemsVimalk0703/shipworthySkill67mo agoMITA34Claude Code
api-backward-compatibilityVimalk0703/shipworthySkill67mo agoMITA49Claude Code
resilience-patternsVimalk0703/shipworthySkill67mo agoMITA41Claude Code
response-schema-validationVimalk0703/shipworthySkill67mo agoMITA36Claude Code
api-versioningVimalk0703/shipworthySkill67mo agoMITA31Claude Code
observability-by-defaultVimalk0703/shipworthySkill67mo agoMITA30Claude Code