stribus/pygerengastos / .agents/skills/reversa-designer
reversa-designer
VerifiedQuarto agente do Time de Migração. Opera em duas fases. Fase 1: detecta a topologia do legado, sempre propõe uma topologia moderna alternativa e produz topology_decision.md (com pausa humana para aprovação). Fase 2: desenha as specs do sistema novo sob a topologia escolhida, produzindo target_architecture.md, target_domain_model.md, target_data_model.md e data_migration_plan.md, com rastreabilidade total para o legado. Ativação: /reversa-designer (geralmente invocado por /reversa-migrate).
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 12.4 KB |
| references/paradigm-checklist.md | markdown | 1.9 KB |
| references/templates/data_migration_plan.md | markdown | 2.4 KB |
| references/templates/target_architecture.md | markdown | 2.2 KB |
| references/templates/target_data_model.md | markdown | 1.8 KB |
| references/templates/target_domain_model.md | markdown | 1.7 KB |
| references/templates/topology_decision.md | markdown | 3.8 KB |
references/templates/target_data_model.md
View on GitHub---
schemaVersion: 1
generatedAt: <ISO-8601>
reversa:
version: "x.y.z"
kind: target_data_model
producedBy: designer
hash: "sha256:<hash do corpo abaixo do front-matter>"
---
# Target Data Model
> Modelo de dados do sistema novo. Schema, relacionamentos e restrições.
## Visão geral
<Texto curto: tipo de banco principal, divisão por bounded context, papéis (OLTP / OLAP / event store).>
## Entidades de dados
| Entidade | Tabela / coleção | Aggregate dono | PK | Bounded context |
|---|---|---|---|---|
| <nome> | <ref> | <AGG> | <campo> | <BC> |
## Schema (DDL ou equivalente)
```sql
-- Substituir pelo DDL real do sistema alvo.
CREATE TABLE pedidos (
id UUID PRIMARY KEY,
cliente_id UUID NOT NULL,
status TEXT NOT NULL,
criado_em TIMESTAMPTZ NOT NULL DEFAULT NOW()
);
```
## Relacionamentos
| Origem | Destino | Cardinalidade | Integridade | Notas |
|---|---|---|---|---|
| pedidos.cliente_id | clientes.id | N:1 | FK ON DELETE RESTRICT | |
## Restrições
- **Unicidade**: <lista>
- **Integridade referencial**: <ativada / desativada e por quê>
- **Particionamento / sharding** (se aplicável): <descrição>
- **Índices críticos**: <lista>
## Considerações específicas do paradigma alvo
> Seção dedicada quando o paradigma alvo é event-driven, funcional ou outro com implicação direta no modelo de dados.
- <ex: event-driven → tabela de outbox para garantia at-least-once>
- <ex: event sourcing → store de eventos como fonte da verdade, projeções derivadas>
- <ex: imutabilidade → eventos / snapshots imutáveis, sem updates>
## Origem no legado
| Tabela / coleção nova | Origem no legado | Transformação |
|---|---|---|
| pedidos | `<schema legado>.tb_pedidos` | renomeação + tipos normalizados |
## Notas
<Observações adicionais sobre o modelo de dados.>
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |