AI Eval in CI
Test AI agents and LLM outputs the same way you test code — automated evaluations that run in CI, compare against baselines, and fail the build when quality drops. No dashboards to check manually. Just npx eval run ci and a red or green build.
概览
The AI Eval in CI skill, part of the TerminalSkills/skills repository (which has earned 71 stars), provides a framework for integrating Large Language Model (LLM) evaluation directly into continuous integration workflows. It allows developers to treat AI output testing with the same rigor as traditional software unit tests. By executing the command `npx eval run ci`, the tool performs automated evaluations and compares current results against established performance baselines. If the quality of the AI agent's response falls below the defined threshold, the CI build is triggered to fail, preventing regressions. This approach eliminates the need for manual dashboard monitoring by providing a binary pass/fail status within the developer's existing terminal-based or automated environment.
使用场景
安装说明
# Review source first
open https://github.com/TerminalSkills/skills/blob/main/skills/ai-eval-ci/SKILL.mdCopy or clone the skill folder into your agent skills directory after reviewing its instructions and scripts.
安全提示
This skill operates within the user's CI environment and interacts with external LLM APIs as configured by the user. It requires appropriate permissions to execute shell commands and access the source repository. Users should ensure that API keys and sensitive data used during the evaluation process are managed securely through environment variables or CI secrets, as the tool facilitates automated testing across various AI agents including Claude and Gemini.
相关 Skills
Deep Agents Core
langchain-ai/langchain-skills
在构建 ANY Deep Agents 应用程序时的 INVOKE THIS SKILL。涵盖了 create_deep_agent()、harness 架构、SKILL.md 格式以及配置选项。
Agentforce Test
forcedotcom/sf-skills
编写、运行和分析 Agentforce 代理的结构化测试套件 —— 功能性 AND 安全性。TRIGGER 场景:用户编写或修改测试规范 YAML (AiEvaluationDefinition);运行 sf agent test create、run、run-eval 或 results 命令;询问测试覆盖策略、指标选择或自定义评估;解释测试结果或诊断测试失败;询问批量测试、回归套件或 CI/CD 测试集成;请求安全测试、OWASP LLM Top 10、红队测试、渗透测试。
Dx Devops Test Pipeline Configure
forcedotcom/sf-skills
配置 DevOps Center 流水线测试基础设施:启用测试提供商以使其测试套件可用,重新同步已配置的提供商以拉取新套件,或在阶段上创建带有规则的质量门禁。在运行共享先决条件检查和显式确认门禁后,根据意图在三种模式之间进行路由。当用户想要设置、配置、启用、同步或刷新测试提供商,或者在 DevOps Center 流水线上设置/配置质量门禁或覆盖率阈值时,请使用此技能。