본문으로 건너뛰기
Skillpedia
에이전트40k · #7191

eval-driven-dev

하는 일

이 도구는 AI 애플리케이션을 테스트하고 개선하는 데 도움을 줍니다. 실제 사용자가 애플리케이션을 쓰는 방식을 시뮬레이션하고, 응답이 올바른지 확인하며, 개선 사항을 제안합니다.

사용하는 경우

  • ✓AI 애플리케이션이 올바르게 작동하는지 확인하고 싶을 때.
  • ✓AI 애플리케이션의 오류를 찾아 고칠 때.
  • ✓AI 애플리케이션의 품질과 성능을 개선할 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/eval-driven-dev/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/eval-driven-dev/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 AI 애플리케이션의 테스트를 설정해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 도구는 테스트 데이터로 애플리케이션을 실행하고, 평가자를 사용해 결과를 기대치와 비교하며, 테스트가 통과했는지 실패했는지 보여 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Eval-Driven Development for Python LLM Applications

You're building an automated evaluation pipeline that tests a Python-based AI application end-to-end — running it the same way a real user would, with real inputs — then scoring the outputs using evaluators and producing pass/fail results via pixie test.

What you're testing is the app itself — its request handling, context assembly (how it gathers data, builds prompts, manages conversation state), routing, and response formatting. The app uses an LLM, which makes outputs non-deterministic — that's why you use evaluators (LLM-as-judge, similarity scores) instead of assertEqual — but the thing under test is the app's code, not the LLM.

During evaluation, the app's own code runs for real — routing, prompt assembly, LLM calls, response formatting — nothing is mocked or stubbed. But the data the app reads from external sources (databases, caches, third-party APIs, voice streams) is replaced with test-specified values via instrumentations. This means each test case controls exactly what data the app sees, while still exercising the full application code path.

Rule: The app's LLM calls must go to a real LLM. Do not replace, mock, stub, or intercept the LLM with a fake implementation. The LLM is the core value-generating component — replacing it makes the eval tautological (you control both inputs and outputs, so scores are meaningless). If the project's test suite contains LLM mocking patterns, those are for the project's own unit tests — do NOT adopt them for the eval Runnable.

The deliverable is a working pixie test run with real scores — not a plan, not just instrumentation, not just a dataset.

This skill is about doing the work, not describing it. Read code, edit files, run commands, produce a working pipeline.


Before you start

First, activate the virtual environment. Identify the correct virtual environment for the project and activate it. After the virtual environment is active, run the setup.sh included in the skill's resources. The script updates the eval-driven-dev skill and pixie-qa python package to latest version, initialize the pixie working directory if it's not already initialized, and start a web server in the background to show user updates.

Setup error handling — what you can skip vs. what must succeed:

  • Skill update fails → OK to continue. The existing skill version is sufficient.
  • pixie-qa upgrade fails but was already installed → OK to continue with the existing version.
  • pixie-qa is NOT installed and installation fails → STOP. Ask the user for help. The workflow cannot proceed without the pixie package.
  • pixie init fails → STOP. Ask the user for help.
  • pixie start (web server) fails → STOP. Ask the user for help. Check server.log in the pixie root directory for diagnostics. Common causes: port conflict, missing dependency, slow environment. Do NOT proceed without the web server — the user needs it to see eval results.

The workflow

Follow Steps 1–6 straight through without stopping. Do not ask the user for confirmation at intermediate steps — verify each step yourself and continue.

How to work — read this before doing anything else:

  • One step at a time. Read only the current step's instructions. Do NOT read Steps 2–6 while working on Step 1.
  • Read references only when a step tells you to. Each step names a specific reference file. Read it when you reach that step — not before.
  • Create artifacts immediately. After reading code for a sub-step, write the output file for that sub-step before moving on. Don't accumulate understanding across multiple sub-steps before writing anything.
  • Verify, then move on. Each step has a checkpoint. Verify it, then proceed to the next step. Don't plan future steps while verifying the current one.

When to stop and ask for help:

Some blockers cannot and should not be worked around. When you encounter any of the following, stop immediately and ask the user for help — do not attempt workarounds:

  • Application won't run due to missing environment variables or configuration: The app requires environment variables or configuration that are not set and cannot be inferred. Do NOT work around this by mocking, faking, or replacing application components — the eval must exercise real production code. Ask the user to fix the environment setup.

…

자주 묻는 질문

'평가자'란 무엇인가요?

AI의 응답 품질을 판단하는 도구입니다. 예를 들어 답변이 관련성이 있는지, 올바른 형식인지 확인합니다.

왜 AI를 가짜 테스트로 대체할 수 없나요?

목표가 실제 AI를 포함한 전체 애플리케이션을 테스트하는 것이기 때문입니다. AI를 대체하면 입력과 출력을 모두 통제하게 되어 테스트가 무의미해집니다.

'pixie test'란 무엇인가요?

테스트를 실행하고, 결과를 모으고, 최종 통과/실패 보고서를 보여 주는 도구입니다.

상세 정보

작성자의 원본 설명

Improve AI application with evaluation-driven development. Define eval criteria, instrument the application, build golden datasets, observe and evaluate application runs, analyze results, and produce a concrete action plan for improvements. ALWAYS USE THIS SKILL when the user asks to set up QA, add tests, add evals, evaluate, benchmark, fix wrong behaviors, improve quality, or do quality assurance

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7191
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬