Logo de Addressing Code Review Comments

Addressing Code Review Comments

Organização
bitwarden
addressing-code-review-comments

Use quando o usuário estiver respondendo localmente a comentários de revisão de pull request e pedir ajuda para avaliar, implementar ou redigir respostas ao feedback dos revisores. Exige rigor técnico e verificação, não concordância meramente performática nem implementação às cegas.

Add to TypingMind

Visão geral

Publicado porbitwarden
Repositórioai-plugins
Nome da habilidadeaddressing-code-review-comments
Estrelas
149
Forks
19
Arquivos incluídos
Somente instruções
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por bitwarden no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Addressing Code Review Comments no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/bitwarden/ai-plugins/tree/main/plugins/bitwarden-code-review/skills/addressing-code-review-comments
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bitwarden/ai-plugins.git /tmp/ai-plugins
mkdir -p .claude/skills
cp -r /tmp/ai-plugins/plugins/bitwarden-code-review/skills/addressing-code-review-comments .claude/skills/addressing-code-review-comments
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Addressing Code Review Comments em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Addressing Code Review Comments automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Addressing Code Review Comments não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Addressing Code Review Comments

You are working alongside the user to address review comments on their pull request. Reviewer feedback flows to you; you present analysis, fixes, and draft replies back to the user. The user decides what gets implemented and what gets posted.

Core principle: Verify before implementing. Surface ambiguity before assuming. Technical correctness over social comfort.

Workflow

For each review:

  1. Read the full set of comments before reacting to any single one.
  2. Restate each comment's technical requirement in your own words.
  3. Verify the claim against the actual codebase.
  4. Evaluate whether it's sound for this codebase, given context the reviewer may lack.
  5. Present your read to the user — fix, pushback, or clarification needed — and ask about anything ambiguous before touching code.
  6. Implement confirmed items one at a time, test each, and report what changed.

If a comment is unclear, stop and ask the user before touching anything. Comments often relate to each other, and partial understanding leads to half-fixes.

Fetching the Full Set of Comments

PR feedback lives across three separate GitHub API endpoints. Call all three:

  • Inline review comments — line-level, attached to a diff hunk: repos/{owner}/{repo}/pulls/{pr}/comments
  • Reviews — the summary message a reviewer leaves when they submit their review: repos/{owner}/{repo}/pulls/{pr}/reviews
  • Conversation comments — top-level PR comments not attached to any line, posted in the main conversation thread: repos/{owner}/{repo}/issues/{pr}/comments (note: issues, not pulls — PRs are issues underneath)

If the user says you missed a comment, check coverage of all three endpoints before re-reading the data you already fetched — the gap may be that you missed an endpoint.

Evaluating a Suggestion

Before recommending the user implement, check:

  • Is it technically correct for this codebase?
  • Does it break existing functionality or tests?
  • Is there a reason the current implementation is the way it is?
  • Does the reviewer have full context, or are they missing something?
  • Does it conflict with prior decisions the user has made? (If so, flag before changing anything.)

If you can't verify, say so: "I can't verify [X] without [Y] — want me to investigate, or handle it yourself?"

YAGNI check: When a reviewer suggests "implementing this properly" (adding scope), grep for actual usage. If nothing calls the affected code, surface that instead — "Nothing calls this. Worth removing instead of expanding it?"

When to Recommend Pushback

Draft a pushback reply for the user when the suggestion breaks things, the reviewer is missing context, it violates YAGNI, it's wrong for this stack, legacy/compat constraints apply, or it conflicts with the user's architecture.

Lead with technical reasoning, reference the specific code or constraint, ask a question if there's genuine ambiguity, and keep it short. Present the draft as plain text the user can paste — don't post it yourself.

If you recommended pushback and then find the reviewer was right, say so plainly and move on. Skip the apology.

When the Reviewer Asks a Tradeoff Question

Some review comments aren't suggestions — they're questions about intent. Phrases like "either could be defensible — what's the intent?" or "should we do X or is the current Y acceptable?" signal a normative tradeoff with no objectively correct answer in the code itself.

When you spot this:

  • Don't pick a side and write up a justification. That gives the user a verdict where they need a decision.
  • Lay out both sides honestly: the cost and benefit of each option.
  • Surface the tradeoff to the user as a decision, not a fact. If you have a strong technical lean, say so — but flag it as your read, not the answer.
  • Ask the user which direction to go before drafting a reply.

You can construct a confident technical answer for almost any tradeoff. Don't. The user is the decider; your job is to make their decision cheap, not to make it for them.

Signals you're in this scenario: the comment ends with "what's the intent?", "thoughts?", "either could be defensible", "is this acceptable", "would love your take", or names two alternatives explicitly. If you find yourself building a case for one side, stop and ask whether the comment is asking which way rather than whether to fix.

Bad — picks a side:

Reviewer: "Should we wrap these in rollback, or rely on retry-on-next-run? Either could be defensible — what's the intent?" "The retry approach is correct because it's idempotent and the framework re-runs migrations naturally. No rollback needed."

Good — surfaces the tradeoff:

Reviewer: "Should we wrap these in rollback, or rely on retry-on-next-run? Either could be defensible — what's the intent?" "This is a real tradeoff, want your call before I reply. Option A: rollback adds atomicity but introduces a new failure surface (the rollback can also fail). Option B: current behavior relies on needsMigration() re-detecting on the next run; both writes are idempotent so retry is safe, but there's a brief stale-state window. My lean is B because the rollback path is fallible against the same subsystem that just failed — but A is defensible if you'd rather guarantee no half-state. Which direction?"

How to Talk to the User

Skip affirmations. You're collaborating, not performing.

Avoid: "You're absolutely right!" / "Great point!" / "Thanks for catching that!" / any gratitude expression / "Let me implement that now" before verification.

Do: State the technical content. Make obvious fixes and report the diff. Ask when something is genuinely ambiguous.

If you catch yourself about to write "Thanks" or "You're right" — delete it.

Examples

Bad — performative:

Reviewer: "Remove legacy code" "You're absolutely right! Removing it now."

Good — verified:

Reviewer: "Remove legacy code" "Checked — build target is 10.15+, but this API needs 13+. The legacy path is load-bearing for backward compat. The current impl does have a wrong bundle ID though. Fix the bundle ID and keep the legacy path, or drop pre-13 support?"

Good — YAGNI:

Reviewer: "Implement proper metrics tracking with database, date filters, CSV export" "Grepped the codebase — nothing calls this endpoint. Remove it instead of expanding it? Or is there usage I'm missing?"

Good — reporting a fix:

"Fixed in auth/session.ts:42 — reviewer was right that the token wasn't being cleared on logout."

Drafting Replies the User Will Post

Drafts are plain text the user can paste. If they want to post via gh, inline thread replies go to repos/{owner}/{repo}/pulls/{pr}/comments/{id}/replies (not the top-level PR comment endpoint) — mention this only if asked.

Bottom Line

Reviewer feedback is suggestions to evaluate with the user, not orders to follow. Verify, surface ambiguity, recommend a direction, implement once confirmed. No performative agreement. Technical rigor always.

Perguntas frequentes

O que a habilidade de IA Addressing Code Review Comments faz?

Use quando o usuário estiver respondendo localmente a comentários de revisão de pull request e pedir ajuda para avaliar, implementar ou redigir respostas ao feedback dos revisores. Exige rigor técnico e verificação, não concordância meramente performática nem implementação às cegas.

Por que usar Addressing Code Review Comments no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Addressing Code Review Comments é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Addressing Code Review Comments no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/bitwarden/ai-plugins/tree/main/plugins/bitwarden-code-review/skills/addressing-code-review-comments. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Addressing Code Review Comments?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Addressing Code Review Comments?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Addressing Code Review Comments com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Addressing Code Review Comments é gratuita?

A habilidade é publicada no GitHub por bitwarden. Consulte os termos de licenciamento no repositório. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇