Borrowing it
Nothing to install: this file belongs to gianverdum/ai-dev-skillset. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/gianverdum/ai-dev-skillset/main/.agents/skills/architecture-ddd-hexagonal/SKILL.mdgit clone --depth 1 https://github.com/gianverdum/ai-dev-skillsetWrote 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.
[](https://agentmods.dev/skills/gianverdum/ai-dev-skillset/architecture-ddd-hexagonal)<a href="https://agentmods.dev/skills/gianverdum/ai-dev-skillset/architecture-ddd-hexagonal"><img src="https://agentmods.dev/badge/skills/gianverdum/ai-dev-skillset/architecture-ddd-hexagonal/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.
<a href="https://agentmods.dev/skills/gianverdum/ai-dev-skillset/architecture-ddd-hexagonal"><img src="https://agentmods.dev/badge/skills/gianverdum/ai-dev-skillset/architecture-ddd-hexagonal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00235 | $0.03413 |
| Opus 5.5 | $0.00094 | $0.01365 |
| Sonnet 5.5 | $0.00047 | $0.00683 |
| Haiku 4.5 | $0.00023 | $0.00341 |
Grade A, and why
architecture-ddd-hexagonal 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DDD + Arquitetura Hexagonal (Ports & Adapters)
Use esta skill quando a arquitetura hexagonal for o padrao do projeto ou solicitada pelo usuario.
Precedencia entre Hexagonal e Clean Architecture
A escolha NAO e por preferencia do agente. Siga esta ordem:
- Padrao do projeto existente — se o repositorio ja tem layout hexagonal (
ports/,adapters/in,adapters/out,adapters/driving,adapters/driven, ou nomenclatura equivalente), preserve. Mesma logica vale para Clean Arch (interface/,application/,infrastructure/): preserve o que esta la. - Solicitacao do usuario — quando o usuario pedir "hexagonal", "ports and adapters", "hex arch", aplique esta skill. Quando pedir "clean architecture", aplique
architecture-ddd-clean-arch. - Default — na ausencia de padrao local e de pedido explicito, use
architecture-ddd-clean-arch.
Nunca misture os dois layouts no mesmo modulo. Se uma das skills ja esta em uso, a outra nao se aplica naquele modulo.
Principios
- Preserve o dominio como centro da aplicacao, livre de framework, banco, HTTP, fila, UI ou serviços externos.
- Modele dependencias para o dominio atraves de portas (interfaces declaradas pelo dominio/aplicacao); detalhes tecnicos vivem em adapters que implementam essas portas.
- Distinga portas de entrada (driving / inbound) — invocadas por adapters de fora chamando o dominio — de portas de saida (driven / outbound) — chamadas pelo dominio quando ele precisa de algo externo.
- Casos de uso sao exposicoes da port de entrada; repositorios, gateways e clients sao definicoes da port de saida.
- Tipos de entrada do dominio expressam invariantes (literal union, enum, typed alias), nao
string/intcru.
Camadas e Layout
domain/: entidades, value objects, domain services, eventos, regras e invariantes. Define portas de saida quando o dominio precisar de algo externo (ex.:ExchangeRateProvider).application/: casos de uso (portas de entrada) e orquestracao. Pode declarar portas adicionais para servicos transversais (autorizacao, transacao, clock).adapters/in/(ouadapters/driving/,inbound/): tudo que invoca o nucleo de fora — controllers HTTP, handlers CLI, consumers de fila, workers de cron, GraphQL resolvers. Cada adapter de entrada DELEGA para uma porta de entrada da aplicacao.adapters/out/(ouadapters/driven/,outbound/): implementacoes concretas das portas de saida — repositorios SQL/NoSQL, HTTP clients, brokers, file system, providers externos.config/(opcional): composition root, wiring de portas a adapters, leitura de configuracao.
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.
- 1mo ago Changed · +235 tokens per session 3c246b7d6c53
- 2mo ago First seen · 164 lines · 0 tokens per session scan A d53afd6f884c
architecture-ddd-hexagonal is a skill published in the GitHub repository gianverdum/ai-dev-skillset (6 stars, last pushed 1mo ago), licensed MIT. It adds 235 tokens to every session and 3,413 once invoked, about $0.0009 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.
Other skills, from other repositories
webgl-holographic-foil
A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.
html-ppt-hermes-cyber-terminal
OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.
html-ppt-taste-brutalist
16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
glance-canonical-layouts
Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).
accessibility
Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.