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

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.

agentmods
npx agentmods add skills/dewtech-technologies/dare-method/dare-layered-design
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00062 $0.01732
Opus 5 $0.00031 $0.00866
Sonnet 5 $0.00012 $0.00346
Haiku 4.5 $0.00006 $0.00173

Measured 4d ago against content hash c0df61de5809, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 1mo ago), licensed MIT. It adds 62 tokens to every session and 1,732 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

inbound-triage

Maintainer-only. Use when triaging inbound GitHub issues and pull requests on skyf0xx/hedgehog — "triage the issues", "check the PRs", "review inbound", "what's in the queue". Reads each item read-only, judges it for security and for whether it is real, then fixes and closes or comments and closes. Not part of the…

skyf0xx/hedgehog · 102 tokens

setup-background-job

Set up scheduled background jobs using Quartz.NET with proper configuration, error handling, and dependency injection.

andresharpe/dotbot · 22 tokens

conventional-commits

Use when uncommitted changes need to be split into atomic, conventional commits ordered for review. Triggers on "commit this", "make commits", "clean up commits", "commit the changes". In Hedgehog, each Loop step is already meant to be its own commit — this skill matters most when a Correction Protocol fast-forward…

skyf0xx/hedgehog · 88 tokens

pr-writing

Use whenever writing a PR title/description, a commit message body, a code review comment, or an issue — in Hedgehog's own repo or any consuming project. Triggers on "open a PR", "write the PR description", "comment on this PR", "file an issue". Covers writing style (terse, info-dense, Simplified Technical English)…

skyf0xx/hedgehog · 107 tokens

hedgehog-daily

Use when a change request lands on a project that already has .hedgehog/ and no build in flight — a finished build being adjusted, or an adopted repo's next piece of work. Triggers on any "change this", "fix this", "add this" on such a project. Sizes the request against the installed core's own layers and routes it to…

skyf0xx/hedgehog · 0 tokens

hedgehog

Use when the user has agreed to install the Hedgehog build discipline in a project that does not have it yet, or when they mention Hedgehog by name — carries the npx @skyf0xx/hedgehog init install procedure and its core and host flags. The plugin's SessionStart hook decides when to raise the offer.

skyf0xx/hedgehog · 74 tokens