본문으로 건너뛰기
cccskills
무료GitHub에 공개

llm-evals

Use when validating, benchmarking, or monitoring LLM application performance. Keywords: RAG evaluation, LLM-as-a-judge, CI/CD gating, trajectory scoring, test suites, prompt quality.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구OpenAI
설치 방법 보기

포함된 파일(1)

  • SKILL.md4.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

LLM Evaluation & Validation Framework

Overview

The llm-evals skill provides a systematic framework for evaluating and monitoring Large Language Model (LLM) applications throughout the development lifecycle. It bridges the gap between ad-hoc testing and production-grade reliability by implementing rigorous evaluation pipelines, metric-driven gating, and dataset versioning.

When To Use

  • Setting up automated evaluation pipelines for LLM chains.
  • Developing or refining RAG (Retrieval-Augmented Generation) systems.
  • Preparing LLM applications for production deployment.
  • Investigating performance regressions in complex, multi-step agent trajectories.
  • Defining custom rubrics for LLM-as-a-Judge scenarios.

Core Concepts

  • Trajectory-Level Evaluation: Scoring intermediate reasoning steps, tool choices, and argument precision, moving beyond just final output metrics.
  • LLM-as-a-Judge: Using capable models (e.g., GPT-4o, Claude 3.5 Sonnet) as automated judges to score outputs based on user-defined rubrics.
  • Metric Tiers:
    • Unit: Single prompt/completion pairs.
    • Integration: Individual chains or multi-step logic.
    • System: End-to-end user intent fulfillment evaluation.
  • Golden Datasets: Version-controlled suites containing ground-truth, negative test cases, and edge cases to ensure consistent benchmarks.
  • Calibration: Ensuring LLM judges align with human grading, including inter-rater reliability checks.

Workflow

  1. Dataset Curation: Create and version control evaluation suites using JSON/YAML formats, incorporating synthetic failure injections.
  2. Metric Definition: Define evaluation criteria (e.g., faithfulness, relevancy, G-Eval) using established frameworks.
  3. Execution: Run evaluations locally or in CI environments using tools like promptfoo or deepeval.
  4. Analysis: Review evaluation reports to identify bottlenecks or high-error clusters.
  5. CI/CD Integration: Incorporate gating steps in deployment pipelines to automatically block commits failing established regression thresholds.
  6. Continuous Monitoring: Shift evaluation metrics into production monitoring (e.g., Langfuse) to track drift.

Key Patterns

  • G-Eval Implementation: Define specific rubrics in code, providing chain-of-thought instructions to the judge model.
  • Negative Case Injection: Always include scenarios where the model SHOULD refuse to answer or identify missing context.
  • Pipeline Gating Example:
    # promptfoo.yaml
    prompts: [prompt.txt]
    providers: [openai:gpt-4o]
    tests:
      - vars: {query: "..."}
        assert:
          - type: llm-rubric
            value: "response must accurately cite the provided context"
          - type: g-eval
            criteria: "conciseness"
    
  • Trajectory Scoring: Log intermediate tool call history and validate against expected sequences.

Quality Gates

  • Regression Thresholds: Strict pass/fail criteria on defined metrics (e.g., Faithfulness > 0.85).
  • Inter-rater Reliability: Ensure judge model scores correlate highly (Pearson/Spearman > 0.7) with human samples.
  • Coverage: Evaluation suite must cover 100% of defined edge cases before major version releases.
  • Latency Constraints: Evaluation must complete within acceptable CI time-windows (e.g., < 10 minutes for full test suites).

References

  • DeepEval - Unit testing for LLMs.
  • Promptfoo - Command-line tool for test and evaluate LLM prompts.
  • Langfuse - Open-source observability and analytics for LLM apps.
  • Ragas - RAG evaluation metrics (Faithfulness, Relevancy, Context Precision/Recall).

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

2d-games

무료

2D game development principles. Sprites, tilemaps, physics, camera.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VoDaiLocz/kilo-kit-mcp282026년 9월 13일 업데이트

3d-games

무료

3D game development principles. Rendering, shaders, physics, cameras.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VoDaiLocz/kilo-kit-mcp282026년 9월 13일 업데이트

aesthetic

무료

Create aesthetically beautiful interfaces following proven design principles. Use when building UI/UX, analyzing designs from inspiration sites, generating design images with ai-multimodal, implementing visual hierarchy and color theory, adding micro-interactions, or creating design documentation. Includes workflows for capturing and analyzing inspiration screenshots with chrome-devtools and ai-multimodal, iterative design image generation until aesthetic standards are met, and comprehensive design system guidance covering BEAUTIFUL (aesthetic principles), RIGHT (functionality/accessibility), SATISFYING (micro-interactions), and PEAK (storytelling) stages. Integrates with chrome-devtools, ai-multimodal, media-processing, ui-styling, and web-frameworks skills.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VoDaiLocz/kilo-kit-mcp282026년 9월 13일 업데이트

Use when implementing or managing persistent, hierarchical memory systems for AI agents. Covers cross-session state, fact supersession, and self-managed memory tools to enable long-term recall and adaptive agent behavior.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VoDaiLocz/kilo-kit-mcp282026년 9월 13일 업데이트

Use when monitoring, tracing, or debugging agentic workflows in production. Keywords: observability, tracing, OpenTelemetry, Langfuse, latency, token cost, loop detection, telemetry.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VoDaiLocz/kilo-kit-mcp282026년 9월 13일 업데이트

Use when building self-correcting retrieval systems for AI agents. Keywords: RAG, retrieval, Corrective RAG, Self-RAG, query decomposition, reranking, hallucination, grounding.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VoDaiLocz/kilo-kit-mcp282026년 9월 13일 업데이트

VoDaiLocz의 스킬 모두 보기

이 스킬의 문제 신고