Langsung ke konten
Skillpedia
Agen40k Β· #7191

eval-driven-dev

Fungsinya

Tool ini membantu menguji dan meningkatkan aplikasi AI. Tool ini mensimulasikan bagaimana pengguna sungguhan menggunakan aplikasi, memeriksa apakah jawabannya benar, dan memberikan saran perbaikan.

Kapan dipakai

  • βœ“Saat Anda ingin memastikan aplikasi AI berfungsi dengan benar.
  • βœ“Saat mengidentifikasi dan memperbaiki error pada aplikasi AI.
  • βœ“Untuk meningkatkan kualitas dan performa aplikasi AI.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/github/awesome-copilot/blob/main/skills/eval-driven-dev/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œTolong atur pengujian untuk aplikasi AI saya.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Tool ini menjalankan aplikasi dengan data uji, membandingkan hasilnya dengan ekspektasi menggunakan evaluator, dan menunjukkan apakah pengujian berhasil atau gagal.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.

…

Pertanyaan umum

Apa itu 'evaluator'?

Evaluator adalah alat yang menilai kualitas jawaban AI, misalnya memeriksa apakah jawabannya relevan atau sesuai format yang benar.

Mengapa saya tidak boleh mengganti AI dengan data uji palsu?

Karena tujuannya adalah menguji seluruh aplikasi, termasuk AI sungguhan. Jika diganti, pengujian menjadi tidak berguna karena Anda mengendalikan input dan output sekaligus.

Apa itu 'pixie test'?

Itu adalah tool yang menjalankan pengujian, mengumpulkan hasilnya, dan menampilkan laporan akhir berhasil atau gagal.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
40k
Peringkat
#7191
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa