review
Skill0 starsChanged 5 months agoMITView on GitHub
Fluxo Review etapa 1 — gera revisao detalhada de um PR aberto, usando agentes especializados por stack e foco. Comentarios inline propostos para validacao do usuario.
193 other projects use a version of this.
Adopted by
Most recently taken up by
- garrytan/gstacktheir own version, first seen Oct 7, 2026
- joi-fairshare/agentic-workflowtheir own version, first seen Oct 5, 2026
- kurofune/claudittheir own version, first seen Oct 5, 2026
- kopp0510/claude-ddtheir own version, first seen Oct 5, 2026
- muon-m2/magento2-toolstheir own version, first seen Oct 4, 2026
- dzhng/skillstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use cso, plan-devex-review and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ayudaySkillcso
Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, attack surface analysis, auth flow verification, secret detection, dependency CVE scanning, supply chain risk assessment, and data classification review. Use when: "security audit", "threat model", "pentest review", "OWASP", "CSO review".
Also in 11 projects that use this
seek888Skillplan-devex-review
Interactive developer experience plan review. Explores developer personas, benchmarks against competitors, designs magical moments, and traces friction points before scoring. Three modes: DX EXPANSION (competitive advantage), DX POLISH (bulletproof every touchpoint), DX TRIAGE (critical gaps only). Use when asked to "DX review", "developer experience audit", "devex review", or "API design review". Proactively suggest when the user has a plan for developer-facing products (APIs, CLIs, SDKs, libraries, platforms, docs). (gstack) Voice triggers (speech-to-text aliases): "dx review", "developer experience review", "devex review", "devex audit", "API design review", "onboarding review".
Also in 9 projects that use this
seek888Skillopen-gstack-browser
Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".
Also in 5 projects that use this
ayudaySkillsetup-deploy
Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".
Also in 11 projects that use this
Kit4SomeSkillunfreeze
Also in 12 projects that use this
AICreator-WindSkilldesign-consultation
设计合作伙伴工具。构建完整设计系统,提供专业设计建议。
Also in 12 projects that use this
- +1 more from seek888
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- garrytan/gstack★ 143ksame name
- anthropics/claude-for-legal★ 9.6ksame name
- vercel/eve★ 5.5ksame name
- microsoft/FluidFramework★ 4.9ksame name
- ccch1mneyyy/dsh-TUI★ 4ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- dzhng/jevgrep★ 2.3ksame name
- getsentry/sentry-react-native★ 1.8ksame name
- skyllwt/AutoSci★ 1.7ksame name
- nagisanzenin/engram★ 1.4ksame name
183 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- ado-closeSkill
- ado-commentSkill
- ado-getSkill
- ado-refineSkill
- approve-reviewSkill
- autoSkill
- dart-clean-archSkill
- fixSkill
- flutter-clean-archSkill
- implementSkill
- kickoffSkill
- orcamentoSkill
- planSkill
- post-reviewSkill
- pr-openSkill
- pr-statusSkill
- refineSkill
- specifySkill
- statusSkill
- tasksSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 167 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 110
Use exatamente esse numero (c + offset) no campo line.
“Common” is measured: kept by at least 6 in 10 of the 167 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
1. Detectar projeto
PROJECT_PATH=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
PROJECT_NAME=$(basename "$PROJECT_PATH")
REVIEWS_DIR="$HOME/.claude/workflow/$PROJECT_NAME/reviews"
mkdir -p "$REVIEWS_DIR"Confirme que gh esta autenticado:
gh auth statusSe nao estiver, peca: "Execute gh auth login antes de continuar."
2. Determinar PR alvo
Se o usuario passou um numero de PR como argumento, use esse numero diretamente.
Se nao passou, liste PRs abertos:
gh pr list --json number,title,author,headRefName,updatedAt --limit 30 \
--jq '.[] | "#\(.number) — \(.title) (@\(.author.login), \(.headRefName))"'Apresente a lista numerada e pergunte qual PR revisar. Aguarde a resposta.
Guarde como PR_NUM.
3. Coletar contexto do PR
gh pr view "$PR_NUM" --json number,title,body,baseRefName,headRefName,author,files \
> "$REVIEWS_DIR/PR-${PR_NUM}.meta.json"
gh pr diff "$PR_NUM" > "$REVIEWS_DIR/PR-${PR_NUM}.diff"Leia ambos os arquivos. Liste os arquivos modificados:
jq -r '.files[].path' "$REVIEWS_DIR/PR-${PR_NUM}.meta.json"4. Detectar stacks afetadas
Classifique cada arquivo modificado em uma ou mais stacks pelas regras abaixo. Um arquivo pode pertencer a mais de uma stack (ex: .dart em flutter package → flutter E dart).
| Padrao | Stack |
*.dart em arvore com pubspec.yaml que depende de flutter | flutter |
*.dart (todos) | dart |
*.ts ou *.js em arvore com package.json contendo @nestjs/* | nestjs |
android/**, *.kt, *.java (fora de teste flutter) | android |
ios/**, *.swift, *.m, *.mm, *.h (fora de flutter pods) | ios |
*.tf, cloudbuild*.yaml, app.yaml, .gcloudignore, arquivos referenciando gcloud/firebase | gcp |
Se nenhum padrao bater para um arquivo (ex: docs, config), ignore-o do review tecnico.
Stacks unicas detectadas → DETECTED_STACKS.
5. Verificar agentes disponiveis — GATE
Para cada stack detectada, verifique se existem os 5 agentes de foco:
FOCUSES=(correctness architecture performance security testing)
MISSING=()
for stack in "${DETECTED_STACKS[@]}"; do
for focus in "${FOCUSES[@]}"; do
test -f ~/.claude/agents/${stack}-${focus}.md || MISSING+=("${stack}-${focus}")
done
doneSe MISSING estiver vazio: prossiga.
Se faltar algum agente: PAUSE o fluxo e avise:
"Detectei a(s) stack(s)
<lista>neste PR, mas faltam os seguintes agentes:
<stack>-<focus>- ...
Quero criar esses agentes com voce antes de continuar a revisao. Para cada agente faltante, preciso entender:
- Quais sao os principais riscos/padroes desse foco nessa stack neste seu contexto?
- Existem regras especificas (lint, convencoes, anti-patterns) que devem ser sempre flagged?
Posso comecar pelo
<primeiro-da-lista>?"
Aguarde a definicao do usuario. Crie cada agente em ~/.claude/agents/<nome>.md antes de prosseguir. So volte ao passo 6 quando todos os agentes existirem.
6. Executar revisao com agentes
Para cada combinacao (stack, focus) em DETECTED_STACKS x FOCUSES:
- Filtre os arquivos modificados que pertencem a essa stack
- Lance o agente
<stack>-<focus>em paralelo (mesma message com variosAgentcalls quando possivel) - Passe ao agente:
- Lista de arquivos relevantes (paths absolutos)
- Caminho do diff:
$REVIEWS_DIR/PR-${PR_NUM}.diff Instrucao: "Leia o diff e os arquivos. Retorne JSON array de comentarios inline. Schema:
[{path, line, severity, body}]. severity ∈ critical|major|minor|nit. Sem prosa fora do JSON.IMPORTANTE sobre
line: o numero deve ser a linha no arquivo NEW (pos-imagem), nao o offset dentro do diff. Para encontrar a linha correta:- Procure o hunk header
@@ -a,b +c,d @@que contem o trecho que voce quer comentar. - A primeira linha de conteudo apos esse header corresponde a linha
cdo arquivo NEW. - Cada linha que comeca com
+ou(espaco/contexto) avanca o contador da linha NEW; linhas que comecam com-nao avancam. - Use exatamente esse numero (
c + offset) no campoline. - Para arquivos novos (
@@ -0,0 +1,N @@), a linha NEW vai de 1 ate N. - Nunca use a posicao da linha dentro do arquivo .diff inteiro — o GitHub rejeita."
- Procure o hunk header
Colete todas as respostas. Cada agente retorna um array (vazio se nada a flagged).
7. Consolidar review draft
Crie $REVIEWS_DIR/PR-${PR_NUM}.md com este formato:
---
pr: <PR_NUM>
title: <titulo do PR>
author: <author>
branch: <head> -> <base>
stacks: <stacks detectadas>
status: draft
generated_at: <ISO timestamp>
---
# Review PR #<PR_NUM> — <titulo>
## Resumo
- **Arquivos analisados:** N
- **Stacks:** <lista>
- **Agentes executados:** <count>
- **Achados:** X critical, Y major, Z minor, W nit
## Comentarios inline
### `<path/do/arquivo>`
#### Linha <N> — <severity> [<stack>-<focus>]
<body do comentario>
#### Linha <M> — <severity> [<stack>-<focus>]
<body>
### `<outro/arquivo>`
...
## Veredicto sugerido
<APPROVE | COMMENT | REQUEST_CHANGES> — <justificativa em 1 linha>
Regra:
- Se ha qualquer `critical` ou >= 3 `major` → REQUEST_CHANGES
- Se ha `major` (1-2) ou apenas `minor`/`nit` → COMMENT
- Se nao ha achados → APPROVETambem salve o JSON consolidado para o /post-review:
# $REVIEWS_DIR/PR-${PR_NUM}.comments.json
[
{"path": "...", "line": N, "severity": "...", "body": "...", "agent": "stack-focus"},
...
]8. Apresentar para o usuario
Mostre um resumo conciso:
- Total de comentarios por severidade
- Veredicto sugerido
- Caminho do arquivo:
$REVIEWS_DIR/PR-${PR_NUM}.md
Finalize: "Review draft gerado. Revise/edite PR-<num>.md se quiser ajustar. Quando estiver pronto: /approve-review <PR_NUM>."
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.

