Community编程与开发github.com

github/eval-driven-dev

通过评估驱动的开发来改进AI应用。定义评估标准、检测应用、构建黄金数据集、观察和评估应用运行、分析结果,并生成具体的改进行动方案。当用户要求为任何调用LLM模型的Python项目设置质量保证、添加测试、添加评估、基准测试、修复错误行为、改进质量或进行质量保证时,始终使用此技能。

eval-driven-dev 是什么?

该技能旨在引导开发者采用评估驱动开发(Evaluation-Driven Development, EDD)方法论,持续提升基于大语言模型(LLM)的Python应用质量。它提供了一套完整的工作流程:从定义评估指标到检测应用、构建“黄金数据集”(Golden Datasets),再到观察并评估运行过程,最终分析结果并产出具体的改进计划。此技能适用于Cursor、Claude Code等主流AI开发代理平台,特别适合在用户请求设置QA、添加测试或评估、基准测试、修复错误行为或改进质量时自动触发。其核心机制是通过系统化评估而非主观判断来推动改进,确保AI应用的行为符合预期并持续优化。使用该技能时,开发者需要遵循其文档中的步骤,利用内置工具和指令来完成评估周期的各个阶段,从而快速发现并解决问题。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/github/awesome-copilot/tree/main/skills/eval-driven-dev

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

eval-driven-dev 是做什么的?

通过评估驱动的开发来改进AI应用。定义评估标准、检测应用、构建黄金数据集、观察和评估应用运行、分析结果,并生成具体的改进行动方案。当用户要求为任何调用LLM模型的Python项目设置质量保证、添加测试、添加评估、基准测试、修复错误行为、改进质量或进行质量保证时,始终使用此技能。

概述

评估驱动开发 (EDD) 是一种系统化的方法,用于构建和迭代改进AI应用。它通过正式评估来定义质量,将评估过程自动化,并利用结果数据指导改进。此技能将引导你完成以下关键步骤:

  1. 定义评估标准:明确你的应用在哪些方面需要良好表现(例如:准确性、安全性、格式)。
  2. 检测应用:添加必要的日志和指标,以便能够观察应用的行为。
  3. 构建黄金数据集:创建带有理想输出的示例输入集合,作为评估的基础。
  4. 观察与评估:在应用运行或回放时,收集数据并对照标准进行评估。
  5. 分析结果:找出模式——哪些地方表现良好?哪些地方反复出错?
  6. 制定行动计划:根据分析结果,生成具体的、可操作的改进步骤。

开始使用

要使用此技能,请确保你的开发环境支持AI代理(如Cursor或Claude Code)。技能会自动检测你项目中的Python文件,并引导你完成后续步骤。

工作流程

  1. 初始化评估:运行 eval_driven_dev init 来设置项目结构(如果需要)。
  2. 运行完整流程:按照交互式提示,逐步完成从定义到行动计划的每个阶段。
  3. 审查结果:技能会生成详细的报告和计划,供你审查和实施。

最佳实践

  • 从小处着手:从关键场景开始,逐步扩大评估范围。
  • 迭代改进:每次评估后立即应用行动计划,然后重新评估。
  • 保持数据集更新:随着需求变化,持续完善你的黄金数据集。

支持与反馈

如有问题或改进建议,请参考官方文档或社区资源。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

github/acquire-codebase-knowledge

Use this skill when the user explicitly asks to map, document, or onboard into an existing codebase. Trigger for prompts like "map this codebase", "document this architecture", "onboard me to this repo", or "create codebase docs". Do not trigger for routine feature implementation, bug fixes, or narrow code edits unless the user asks for repository-level discovery.

github/add-educational-comments

Add educational comments to the file specified, or prompt asking for file to comment if one is not provided.

github/agent-governance

Patterns and techniques for adding governance, safety, and trust controls to AI agent systems. Use this skill when: - Building AI agents that call external tools (APIs, databases, file systems) - Implementing policy-based access controls for agent tool usage - Adding semantic intent classification to detect dangerous prompts - Creating trust scoring systems for multi-agent workflows - Building audit trails for agent actions and decisions - Enforcing rate limits, content filters, or tool restrictions on agents - Working with any agent framework (PydanticAI, CrewAI, OpenAI Agents, LangChain, AutoGen)

github/agentic-eval

Patterns and techniques for evaluating and improving AI agent outputs. Use this skill when: - Implementing self-critique and reflection loops - Building evaluator-optimizer pipelines for quality-critical generation - Creating test-driven code refinement workflows - Designing rubric-based or LLM-as-judge evaluation systems - Adding iterative improvement to agent outputs (code, reports, analysis) - Measuring and improving agent response quality

github/agent-owasp-compliance

Check any AI agent codebase against the OWASP Agentic Security Initiative (ASI) Top 10 risks. Use this skill when: - Evaluating an agent system's security posture before production deployment - Running a compliance check against OWASP ASI 2026 standards - Mapping existing security controls to the 10 agentic risks - Generating a compliance report for security review or audit - Comparing agent framework security features against the standard - Any request like "is my agent OWASP compliant?", "check ASI compliance", or "agentic security audit"

github/ai-prompt-engineering-safety-review

Comprehensive AI prompt engineering safety review and improvement prompt. Analyzes prompts for safety, bias, security vulnerabilities, and effectiveness while providing detailed improvement recommendations with extensive frameworks, testing methodologies, and educational content.

github/appinsights-instrumentation

Instrument a webapp to send useful telemetry data to Azure App Insights

github/apple-appstore-reviewer

Serves as a reviewer of the codebase with instructions on looking for Apple App Store optimizations or rejection reasons.

github/architecture-blueprint-generator

Comprehensive project architecture blueprint generator that analyzes codebases to create detailed architectural documentation. Automatically detects technology stacks and architectural patterns, generates visual diagrams, documents implementation patterns, and provides extensible blueprints for maintaining architectural consistency and guiding new development.

github/arch-linux-triage

Triage and resolve Arch Linux issues with pacman, systemd, and rolling-release best practices.

github/arize-ai-provider-integration

Creates, reads, updates, and deletes Arize AI integrations that store LLM provider credentials used by evaluators and other Arize features. Supports any LLM provider (e.g. OpenAI, Anthropic, Azure OpenAI, AWS Bedrock, Vertex AI, Gemini, NVIDIA NIM). Use when the user mentions AI integration, LLM provider credentials, create integration, list integrations, update credentials, delete integration, or connecting an LLM provider to Arize.

github/arize-annotation

Creates and manages annotation configs (categorical, continuous, freeform label schemas) and annotation queues (human review workflows) on Arize. Applies human annotations to project spans via the Python SDK. Use when the user mentions annotation config, annotation queue, label schema, human feedback, bulk annotate spans, update_annotations, labeling queue, annotate record, or human review.

github/arize-dataset

Creates, manages, and queries Arize datasets and examples. Covers dataset CRUD, appending examples, exporting data, and file-based dataset creation using the ax CLI. Use when the user needs test data, evaluation examples, or mentions create dataset, list datasets, export dataset, append examples, dataset version, golden dataset, or test set.

github/arize-evaluator

Handles LLM-as-judge evaluation workflows on Arize including creating/updating evaluators, running evaluations on spans or experiments, managing tasks, trigger-run operations, column mapping, and continuous monitoring. Use when the user mentions create evaluator, LLM judge, hallucination, faithfulness, correctness, relevance, run eval, score spans, score experiment, trigger-run, column mapping, continuous monitoring, or improve evaluator prompt.

github/arize-experiment

Creates, runs, and analyzes Arize experiments for evaluating and comparing model performance. Covers experiment CRUD, exporting runs, comparing results, and evaluation workflows using the ax CLI. Use when the user mentions create experiment, run experiment, compare models, model performance, evaluate AI, experiment results, benchmark, A/B test models, or measure accuracy.

github/arize-instrumentation

Adds Arize AX tracing to an LLM application for the first time. Follows a two-phase agent-assisted flow to analyze the codebase then implement instrumentation after user confirmation. Use when the user wants to instrument their app, add tracing from scratch, set up LLM observability, integrate OpenTelemetry or openinference, or get started with Arize tracing.

github/arize-link

Generates deep links to the Arize UI for traces, spans, sessions, datasets, labeling queues, evaluators, and annotation configs. Produces clickable URLs for sharing Arize resources with team members. Use when the user wants to link to or open a trace, span, session, dataset, evaluator, or annotation config in the Arize UI.

github/arize-prompt-optimization

Optimizes, improves, and debugs LLM prompts using production trace data, evaluations, and annotations. Extracts prompts from spans, gathers performance signal, and runs a data-driven optimization loop using the ax CLI. Use when the user mentions optimize prompt, improve prompt, make AI respond better, improve output quality, prompt engineering, prompt tuning, or system prompt improvement.

github/arize-trace

Downloads, exports, and inspects existing Arize traces and spans to understand what an LLM app is doing or debug runtime issues. Covers exporting traces by ID, spans by ID, sessions by ID, and root-cause investigation using the ax CLI. Use when the user wants to look at existing trace data, see what their LLM app is doing, export traces, download spans, investigate errors, or analyze behavior regressions.

github/aspire

Aspire skill covering the Aspire CLI, AppHost orchestration, service discovery, integrations, MCP server, VS Code extension, Dev Containers, GitHub Codespaces, templates, dashboard, and deployment. Use when the user asks to create, run, debug, configure, deploy, or troubleshoot an Aspire distributed application.

相关技能