spec-arquitetura

spec-arquitetura is a skill for Claude Code from VictorCostaOliveira/agents-tdd-flow. It costs 106 tokens per session (1,099 once invoked), scanned A, original, MIT.

An architecture specification template for planning how a new system, service, integration, or major technical change will work. It covers APIs, events, data, monitoring, security, failure handling, rollout, and technical risks.

In plain words
What is it for?
Use it to inspect an existing codebase and write a technical design document for a new system, service integration, event flow, queue, or storage change.
Why use it?
It makes important design decisions explicit before implementation begins. This helps teams compare options and spot risks across multiple services.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to inspect an existing codebase and write a technical design document for a new system, service integration, event flow, queue, or storage change.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/victorcostaoliveira/agents-tdd-flow/spec-arquitetura
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 VictorCostaOliveira/agents-tdd-flow --skill spec-arquitetura
Clone the repo
git clone --depth 1 https://github.com/VictorCostaOliveira/agents-tdd-flow

Made for: Claude Code.

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 spec-arquitetura

README.md
[![agentmods](https://agentmods.dev/badge/skills/victorcostaoliveira/agents-tdd-flow/spec-arquitetura/github.svg)](https://agentmods.dev/skills/victorcostaoliveira/agents-tdd-flow/spec-arquitetura)
Your own site
<a href="https://agentmods.dev/skills/victorcostaoliveira/agents-tdd-flow/spec-arquitetura"><img src="https://agentmods.dev/badge/skills/victorcostaoliveira/agents-tdd-flow/spec-arquitetura/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 spec-arquitetura

Your own site · 80×15
<a href="https://agentmods.dev/skills/victorcostaoliveira/agents-tdd-flow/spec-arquitetura"><img src="https://agentmods.dev/badge/skills/victorcostaoliveira/agents-tdd-flow/spec-arquitetura.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,099 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.00106 $0.01099
Opus 5.5 $0.00042 $0.00440
Sonnet 5.5 $0.00021 $0.00220
Haiku 4.5 $0.00011 $0.00110

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

Security

Grade A, and why

spec-arquitetura 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 22d 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.

claude/.claude/skills/spec-arquitetura/SKILL.md · 84 lines

How it starts

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

Spec de arquitetura (technical design doc)

Documento de design técnico que precede a implementação de um sistema, serviço ou integração. A criar-spec é a spec de produto ou feature, focada em objetivo, comandos, testes e boundaries; esta skill descreve como o sistema é construído por dentro.

Quando usar

  • Sistema ou serviço novo do zero
  • Integração entre serviços (ex.: API ↔ serviço de autenticação, novo gateway)
  • Mudança arquitetural grande (novo evento, nova fila, troca de storage)
  • Decisão que afeta múltiplos serviços ou tem trade-off relevante

Feature de UI, bug fix ou mudança contida num único módulo usam a criar-spec ou vão direto ao código.

Como gerar

  1. Levantar o contexto real antes de escrever. Inspecione o repo afetado: serviços, rotas, modelos, filas e eventos existentes, padrões de observabilidade e de error reporting. A spec descreve o sistema real, e não um genérico.
  2. Delegue o desenho ao agente arquiteto quando houver trade-offs de arquitetura: ele apresenta opções com prós e contras e evita over-engineering. Consolide o retorno no doc.
  3. Preencher só o que se aplica. Seção sem conteúdo real recebe N/A — <motivo> em vez de invenção. Spec honesta vale mais que spec completa.
  4. Suposições à vista. Liste premissas (volume, SLA, permissões, consistência) e peça confirmação antes de travar.
  5. Salve como SPEC_ARQUITETURA.md (ou spec/<feature>/ARQUITETURA.md) e alinhe com o time antes de implementar.

Template

# Spec de Arquitetura: [Nome do sistema, serviço ou integração]

## Contexto e objetivo
[O que estamos construindo e por quê. Problema, escopo, fora de escopo. Premissas a confirmar.]

## 1. Arquitetura
[Visão geral dos componentes e como se conectam. Diagrama em ASCII se ajudar.
Decisões-chave e alternativas descartadas, com o porquê.]

## 2. Fluxos de integração
[Como este sistema conversa com os outros (síncrono ou assíncrono). Sequência das chamadas
ponta a ponta, contratos entre serviços, dependências externas.]

## 3. APIs
[Endpoints expostos e consumidos: método, path, request e response (envelope, status),
autenticação, idempotência, paginação. Só os que esta mudança cria ou altera.]

## 4. Eventos
[Eventos publicados e consumidos: nome, payload, produtor e consumidor, fila ou tópico,
ordering, retry, dead-letter. N/A sem mensageria.]

## 5. Modelagem de dados
[Tabelas ou coleções novas ou alteradas: colunas, tipos, índices, constraints, relações.
Migrations necessárias (descrever; criar só com pedido). Estratégia de migração de dados.]

## 6. Observabilidade
[Logs (o quê e nível), métricas, traces, dashboards, alertas. Como erros são reportados,
seguindo o padrão do repo. Como saberemos que está saudável em produção.]

## 7. Segurança
[AuthN e AuthZ, dados sensíveis (PII, financeiro), criptografia, escopo de tokens,
superfície de ataque, validação na borda. LGPD quando aplicável.]

## 8. Estratégias de resiliência
[Timeouts, retries com backoff, circuit breaker, fallback, idempotência,
degradação graciosa, o que acontece quando uma dependência cai.]

## 9. Plano de rollout
[Ordem de deploy entre serviços, feature flags, backward compatibility, migração de dados,
rollback. Releases acopladas que precisam ir juntas.]

## 10. Riscos técnicos
[Riscos concretos (performance, consistência, acoplamento, dívida) com impacto,
probabilidade e mitigação. Open questions que precisam de decisão humana.]

Read the full file on GitHub · 84 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. 22d ago First seen · 84 lines · 106 tokens per session scan A 3ab65b996368

Subscribe to this mod's changes

spec-arquitetura is a skill published in the GitHub repository VictorCostaOliveira/agents-tdd-flow (2 stars, last pushed 22d ago), licensed MIT. It adds 106 tokens to every session and 1,099 once invoked, about $0.0004 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-11-13.

Related

spec-arquitetura compared with skills from other repositories

spec-arquitetura next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spec-arquiteturaVictorCostaOliveira/agents-tdd-flowSkill222d agoMITA106Claude Code
mem0-oss-to-platformmem0ai/mem0Skill70kyesterdayApache-2.0A217Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.3ktodayApache-2.0A92Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.3kyesterdayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.1ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill7072d agoMITA105Claude Code, Codex