behavioral-evals

Orientação para criar, executar, corrigir e promover avaliações comportamentais. Use ao verificar a lógica de decisão do agente, depurar falhas, depurar prompt…

npx skills add https://github.com/google-gemini/gemini-cli --skill behavioral-evals

Behavioral Evals

Overview

Behavioral evaluations (evals) are tests that validate the agent's decision-making (e.g., tool choice) rather than pure functionality. They are critical for verifying prompt changes, debugging steerability, and preventing regressions.

[!NOTE] Single Source of Truth: For core concepts, policies, running tests, and general best practices, always refer to evals/README.md.


🔄 Workflow Decision Tree

  1. Does a prompt/tool change need validation?
    • No -> Normal integration tests.
    • Yes -> Continue below.
  2. Is it UI/Interaction heavy?
  3. Is it a new test?
    • Yes -> Set policy to USUALLY_PASSES.
    • No -> ALWAYS_PASSES (locks in regression).
  4. Are you fixing a failure or promoting a test?

📋 Quick Checklist

1. Setup Workspace

Seed the workspace with necessary files using the files object to simulate a realistic scenario (e.g., NodeJS project with package.json).

2. Write Assertions

Audit agent decisions using rig.setBreakpoint() (AppRig only) or index verification on rig.readToolLogs().

3. Verify

Run single tests locally with Vitest. Confirm stability locally before relying on CI workflows.


📦 Bundled Resources

Detailed procedural guides:

  • creating.md: Assertion strategies, Rig selection, Mock MCPs.
  • fixing.md: Step-by-step automated investigation, architecture diagnosis guidelines.
  • promoting.md: Candidate identification criteria and threshold guidelines.

Mais skills de google-gemini

greeter
google-gemini
Uma habilidade de saudação amigável
official
async-pr-review
google-gemini
Acione esta habilidade quando o usuário quiser iniciar uma revisão de PR assíncrona, executar verificações em segundo plano em um PR ou verificar o status de uma revisão de PR assíncrona iniciada anteriormente…
official
ci
google-gemini
Uma habilidade especializada para o Gemini CLI que fornece alta performance e falha rápida.
official
code-reviewer
google-gemini
Revisão automatizada de código para alterações locais e pull requests remotos, com análise estruturada em correção, manutenibilidade e segurança. Suporta alterações no sistema de arquivos local (staged e unstaged) e PRs remotos (por número ou URL) com checkout automático via GitHub CLI. Analisa o código em sete dimensões: correção, manutenibilidade, legibilidade, eficiência, segurança, tratamento de casos extremos e cobertura de testes. Executa suítes opcionais de verificação preflight (ex.: npm run preflight) para detectar...
official
docs-changelog
google-gemini
We need to translate the given text from English to Brazilian Portuguese. The text describes a skill that generates changelog files. We must preserve the name "docs-changelog" but it's not in the text, so we don't include it. We translate the entire text inside <text>. No extra labels or commentary. Just the translation. Let's translate: "Generates and formats changelog files for new releases with version-aware templates and highlight extraction. Handles three release types: stable minor versions, stable patches, and preview releases, each with distinct file update procedures Automatically processes raw markdown release notes by reformatting PR URLs to markdown links and removing contributor sections Generates concise 3–5 point highlight summaries for release announcements, prioritizing new features over bug fixes Supports..." Translation: "Gera e formata arquivos de changelog para novos lançamentos com modelos cientes de versão e extração de destaques. Lida com três tipos de lançamento: versões menores estáveis, patches estáveis e versões de pré-visual
official
docs-writer
google-gemini
Redação e edição técnica para documentação da CLI do Gemini com adesão rigorosa ao estilo. Aplica padrões abrangentes de documentação que abrangem voz, tom, gramática, formatação e estrutura para garantir consistência em todos os arquivos .md e no conteúdo do diretório /docs. Exige investigação do código relevante e da documentação existente antes de fazer alterações, com verificações de páginas impactadas e atualizações na navegação da barra lateral. Aplica regras específicas para títulos, listas, procedimentos, links e acessibilidade,...
official
github-issue-creator
google-gemini
Use esta habilidade quando solicitado a criar uma issue no GitHub. Ela lida com diferentes tipos de issue.
official
pirate-skill
google-gemini
Fale como um pirata.
official