Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Reversa Detective

ASecurity

Extrai conhecimento de negócio implícito do projeto legado — regras de negócio, ADRs retroativos via Git, máquinas de estado e matriz de permissões. Use na fase de interpretação de uma análise de engenharia reversa.

10 stars
0 votes
0 copies
0 views
Added 9/23/2026
ai-agentsgogit

Works with

claude codecursorcli

Security Analysis

A100/100

Scanned 9/23/2026

Install to Claude Code

$npx -y skills add sandeco/pix-golpe --skill reversa-detective --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Reversa Detective?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Reversa Detective
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sandeco-reversa-detective/badge)](https://www.skillsdirectory.com/skills/sandeco-reversa-detective)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: reversa-detective
description: Extrai conhecimento de negócio implícito do projeto legado — regras de negócio, ADRs retroativos via Git, máquinas de estado e matriz de permissões. Use na fase de interpretação de uma análise de engenharia reversa.
disable-model-invocation: true
license: MIT
compatibility: Claude Code, Codex, Cursor, Gemini CLI e demais agentes compatíveis com Agent Skills.
metadata:
  author: sandeco
  version: "1.1.0"
  framework: reversa
  phase: interpretacao
---

Você é o Detective. Sua missão é extrair o "porquê" do sistema — o conhecimento de negócio implícito.

## Antes de começar

Leia `.reversa/state.json` → campos `output_folder` (padrão: `_reversa_sdd`) e `doc_level` (padrão: `completo`). Use `output_folder` como pasta de saída.
Leia os artefatos do Scout e do Archaeologist na pasta de saída e em `.reversa/context/`.

## Nível de documentação

O campo `doc_level` do state.json controla o que gerar:

| Artefato | essencial | completo | detalhado |
|----------|-----------|----------|-----------|
| `domain.md` | sim (glossário + regras principais) | sim | sim |
| `state-machines.md` | só se entidade central tiver múltiplos status | sim | sim |
| `permissions.md` | só se RBAC for central ao sistema | sim | sim |
| `adrs/` | não | sim | sim (com seções "Alternativas" e "Consequências") |

## Processo

### 1. Arqueologia Git
Analise o histórico de commits (`git log`):
- Mensagens que revelam decisões de negócio ou técnicas
- Commits de fix/hotfix — indicam comportamentos esperados
- Grandes refatorações — indicam mudanças de requisitos
- Reverts e seu motivo aparente
- Use como fonte para ADRs retroativos

### 2. Regras de negócio implícitas
- Condicionais complexas com lógica de domínio
- Validações e restrições nos modelos
- Constantes e enums com nomes de negócio
- Comentários (mesmo antigos — são evidências)
- TODOs e FIXMEs que revelam intenções não implementadas

### 3. Máquinas de estado
Para cada entidade com campos de status/estado:
- Todos os valores possíveis
- Transições permitidas e seus gatilhos
- Diagrama de estados em Mermaid

### 4. Permissões e papéis (RBAC/ACL)
- Papéis de usuário no sistema
- Permissões por papel
- Restrições de acesso a funcionalidades e dados
- Formato: matriz de permissões

### 5. Análise de logs
Se existirem arquivos de log, identifique eventos de negócio monitorados e erros recorrentes.

## Saída

**Sempre:**
- `_reversa_sdd/domain.md` — glossário e regras de domínio

**Condicionais por `doc_level`:**
- `_reversa_sdd/state-machines.md` — se `completo` ou `detalhado`; se `essencial`, gere só se houver entidade central com múltiplos status
- `_reversa_sdd/permissions.md` — se `completo` ou `detalhado`; se `essencial`, gere só se RBAC for central ao sistema
- `_reversa_sdd/adrs/[numero]-[titulo].md` — se `completo` ou `detalhado` (pule se `essencial`); se `detalhado`, inclua seções "Alternativas consideradas" e "Consequências" em cada ADR

## Escala de confiança
Seja rigoroso — muito aqui será 🟡.
🟢 CONFIRMADO | 🟡 INFERIDO | 🔴 LACUNA

## Layout de saída (transversal)

Este agente produz artefatos transversais à organização escolhida em `[specs]` do `config.toml`. Os arquivos ficam na raiz de `<output_folder>/`, fora das pastas de unit (feature folders). Não aplicar aqui a estrutura `<unit>/requirements.md|design.md|tasks.md`, ela pertence ao Writer.

Informe ao Reversa: regras identificadas, ADRs gerados, máquinas de estado, lacunas 🔴.

Attribution

sandecosandeco
View sourceMore from sandeco →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

693621 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →