fullstack-code
Skill0 starsChanged 19 days agoMITView on GitHub
Use when: revisar mudança que atravessa a stack, e especialmente migration ou query de banco — veredito SAFE/RISKY/DANGEROUS. Rubrica 5E vem de code-optimize; implementar feature vai para as skills de camada.
In this repository71 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adversarial-gateSkill
- anti-over-engineeringSkill
- article-draftSkill
- article-publishSkill
- audit-loggingSkill
- autonomous-loopSkill
- backend-implementationSkill
- brainstormSkill
- browser-automationSkill
- cite-or-flagSkill
- codebase-designSkill
- code-optimizeSkill
- code-reviewSkill
- connection-finderSkill
- content-analysisSkill
- content-creationSkill
- content-designSkill
- content-synthesisSkill
- contradiction-sweepSkill
- conversor-md-htmlSkill
- councilSkill
- data-ai-implementationSkill
- decisionsSkill
- diagnoseSkill
- diagram-buildSkill
- domain-modelingSkill
- drift-reviewSkill
- editor-mdSkill
- evolveSkill
- frontend-implementationSkill
- fullstack-security-auditSkill
- grill-meSkill
- handoffSkill
- hill-climbSkill
- implementSkill
- infra-implementationSkill
- ingest-proposalSkill
- ingest-verifySkill
- marketing-content-designSkill
- office-hoursSkill
- pipeline-adsSkill
- plan-handoffSkill
- pre-ingest-dedupSkill
- pre-mortemSkill
- prompt-reviewSkill
- prototypeSkill
- reason-judgeSkill
- repo-radarSkill
- report-synthesisSkill
- research-verifySkill
- resolving-merge-conflictsSkill
- retroSkill
- router-selectSkill
- shipping-checklistSkill
- simplify-codeSkill
- skillifySkill
- spec-lifecycleSkill
- study-digestSkill
- subagent-teamSkill
- The first 60 shown.
The file
Files
fullstack-code — review que atravessa a stack
Proveniência: procedimento transplantado de
04-SYSTEM/automation/agents/fullstack-agent-system/forge.md@6304e261b(fatia S1 do plano-refino-automation, 2026-08-23). Adaptado depois do transplante (modelo atualizado pelo ADR-NX-012, rotas e efeitos).source_agentdo frontmatter preservado.
Forge — Senior Code Quality Engineer (material transplantado)
O que esta skill é. Revisão de qualidade de mudança que atravessa a stack, com o review de banco (migration e query) como material próprio. Não implementa feature: o corpo transplantado do Forge diz literalmente "Never implements features — only improves existing code", e isso continua valendo. Para construir, use as skills de camada —
backend-implementation,frontend-implementation,infra-implementation,data-ai-implementation— ou a cadeia de dev.A rubrica 5E foi fundida em code-optimize (2026-08-31), que já era a versão mais desenvolvida — Fowler smells, dois eixos paralelos, Deep Modules. Esta skill deixou de manter uma segunda cópia e aponta para lá.
Codenames. Stratum =
04-SYSTEM/automation/skills/dev/backend-implementation/SKILL· Facet =04-SYSTEM/automation/skills/dev/frontend-implementation/SKILL· Bastion =04-SYSTEM/automation/skills/dev/infra-implementation/SKILL· Neuron =04-SYSTEM/automation/skills/dev/data-ai-implementation/SKILL· Sentinel =04-SYSTEM/automation/skills/security/fullstack-security-audit/SKILL. Decompor trabalho de dev é dev.
Purpose
Specializes in code quality optimization. Reviews any deliverable from Stratum, Facet, or Neuron against the 5E rubric (binary gates, BinEval — no 0–100 score), emits a SHIP | REFACTOR verdict, identifies actionable findings per dimension, and optionally delivers a refactored version. Never implements features — only improves existing code.
Perfil
deep(claude-opus-5-5 · medium, model-catalog): quality review é análise técnica profunda. Opus/critical reservado para threat modeling (Sentinel) e orquestração complexa (o agente Maestro foi aposentado em 2026-09-25, ADR-004-retired-agents).
Rubrica 5E — mora em code-optimize
Gates 5E, blocking vs non-blocking, override por REVIEWS.md e veredito SHIP | REFACTOR são de code-optimize. Carregue-a para revisar código de aplicação. Esta skill cobre só o review de banco (abaixo).
DB Migration Review
Gatilho: arquivo de migration no diff (padrões: migrations/*.sql, alembic/versions/*.py, prisma/migrations/*.sql, db/migrate/*.rb, *.up.sql + *.down.sql), OU quando user explicitamente pede "review migration".
Gatilho bateu → leia migration-review e rode M1–M4 com veredito próprio SAFE | RISKY | DANGEROUS, em paralelo à rubrica 5E de code-optimize. Sem gatilho → skip silencioso.
DB Query Review
Gatilho: diff contém SQL de query (não migration), OU Prisma schema.prisma com query/select/where, OU quando user pede "review queries".
Gatilho bateu → leia query-review e rode Q1–Q8 com veredito próprio SAFE | RISKY | DANGEROUS. Query Review é on-demand.
Output Format
Para código de aplicação, o formato de saída (tabela por dimensão, findings com linha, versão refatorada) é o de code-optimize §PASSO 5. Migration e Query Review têm formato próprio, nas references dos ponteiros acima.
Cleanup Phase — simplify-code integration
Se verdict REFACTOR ou houver blocking finding:
- Carregar
simplify-code(versão viva em04-SYSTEM/automation/skills/dev/simplify-code/SKILL.md, comdisable-model-invocation: true: só o usuário a invoca; sem ela, aplicar os 3 eixos manualmente. Cópia antiga em08-ARCHIVE/system/agents/skills-dup-2026-07/simplify-code/SKILL.md). Reviewers: Reuse → economicidade, Quality → fluência + efetividade, Efficiency → eficiência (N+1, hot paths, TOCTOU). - Escopo = diff avaliado, não o codebase. Agregue os findings com os do veredito 5E.
- Proponha os fixes por risk tier SAFE → CAREFUL → RISKY, como diff no relatório. Esta skill não escreve no código revisado (ver
allowed_effects); quem aplica é a skill de camada (backend-, frontend-, data-ai- ou infra-implementation), com confirmação do usuário para RISKY. - Entregue o veredito final e o diff proposto; a skill de camada re-roda linter e testes dos arquivos tocados.
Não rodar: SHIP com 0 findings; mudança trivial (typo, rename único; custo de 3 subagentes > ganho); user pediu "só diagnóstico".
Fora do Escopo
- Security vulnerabilities (→ Sentinel)
- Feature implementation (→
backend-implementation/frontend-implementation/ SDD) - Infrastructure config (→ Bastion)
- ML pipeline quality (→ Neuron + Forge for non-ML code)
- Test generation (→
04-SYSTEM/automation/skills/dev/tdd/SKILL.md) - DB query optimization (→ Query Review phases Q1-Q8 acima)
- Orquestração de implementação multi-task (→ SDD —
04-SYSTEM/automation/skills/orchestration/subagent-team/sdd.md)
Critério de Qualidade
- Critério de sucesso: cada Migration e Query Review emite veredito SAFE | RISKY | DANGEROUS, com tabela e volume de linhas nomeados.
- Cada finding referencia arquivo e linha; recomendação marcada [pre] / [fix] / [post]
- Review de código de aplicação usa a rubrica de code-optimize, sem cópia local
- Veredito DANGEROUS bloqueia até existir plano alternativo
Exemplos
Input: "Review this Express route handler — 80 lines, no error handling, SQL concat" Output: Veredito: REFACTOR — Eficácia FAIL (blocking: 3 uncaught exceptions, SQL injection linha 22), Economicidade FAIL (non-blocking: duplicate auth logic), Efetividade FAIL (blocking: SRP violation — handler does DB + business logic + formatting). 2 blocking → REFACTOR. Refactored version delivered.
Input: "executar fullstack-code — review migration — alembic/versions/0042_add_user_status.py"
Output: Veredito: SHIP (5 dimensões PASS, SQL limpo). Migration Review: MIGRATION DANGEROUS — M1: ALTER TABLE users ADD COLUMN status VARCHAR(20) NOT NULL sem DEFAULT em tabela com 2M rows (table lock + data loss se falhar). M2: downgrade() só faz drop_column('status') — irreversível sem backup. M3: sem SET lock_timeout. Recomendações: [pre] pg_dump users > backup.sql, [pre] SELECT count(*) FROM users para verificar, [fix] adicionar server_default='pending' + backfill em batches de 10k. Migration Verdict: DANGEROUS — bloquear até plano alternativo.
Quando NÃO usar
- Revisão 5E de código de aplicação →
code-optimize; diff de PR →code-review; validar tarefa concluída →adversarial-gate. - Auditoria de vulnerabilidades →
fullstack-security-audit(classe de risco própria).
Condições de falha
- Invalid input → stop, don't invent
- Missing resources → warning, don't create
Completion
- Itens de
## Critério de Qualidadeatendidos. - Veredito SAFE | RISKY | DANGEROUS emitido para cada Migration e Query Review.
Failure modes
- Migration sem rollback testado: aprovar sem plano de volta → DANGEROUS bloqueia até haver plano.
- Query julgada sem
EXPLAIN: "parece lento" como finding → rode oEXPLAINantes de julgar. - Trade-off documentado penalizado: tratar desnormalização deliberada como defeito → respeite a decisão registrada.
- Veredito sem tabela e volume: migration julgada sem nomear tabela e nº de linhas → nomeie os dois.
- Rubrica 5E copiada: duplicar a rubrica aqui → carregue
code-optimize.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

