[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CD186CFXE6WP0XEKJ1T5V2":3,"skill-same:01M6CD186CFXE6WP0XEKJ1T5V2":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":62},"01M6CD186CFXE6WP0XEKJ1T5V2","llm-evaluation",null,"Implement comprehensive evaluation strategies for LLM applications using automated metrics, human feedback, and benchmarking. Use when testing LLM performance, measuring AI application quality, or establishing evaluation frameworks.","cercova-studios\u002F10x-swe","cercova-studios","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F217108198?v=4","01M6CCYGHXTH80N3BXRW6KESTE","Cercova Studios","01M6CCYGPADH5MJDR0VNNR775C",1,"MIT","https:\u002F\u002Fgithub.com\u002Fcercova-studios\u002F10x-swe\u002Fblob\u002Fmain\u002Fplugins\u002F10x-swe\u002Fskills\u002Fllm-evaluation\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"llm evaluation","Evaluation","application","frameworks","for","human","strategies","LLM Applications","when","metrics","implement","use","testing","applications","quality","performance","benchmarking","feedback","2026-11-10 10:12:30",false,"---\nname: llm-evaluation\ndescription: Implement comprehensive evaluation strategies for LLM applications using automated metrics, human feedback, and benchmarking. Use when testing LLM performance, measuring AI application quality, or establishing evaluation frameworks.\ndisable-model-invocation: true\n---\n\n# LLM Evaluation\n\nFor coding agents, generated applications or code reviewers, read the\n[coding-agent evaluation contract](references\u002Fcoding-agents.md). Require behavioral\nevidence and unchanged acceptance checks. General text metrics below do not\nestablish code correctness or authorize release.\n\nMaster comprehensive evaluation strategies for LLM applications, from automated metrics to human evaluation and A\u002FB testing.\n\n## When to Use This Skill\n\n- Measuring LLM application performance systematically\n- Comparing different models or prompts\n- Detecting performance regressions before deployment\n- Validating improvements from prompt changes\n- Building confidence in production systems\n- Establishing baselines and tracking progress over time\n- Debugging unexpected model behavior\n\n## Core Evaluation Types\n\n### 1. Automated Metrics\n\nFast, repeatable, scalable evaluation using computed scores.\n\n**Text Generation:**\n\n- **BLEU**: N-gram overlap (translation)\n- **ROUGE**: Recall-oriented (summarization)\n- **METEOR**: Semantic similarity\n- **BERTScore**: Embedding-based similarity\n- **Perplexity**: Language model confidence\n\n**Classification:**\n\n- **Accuracy**: Percentage correct\n- **Precision\u002FRecall\u002FF1**: Class-specific performance\n- **Confusion Matrix**: Error patterns\n- **AUC-ROC**: Ranking quality\n\n**Retrieval (RAG):**\n\n- **MRR**: Mean Reciprocal Rank\n- **NDCG**: Normalized Discounted Cumulative Gain\n- **Precision@K**: Relevant in top K\n- **Recall@K**: Coverage in top K\n\n### 2. Human Evaluation\n\nManual assessment for quality aspects difficult to automate.\n\n**Dimensions:**\n\n- **Accuracy**: Factual correctness\n- **Coherence**: Logical flow\n- **Relevance**: Answers the question\n- **Fluency**: Natural language quality\n- **Safety**: No harmful content\n- **Helpfulness**: Useful to the user\n\n### 3. LLM-as-Judge\n\nUse stronger LLMs to evaluate weaker model outputs.\n\n**Approaches:**\n\n- **Pointwise**: Score individual responses\n- **Pairwise**: Compare two responses\n- **Reference-based**: Compare to gold standard\n- **Reference-free**: Judge without ground truth\n\n## Quick Start\n\n```python\nfrom dataclasses import dataclass\nfrom typing import Callable\nimport numpy as np\n\n@dataclass\nclass Metric:\n    name: str\n    fn: Callable\n\n    @staticmethod\n    def accuracy():\n        return Metric(\"accuracy\", calculate_accuracy)\n\n    @staticmethod\n    def bleu():\n        return Metric(\"bleu\", calculate_bleu)\n\n    @staticmethod\n    def bertscore():\n        return Metric(\"bertscore\", calculate_bertscore)\n\n    @staticmethod\n    def custom(name: str, fn: Callable):\n        return Metric(name, fn)\n\nclass EvaluationSuite:\n    def __init__(self, metrics: list[Metric]):\n        self.metrics = metrics\n\n    async def evaluate(self, model, test_cases: list[dict]) -> dict:\n        results = {m.name: [] for m in self.metrics}\n\n        for test in test_cases:\n            prediction = await model.predict(test[\"input\"])\n\n            for metric in self.metrics:\n                score = metric.fn(\n                    prediction=prediction,\n                    reference=test.get(\"expected\"),\n                    context=test.get(\"context\")\n                )\n                results[metric.name].append(score)\n\n        return {\n            \"metrics\": {k: np.mean(v) for k, v in results.items()},\n            \"raw_scores\": results\n        }\n\n# Usage\nsuite = EvaluationSuite([\n    Metric.accuracy(),\n    Metric.bleu(),\n    Metric.bertscore(),\n    Metric.custom(\"groundedness\", check_groundedness)\n])\n\ntest_cases = [\n    {\n        \"input\": \"What is the capital of France?\",\n        \"expected\": \"Paris\",\n        \"context\": \"France is a country in Europe. Paris is its capital.\"\n    },\n]\n\nresults = await suite.evaluate(model=your_model, test_cases=test_cases)\n```\n\n## Automated Metrics Implementation\n\n### BLEU Score\n\n```python\nfrom nltk.translate.bleu_score import sentence_bleu, SmoothingFunction\n\ndef calculate_bleu(reference: str, hypothesis: str, **kwargs) -> float:\n    \"\"\"Calculate BLEU score between reference and hypothesis.\"\"\"\n    smoothie = SmoothingFunction().method4\n\n    return sentence_bleu(\n        [reference.split()],\n        hypothesis.split(),\n        smoothing_function=smoothie\n    )\n```\n\n### ROUGE Score\n\n```python\nfrom rouge_score import rouge_scorer\n\ndef calculate_rouge(reference: str, hypothesis: str, **kwargs) -> dict:\n    \"\"\"Calculate ROUGE scores.\"\"\"\n    scorer = rouge_scorer.RougeScorer(\n        ['rouge1', 'rouge2', 'rougeL'],\n        use_stemmer=True\n    )\n    scores = scorer.score(reference, hypothesis)\n\n    return {\n        'rouge1': scores['rouge1'].fmeasure,\n        'rouge2': scores['rouge2'].fmeasure,\n        'rougeL': scores['rougeL'].fmeasure\n    }\n```\n\n### BERTScore\n\n```python\nfrom bert_score import score\n\ndef calculate_bertscore(\n    references: list[str],\n    hypotheses: list[str],\n    **kwargs\n) -> dict:\n    \"\"\"Calculate BERTScore using pre-trained model.\"\"\"\n    P, R, F1 = score(\n        hypotheses,\n        references,\n        lang='en',\n        model_type='microsoft\u002Fdeberta-xlarge-mnli'\n    )\n\n    return {\n        'precision': P.mean().item(),\n        'recall': R.mean().item(),\n        'f1': F1.mean().item()\n    }\n```\n\n### Custom Metrics\n\n```python\ndef calculate_groundedness(response: str, context: str, **kwargs) -> float:\n    \"\"\"Check if response is grounded in provided context.\"\"\"\n    from transformers import pipeline\n\n    nli = pipeline(\n        \"text-classification\",\n        model=\"microsoft\u002Fdeberta-large-mnli\"\n    )\n\n    result = nli(f\"{context} [SEP] {response}\")[0]\n\n    # Return confidence that response is entailed by context\n    return result['score'] if result['label'] == 'ENTAILMENT' else 0.0\n\ndef calculate_toxicity(text: str, **kwargs) -> float:\n    \"\"\"Measure toxicity in generated text.\"\"\"\n    from detoxify import Detoxify\n\n    results = Detoxify('original').predict(text)\n    return max(results.values())  # Return highest toxicity score\n\ndef calculate_factuality(claim: str, sources: list[str], **kwargs) -> float:\n    \"\"\"Verify factual claims against sources.\"\"\"\n    from transformers import pipeline\n\n    nli = pipeline(\"text-classification\", model=\"facebook\u002Fbart-large-mnli\")\n\n    scores = []\n    for source in sources:\n        result = nli(f\"{source}\u003C\u002Fs>\u003C\u002Fs>{claim}\")[0]\n        if result['label'] == 'entailment':\n            scores.append(result['score'])\n\n    return max(scores) if scores else 0.0\n```\n\n## LLM-as-Judge Patterns\n\n### Single Output Evaluation\n\n```python\nfrom anthropic import Anthropic\nfrom pydantic import BaseModel, Field\nimport json\n\nclass QualityRating(BaseModel):\n    accuracy: int = Field(ge=1, le=10, description=\"Factual correctness\")\n    helpfulness: int = Field(ge=1, le=10, description=\"Answers the question\")\n    clarity: int = Field(ge=1, le=10, description=\"Well-written and understandable\")\n    reasoning: str = Field(description=\"Brief explanation\")\n\nasync def llm_judge_quality(\n    response: str,\n    question: str,\n    context: str = None\n) -> QualityRating:\n    \"\"\"Use Claude to judge response quality.\"\"\"\n    client = Anthropic()\n\n    system = \"\"\"You are an expert evaluator of AI responses.\n    Rate responses on accuracy, helpfulness, and clarity (1-10 scale).\n    Provide brief reasoning for your ratings.\"\"\"\n\n    prompt = f\"\"\"Rate the following response:\n\nQuestion: {question}\n{f'Context: {context}' if context else ''}\nResponse: {response}\n\nProvide ratings in JSON format:\n{{\n  \"accuracy\": \u003C1-10>,\n  \"helpfulness\": \u003C1-10>,\n  \"clarity\": \u003C1-10>,\n  \"reasoning\": \"\u003Cbrief explanation>\"\n}}\"\"\"\n\n    message = client.messages.create(\n        model=\"claude-sonnet-4-5\",\n        max_tokens=500,\n        system=system,\n        messages=[{\"role\": \"user\", \"content\": prompt}]\n    )\n\n    return QualityRating(**json.loads(message.content[0].text))\n```\n\n### Pairwise Comparison\n\n```python\nfrom pydantic import BaseModel, Field\nfrom typing import Literal\n\nclass ComparisonResult(BaseModel):\n    winner: Literal[\"A\", \"B\", \"tie\"]\n    reasoning: str\n    confidence: int = Field(ge=1, le=10)\n\nasync def compare_responses(\n    question: str,\n    response_a: str,\n    response_b: str\n) -> ComparisonResult:\n    \"\"\"Compare two responses using LLM judge.\"\"\"\n    client = Anthropic()\n\n    prompt = f\"\"\"Compare these two responses and determine which is better.\n\nQuestion: {question}\n\nResponse A: {response_a}\n\nResponse B: {response_b}\n\nConsider accuracy, helpfulness, and clarity.\n\nAnswer with JSON:\n{{\n  \"winner\": \"A\" or \"B\" or \"tie\",\n  \"reasoning\": \"\u003Cexplanation>\",\n  \"confidence\": \u003C1-10>\n}}\"\"\"\n\n    message = client.messages.create(\n        model=\"claude-sonnet-4-5\",\n        max_tokens=500,\n        messages=[{\"role\": \"user\", \"content\": prompt}]\n    )\n\n    return ComparisonResult(**json.loads(message.content[0].text))\n```\n\n### Reference-Based Evaluation\n\n```python\nclass ReferenceEvaluation(BaseModel):\n    semantic_similarity: float = Field(ge=0, le=1)\n    factual_accuracy: float = Field(ge=0, le=1)\n    completeness: float = Field(ge=0, le=1)\n    issues: list[str]\n\nasync def evaluate_against_reference(\n    response: str,\n    reference: str,\n    question: str\n) -> ReferenceEvaluation:\n    \"\"\"Evaluate response against gold standard reference.\"\"\"\n    client = Anthropic()\n\n    prompt = f\"\"\"Compare the response to the reference answer.\n\nQuestion: {question}\nReference Answer: {reference}\nResponse to Evaluate: {response}\n\nEvaluate:\n1. Semantic similarity (0-1): How similar is the meaning?\n2. Factual accuracy (0-1): Are all facts correct?\n3. Completeness (0-1): Does it cover all key points?\n4. List any specific issues or errors.\n\nRespond in JSON:\n{{\n  \"semantic_similarity\": \u003C0-1>,\n  \"factual_accuracy\": \u003C0-1>,\n  \"completeness\": \u003C0-1>,\n  \"issues\": [\"issue1\", \"issue2\"]\n}}\"\"\"\n\n    message = client.messages.create(\n        model=\"claude-sonnet-4-5\",\n        max_tokens=500,\n        messages=[{\"role\": \"user\", \"content\": prompt}]\n    )\n\n    return ReferenceEvaluation(**json.loads(message.content[0].text))\n```\n\n## Human Evaluation Frameworks\n\n### Annotation Guidelines\n\n```python\nfrom dataclasses import dataclass, field\nfrom typing import Optional\n\n@dataclass\nclass AnnotationTask:\n    \"\"\"Structure for human annotation task.\"\"\"\n    response: str\n    question: str\n    context: Optional[str] = None\n\n    def get_annotation_form(self) -> dict:\n        return {\n            \"question\": self.question,\n            \"context\": self.context,\n            \"response\": self.response,\n            \"ratings\": {\n                \"accuracy\": {\n                    \"scale\": \"1-5\",\n                    \"description\": \"Is the response factually correct?\"\n                },\n                \"relevance\": {\n                    \"scale\": \"1-5\",\n                    \"description\": \"Does it answer the question?\"\n                },\n                \"coherence\": {\n                    \"scale\": \"1-5\",\n                    \"description\": \"Is it logically consistent?\"\n                }\n            },\n            \"issues\": {\n                \"factual_error\": False,\n                \"hallucination\": False,\n                \"off_topic\": False,\n                \"unsafe_content\": False\n            },\n            \"feedback\": \"\"\n        }\n```\n\n### Inter-Rater Agreement\n\n```python\nfrom sklearn.metrics import cohen_kappa_score\n\ndef calculate_agreement(\n    rater1_scores: list[int],\n    rater2_scores: list[int]\n) -> dict:\n    \"\"\"Calculate inter-rater agreement.\"\"\"\n    kappa = cohen_kappa_score(rater1_scores, rater2_scores)\n\n    if kappa \u003C 0:\n        interpretation = \"Poor\"\n    elif kappa \u003C 0.2:\n        interpretation = \"Slight\"\n    elif kappa \u003C 0.4:\n        interpretation = \"Fair\"\n    elif kappa \u003C 0.6:\n        interpretation = \"Moderate\"\n    elif kappa \u003C 0.8:\n        interpretation = \"Substantial\"\n    else:\n        interpretation = \"Almost Perfect\"\n\n    return {\n        \"kappa\": kappa,\n        \"interpretation\": interpretation\n    }\n```\n\n## A\u002FB Testing\n\n### Statistical Testing Framework\n\n```python\nfrom scipy import stats\nimport numpy as np\nfrom dataclasses import dataclass, field\n\n@dataclass\nclass ABTest:\n    variant_a_name: str = \"A\"\n    variant_b_name: str = \"B\"\n    variant_a_scores: list[float] = field(default_factory=list)\n    variant_b_scores: list[float] = field(default_factory=list)\n\n    def add_result(self, variant: str, score: float):\n        \"\"\"Add evaluation result for a variant.\"\"\"\n        if variant == \"A\":\n            self.variant_a_scores.append(score)\n        else:\n            self.variant_b_scores.append(score)\n\n    def analyze(self, alpha: float = 0.05) -> dict:\n        \"\"\"Perform statistical analysis.\"\"\"\n        a_scores = np.array(self.variant_a_scores)\n        b_scores = np.array(self.variant_b_scores)\n\n        # T-test\n        t_stat, p_value = stats.ttest_ind(a_scores, b_scores)\n\n        # Effect size (Cohen's d)\n        pooled_std = np.sqrt((np.std(a_scores)**2 + np.std(b_scores)**2) \u002F 2)\n        cohens_d = (np.mean(b_scores) - np.mean(a_scores)) \u002F pooled_std\n\n        return {\n            \"variant_a_mean\": np.mean(a_scores),\n            \"variant_b_mean\": np.mean(b_scores),\n            \"difference\": np.mean(b_scores) - np.mean(a_scores),\n            \"relative_improvement\": (np.mean(b_scores) - np.mean(a_scores)) \u002F np.mean(a_scores),\n            \"p_value\": p_value,\n            \"statistically_significant\": p_value \u003C alpha,\n            \"cohens_d\": cohens_d,\n            \"effect_size\": self._interpret_cohens_d(cohens_d),\n            \"winner\": self.variant_b_name if np.mean(b_scores) > np.mean(a_scores) else self.variant_a_name\n        }\n\n    @staticmethod\n    def _interpret_cohens_d(d: float) -> str:\n        \"\"\"Interpret Cohen's d effect size.\"\"\"\n        abs_d = abs(d)\n        if abs_d \u003C 0.2:\n            return \"negligible\"\n        elif abs_d \u003C 0.5:\n            return \"small\"\n        elif abs_d \u003C 0.8:\n            return \"medium\"\n        else:\n            return \"large\"\n```\n\n## Regression Testing\n\n### Regression Detection\n\n```python\nfrom dataclasses import dataclass\n\n@dataclass\nclass RegressionResult:\n    metric: str\n    baseline: float\n    current: float\n    change: float\n    is_regression: bool\n\nclass RegressionDetector:\n    def __init__(self, baseline_results: dict, threshold: float = 0.05):\n        self.baseline = baseline_results\n        self.threshold = threshold\n\n    def check_for_regression(self, new_results: dict) -> dict:\n        \"\"\"Detect if new results show regression.\"\"\"\n        regressions = []\n\n        for metric in self.baseline.keys():\n            baseline_score = self.baseline[metric]\n            new_score = new_results.get(metric)\n\n            if new_score is None:\n                continue\n\n            # Calculate relative change\n            relative_change = (new_score - baseline_score) \u002F baseline_score\n\n            # Flag if significant decrease\n            is_regression = relative_change \u003C -self.threshold\n            if is_regression:\n                regressions.append(RegressionResult(\n                    metric=metric,\n                    baseline=baseline_score,\n                    current=new_score,\n                    change=relative_change,\n                    is_regression=True\n                ))\n\n        return {\n            \"has_regression\": len(regressions) > 0,\n            \"regressions\": regressions,\n            \"summary\": f\"{len(regressions)} metric(s) regressed\"\n        }\n```\n\n## LangSmith Evaluation Integration\n\n```python\nfrom langsmith import Client\nfrom langsmith.evaluation import evaluate, LangChainStringEvaluator\n\n# Initialize LangSmith client\nclient = Client()\n\n# Create dataset\ndataset = client.create_dataset(\"qa_test_cases\")\nclient.create_examples(\n    inputs=[{\"question\": q} for q in questions],\n    outputs=[{\"answer\": a} for a in expected_answers],\n    dataset_id=dataset.id\n)\n\n# Define evaluators\nevaluators = [\n    LangChainStringEvaluator(\"qa\"),           # QA correctness\n    LangChainStringEvaluator(\"context_qa\"),   # Context-grounded QA\n    LangChainStringEvaluator(\"cot_qa\"),       # Chain-of-thought QA\n]\n\n# Run evaluation\nasync def target_function(inputs: dict) -> dict:\n    result = await your_chain.ainvoke(inputs)\n    return {\"answer\": result}\n\nexperiment_results = await evaluate(\n    target_function,\n    data=dataset.name,\n    evaluators=evaluators,\n    experiment_prefix=\"v1.0.0\",\n    metadata={\"model\": \"claude-sonnet-4-5\", \"version\": \"1.0.0\"}\n)\n\nprint(f\"Mean score: {experiment_results.aggregate_metrics['qa']['mean']}\")\n```\n\n## Benchmarking\n\n### Running Benchmarks\n\n```python\nfrom dataclasses import dataclass\nimport numpy as np\n\n@dataclass\nclass BenchmarkResult:\n    metric: str\n    mean: float\n    std: float\n    min: float\n    max: float\n\nclass BenchmarkRunner:\n    def __init__(self, benchmark_dataset: list[dict]):\n        self.dataset = benchmark_dataset\n\n    async def run_benchmark(\n        self,\n        model,\n        metrics: list[Metric]\n    ) -> dict[str, BenchmarkResult]:\n        \"\"\"Run model on benchmark and calculate metrics.\"\"\"\n        results = {metric.name: [] for metric in metrics}\n\n        for example in self.dataset:\n            # Generate prediction\n            prediction = await model.predict(example[\"input\"])\n\n            # Calculate each metric\n            for metric in metrics:\n                score = metric.fn(\n                    prediction=prediction,\n                    reference=example[\"reference\"],\n                    context=example.get(\"context\")\n                )\n                results[metric.name].append(score)\n\n        # Aggregate results\n        return {\n            metric: BenchmarkResult(\n                metric=metric,\n                mean=np.mean(scores),\n                std=np.std(scores),\n                min=min(scores),\n                max=max(scores)\n            )\n            for metric, scores in results.items()\n        }\n```\n\n## Resources\n\n- [LangSmith Evaluation Guide](https:\u002F\u002Fdocs.smith.langchain.com\u002Fevaluation)\n- [RAGAS Framework](https:\u002F\u002Fdocs.ragas.io\u002F)\n- [DeepEval Library](https:\u002F\u002Fdocs.deepeval.com\u002F)\n- [Arize Phoenix](https:\u002F\u002Fdocs.arize.com\u002Fphoenix\u002F)\n- [HELM Benchmark](https:\u002F\u002Fcrfm.stanford.edu\u002Fhelm\u002F)\n\n## Best Practices\n\n1. **Multiple Metrics**: Use diverse metrics for comprehensive view\n2. **Representative Data**: Test on real-world, diverse examples\n3. **Baselines**: Always compare against baseline performance\n4. **Statistical Rigor**: Use proper statistical tests for comparisons\n5. **Continuous Evaluation**: Integrate into CI\u002FCD pipeline\n6. **Human Validation**: Combine automated metrics with human judgment\n7. **Error Analysis**: Investigate failures to understand weaknesses\n8. **Version Control**: Track evaluation results over time\n\n## Common Pitfalls\n\n- **Single Metric Obsession**: Optimizing for one metric at the expense of others\n- **Small Sample Size**: Drawing conclusions from too few examples\n- **Data Contamination**: Testing on training data\n- **Ignoring Variance**: Not accounting for statistical uncertainty\n- **Metric Mismatch**: Using metrics not aligned with business goals\n- **Position Bias**: In pairwise evals, randomize order\n- **Overfitting Prompts**: Optimizing for test set instead of real use\n","# LLM Evaluation\n\nFor coding agents, generated applications or code reviewers, read the\n[coding-agent evaluation contract](references\u002Fcoding-agents.md). Require behavioral\nevidence and unchanged acceptance checks. General text metrics below do not\nestablish code correctness or authorize release.\n\nMaster comprehensive evaluation strategies for LLM applications, from automated metrics to human evaluation and A\u002FB testing.\n\n## When to Use This Skill\n\n- Measuring LLM application performance systematically\n- Comparing different models or prompts\n- Detecting performance regressions before deployment\n- Validating improvements from prompt changes\n- Building confidence in production systems\n- Establishing baselines and tracking progress over time\n- Debugging unexpected model behavior\n\n## Core Evaluation Types\n\n### 1. Automated Metrics\n\nFast, repeatable, scalable evaluation using computed scores.\n\n**Text Generation:**\n\n- **BLEU**: N-gram overlap (translation)\n- **ROUGE**: Recall-oriented (summarization)\n- **METEOR**: Semantic similarity\n- **BERTScore**: Embedding-based similarity\n- **Perplexity**: Language model confidence\n\n**Classification:**\n\n- **Accuracy**: Percentage correct\n- **Precision\u002FRecall\u002FF1**: Class-specific performance\n- **Confusion Matrix**: Error patterns\n- **AUC-ROC**: Ranking quality\n\n**Retrieval (RAG):**\n\n- **MRR**: Mean Reciprocal Rank\n- **NDCG**: Normalized Discounted Cumulative Gain\n- **Precision@K**: Relevant in top K\n- **Recall@K**: Coverage in top K\n\n### 2. Human Evaluation\n\nManual assessment for quality aspects difficult to automate.\n\n**Dimensions:**\n\n- **Accuracy**: Factual correctness\n- **Coherence**: Logical flow\n- **Relevance**: Answers the question\n- **Fluency**: Natural language quality\n- **Safety**: No harmful content\n- **Helpfulness**: Useful to the user\n\n### 3. LLM-as-Judge\n\nUse stronger LLMs to evaluate weaker model outputs.\n\n**Approaches:**\n\n- **Pointwise**: Score individual responses\n- **Pairwise**: Compare two responses\n- **Reference-based**: Compare to gold standard\n- **Reference-free**: Judge without ground truth\n\n## Quick Start\n\n```python\nfrom dataclasses import dataclass\nfrom typing import Callable\nimport numpy as np\n\n@dataclass\nclass Metric:\n    name: str\n    fn: Callable\n\n    @staticmethod\n    def accuracy():\n        return Metric(\"accuracy\", calculate_accuracy)\n\n    @staticmethod\n    def bleu():\n        return Metric(\"bleu\", calculate_bleu)\n\n    @staticmethod\n    def bertscore():\n        return Metric(\"bertscore\", calculate_bertscore)\n\n    @staticmethod\n    def custom(name: str, fn: Callable):\n        return Metric(name, fn)\n\nclass EvaluationSuite:\n    def __init__(self, metrics: list[Metric]):\n        self.metrics = metrics\n\n    async def evaluate(self, model, test_cases: list[dict]) -> dict:\n        results = {m.name: [] for m in self.metrics}\n\n        for test in test_cases:\n            prediction = await model.predict(test[\"input\"])\n\n            for metric in self.metrics:\n                score = metric.fn(\n                    prediction=prediction,\n                    reference=test.get(\"expected\"),\n                    context=test.get(\"context\")\n                )\n                results[metric.name].append(score)\n\n        return {\n            \"metrics\": {k: np.mean(v) for k, v in results.items()},\n            \"raw_scores\": results\n        }\n\n# Usage\nsuite = EvaluationSuite([\n    Metric.accuracy(),\n    Metric.bleu(),\n    Metric.bertscore(),\n    Metric.custom(\"groundedness\", check_groundedness)\n])\n\ntest_cases = [\n    {\n        \"input\": \"What is the capital of France?\",\n        \"expected\": \"Paris\",\n        \"context\": \"France is a country in Europe. Paris is its capital.\"\n    },\n]\n\nresults = await suite.evaluate(model=your_model, test_cases=test_cases)\n```\n\n## Automated Metrics Implementation\n\n### BLEU Score\n\n```python\nfrom nltk.translate.bleu_score import sentence_bleu, SmoothingFunction\n\ndef calculate_bleu(reference: str, hypothesis: str, **kwargs) -> float:\n    \"\"\"Calculate BLEU score between reference and hypothesis.\"\"\"\n    smoothie = SmoothingFunction().method4\n\n    return sentence_bleu(\n        [reference.split()],\n        hypothesis.split(),\n        smoothing_function=smoothie\n    )\n```\n\n### ROUGE Score\n\n```python\nfrom rouge_score import rouge_scorer\n\ndef calculate_rouge(reference: str, hypothesis: str, **kwargs) -> dict:\n    \"\"\"Calculate ROUGE scores.\"\"\"\n    scorer = rouge_scorer.RougeScorer(\n        ['rouge1', 'rouge2', 'rougeL'],\n        use_stemmer=True\n    )\n    scores = scorer.score(reference, hypothesis)\n\n    return {\n        'rouge1': scores['rouge1'].fmeasure,\n        'rouge2': scores['rouge2'].fmeasure,\n        'rougeL': scores['rougeL'].fmeasure\n    }\n```\n\n### BERTScore\n\n```python\nfrom bert_score import score\n\ndef calculate_bertscore(\n    references: list[str],\n    hypotheses: list[str],\n    **kwargs\n) -> dict:\n    \"\"\"Calculate BERTScore using pre-trained model.\"\"\"\n    P, R, F1 = score(\n        hypotheses,\n        references,\n        lang='en',\n        model_type='microsoft\u002Fdeberta-xlarge-mnli'\n    )\n\n    return {\n        'precision': P.mean().item(),\n        'recall': R.mean().item(),\n        'f1': F1.mean().item()\n    }\n```\n\n### Custom Metrics\n\n```python\ndef calculate_groundedness(response: str, context: str, **kwargs) -> float:\n    \"\"\"Check if response is grounded in provided context.\"\"\"\n    from transformers import pipeline\n\n    nli = pipeline(\n        \"text-classification\",\n        model=\"microsoft\u002Fdeberta-large-mnli\"\n    )\n\n    result = nli(f\"{context} [SEP] {response}\")[0]\n\n    # Return confidence that response is entailed by context\n    return result['score'] if result['label'] == 'ENTAILMENT' else 0.0\n\ndef calculate_toxicity(text: str, **kwargs) -> float:\n    \"\"\"Measure toxicity in generated text.\"\"\"\n    from detoxify import Detoxify\n\n    results = Detoxify('original').predict(text)\n    return max(results.values())  # Return highest toxicity score\n\ndef calculate_factuality(claim: str, sources: list[str], **kwargs) -> float:\n    \"\"\"Verify factual claims against sources.\"\"\"\n    from transformers import pipeline\n\n    nli = pipeline(\"text-classification\", model=\"facebook\u002Fbart-large-mnli\")\n\n    scores = []\n    for source in sources:\n        result = nli(f\"{source}\u003C\u002Fs>\u003C\u002Fs>{claim}\")[0]\n        if result['label'] == 'entailment':\n            scores.append(result['score'])\n\n    return max(scores) if scores else 0.0\n```\n\n## LLM-as-Judge Patterns\n\n### Single Output Evaluation\n\n```python\nfrom anthropic import Anthropic\nfrom pydantic import BaseModel, Field\nimport json\n\nclass QualityRating(BaseModel):\n    accuracy: int = Field(ge=1, le=10, description=\"Factual correctness\")\n    helpfulness: int = Field(ge=1, le=10, description=\"Answers the question\")\n    clarity: int = Field(ge=1, le=10, description=\"Well-written and understandable\")\n    reasoning: str = Field(description=\"Brief explanation\")\n\nasync def llm_judge_quality(\n    response: str,\n    question: str,\n    context: str = None\n) -> QualityRating:\n    \"\"\"Use Claude to judge response quality.\"\"\"\n    client = Anthropic()\n\n    system = \"\"\"You are an expert evaluator of AI responses.\n    Rate responses on accuracy, helpfulness, and clarity (1-10 scale).\n    Provide brief reasoning for your ratings.\"\"\"\n\n    prompt = f\"\"\"Rate the following response:\n\nQuestion: {question}\n{f'Context: {context}' if context else ''}\nResponse: {response}\n\nProvide ratings in JSON format:\n{{\n  \"accuracy\": \u003C1-10>,\n  \"helpfulness\": \u003C1-10>,\n  \"clarity\": \u003C1-10>,\n  \"reasoning\": \"\u003Cbrief explanation>\"\n}}\"\"\"\n\n    message = client.messages.create(\n        model=\"claude-sonnet-4-5\",\n        max_tokens=500,\n        system=system,\n        messages=[{\"role\": \"user\", \"content\": prompt}]\n    )\n\n    return QualityRating(**json.loads(message.content[0].text))\n```\n\n### Pairwise Comparison\n\n```python\nfrom pydantic import BaseModel, Field\nfrom typing import Literal\n\nclass ComparisonResult(BaseModel):\n    winner: Literal[\"A\", \"B\", \"tie\"]\n    reasoning: str\n    confidence: int = Field(ge=1, le=10)\n\nasync def compare_responses(\n    question: str,\n    response_a: str,\n    response_b: str\n) -> ComparisonResult:\n    \"\"\"Compare two responses using LLM judge.\"\"\"\n    client = Anthropic()\n\n    prompt = f\"\"\"Compare these two responses and determine which is better.\n\nQuestion: {question}\n\nResponse A: {response_a}\n\nResponse B: {response_b}\n\nConsider accuracy, helpfulness, and clarity.\n\nAnswer with JSON:\n{{\n  \"winner\": \"A\" or \"B\" or \"tie\",\n  \"reasoning\": \"\u003Cexplanation>\",\n  \"confidence\": \u003C1-10>\n}}\"\"\"\n\n    message = client.messages.create(\n        model=\"claude-sonnet-4-5\",\n        max_tokens=500,\n        messages=[{\"role\": \"user\", \"content\": prompt}]\n    )\n\n    return ComparisonResult(**json.loads(message.content[0].text))\n```\n\n### Reference-Based Evaluation\n\n```python\nclass ReferenceEvaluation(BaseModel):\n    semantic_similarity: float = Field(ge=0, le=1)\n    factual_accuracy: float = Field(ge=0, le=1)\n    completeness: float = Field(ge=0, le=1)\n    issues: list[str]\n\nasync def evaluate_against_reference(\n    response: str,\n    reference: str,\n    question: str\n) -> ReferenceEvaluation:\n    \"\"\"Evaluate response against gold standard reference.\"\"\"\n    client = Anthropic()\n\n    prompt = f\"\"\"Compare the response to the reference answer.\n\nQuestion: {question}\nReference Answer: {reference}\nResponse to Evaluate: {response}\n\nEvaluate:\n1. Semantic similarity (0-1): How similar is the meaning?\n2. Factual accuracy (0-1): Are all facts correct?\n3. Completeness (0-1): Does it cover all key points?\n4. List any specific issues or errors.\n\nRespond in JSON:\n{{\n  \"semantic_similarity\": \u003C0-1>,\n  \"factual_accuracy\": \u003C0-1>,\n  \"completeness\": \u003C0-1>,\n  \"issues\": [\"issue1\", \"issue2\"]\n}}\"\"\"\n\n    message = client.messages.create(\n        model=\"claude-sonnet-4-5\",\n        max_tokens=500,\n        messages=[{\"role\": \"user\", \"content\": prompt}]\n    )\n\n    return ReferenceEvaluation(**json.loads(message.content[0].text))\n```\n\n## Human Evaluation Frameworks\n\n### Annotation Guidelines\n\n```python\nfrom dataclasses import dataclass, field\nfrom typing import Optional\n\n@dataclass\nclass AnnotationTask:\n    \"\"\"Structure for human annotation task.\"\"\"\n    response: str\n    question: str\n    context: Optional[str] = None\n\n    def get_annotation_form(self) -> dict:\n        return {\n            \"question\": self.question,\n            \"context\": self.context,\n            \"response\": self.response,\n            \"ratings\": {\n                \"accuracy\": {\n                    \"scale\": \"1-5\",\n                    \"description\": \"Is the response factually correct?\"\n                },\n                \"relevance\": {\n                    \"scale\": \"1-5\",\n                    \"description\": \"Does it answer the question?\"\n                },\n                \"coherence\": {\n                    \"scale\": \"1-5\",\n                    \"description\": \"Is it logically consistent?\"\n                }\n            },\n            \"issues\": {\n                \"factual_error\": False,\n                \"hallucination\": False,\n                \"off_topic\": False,\n                \"unsafe_content\": False\n            },\n            \"feedback\": \"\"\n        }\n```\n\n### Inter-Rater Agreement\n\n```python\nfrom sklearn.metrics import cohen_kappa_score\n\ndef calculate_agreement(\n    rater1_scores: list[int],\n    rater2_scores: list[int]\n) -> dict:\n    \"\"\"Calculate inter-rater agreement.\"\"\"\n    kappa = cohen_kappa_score(rater1_scores, rater2_scores)\n\n    if kappa \u003C 0:\n        interpretation = \"Poor\"\n    elif kappa \u003C 0.2:\n        interpretation = \"Slight\"\n    elif kappa \u003C 0.4:\n        interpretation = \"Fair\"\n    elif kappa \u003C 0.6:\n        interpretation = \"Moderate\"\n    elif kappa \u003C 0.8:\n        interpretation = \"Substantial\"\n    else:\n        interpretation = \"Almost Perfect\"\n\n    return {\n        \"kappa\": kappa,\n        \"interpretation\": interpretation\n    }\n```\n\n## A\u002FB Testing\n\n### Statistical Testing Framework\n\n```python\nfrom scipy import stats\nimport numpy as np\nfrom dataclasses import dataclass, field\n\n@dataclass\nclass ABTest:\n    variant_a_name: str = \"A\"\n    variant_b_name: str = \"B\"\n    variant_a_scores: list[float] = field(default_factory=list)\n    variant_b_scores: list[float] = field(default_factory=list)\n\n    def add_result(self, variant: str, score: float):\n        \"\"\"Add evaluation result for a variant.\"\"\"\n        if variant == \"A\":\n            self.variant_a_scores.append(score)\n        else:\n            self.variant_b_scores.append(score)\n\n    def analyze(self, alpha: float = 0.05) -> dict:\n        \"\"\"Perform statistical analysis.\"\"\"\n        a_scores = np.array(self.variant_a_scores)\n        b_scores = np.array(self.variant_b_scores)\n\n        # T-test\n        t_stat, p_value = stats.ttest_ind(a_scores, b_scores)\n\n        # Effect size (Cohen's d)\n        pooled_std = np.sqrt((np.std(a_scores)**2 + np.std(b_scores)**2) \u002F 2)\n        cohens_d = (np.mean(b_scores) - np.mean(a_scores)) \u002F pooled_std\n\n        return {\n            \"variant_a_mean\": np.mean(a_scores),\n            \"variant_b_mean\": np.mean(b_scores),\n            \"difference\": np.mean(b_scores) - np.mean(a_scores),\n            \"relative_improvement\": (np.mean(b_scores) - np.mean(a_scores)) \u002F np.mean(a_scores),\n            \"p_value\": p_value,\n            \"statistically_significant\": p_value \u003C alpha,\n            \"cohens_d\": cohens_d,\n            \"effect_size\": self._interpret_cohens_d(cohens_d),\n            \"winner\": self.variant_b_name if np.mean(b_scores) > np.mean(a_scores) else self.variant_a_name\n        }\n\n    @staticmethod\n    def _interpret_cohens_d(d: float) -> str:\n        \"\"\"Interpret Cohen's d effect size.\"\"\"\n        abs_d = abs(d)\n        if abs_d \u003C 0.2:\n            return \"negligible\"\n        elif abs_d \u003C 0.5:\n            return \"small\"\n        elif abs_d \u003C 0.8:\n            return \"medium\"\n        else:\n            return \"large\"\n```\n\n## Regression Testing\n\n### Regression Detection\n\n```python\nfrom dataclasses import dataclass\n\n@dataclass\nclass RegressionResult:\n    metric: str\n    baseline: float\n    current: float\n    change: float\n    is_regression: bool\n\nclass RegressionDetector:\n    def __init__(self, baseline_results: dict, threshold: float = 0.05):\n        self.baseline = baseline_results\n        self.threshold = threshold\n\n    def check_for_regression(self, new_results: dict) -> dict:\n        \"\"\"Detect if new results show regression.\"\"\"\n        regressions = []\n\n        for metric in self.baseline.keys():\n            baseline_score = self.baseline[metric]\n            new_score = new_results.get(metric)\n\n            if new_score is None:\n                continue\n\n            # Calculate relative change\n            relative_change = (new_score - baseline_score) \u002F baseline_score\n\n            # Flag if significant decrease\n            is_regression = relative_change \u003C -self.threshold\n            if is_regression:\n                regressions.append(RegressionResult(\n                    metric=metric,\n                    baseline=baseline_score,\n                    current=new_score,\n                    change=relative_change,\n                    is_regression=True\n                ))\n\n        return {\n            \"has_regression\": len(regressions) > 0,\n            \"regressions\": regressions,\n            \"summary\": f\"{len(regressions)} metric(s) regressed\"\n        }\n```\n\n## LangSmith Evaluation Integration\n\n```python\nfrom langsmith import Client\nfrom langsmith.evaluation import evaluate, LangChainStringEvaluator\n\n# Initialize LangSmith client\nclient = Client()\n\n# Create dataset\ndataset = client.create_dataset(\"qa_test_cases\")\nclient.create_examples(\n    inputs=[{\"question\": q} for q in questions],\n    outputs=[{\"answer\": a} for a in expected_answers],\n    dataset_id=dataset.id\n)\n\n# Define evaluators\nevaluators = [\n    LangChainStringEvaluator(\"qa\"),           # QA correctness\n    LangChainStringEvaluator(\"context_qa\"),   # Context-grounded QA\n    LangChainStringEvaluator(\"cot_qa\"),       # Chain-of-thought QA\n]\n\n# Run evaluation\nasync def target_function(inputs: dict) -> dict:\n    result = await your_chain.ainvoke(inputs)\n    return {\"answer\": result}\n\nexperiment_results = await evaluate(\n    target_function,\n    data=dataset.name,\n    evaluators=evaluators,\n    experiment_prefix=\"v1.0.0\",\n    metadata={\"model\": \"claude-sonnet-4-5\", \"version\": \"1.0.0\"}\n)\n\nprint(f\"Mean score: {experiment_results.aggregate_metrics['qa']['mean']}\")\n```\n\n## Benchmarking\n\n### Running Benchmarks\n\n```python\nfrom dataclasses import dataclass\nimport numpy as np\n\n@dataclass\nclass BenchmarkResult:\n    metric: str\n    mean: float\n    std: float\n    min: float\n    max: float\n\nclass BenchmarkRunner:\n    def __init__(self, benchmark_dataset: list[dict]):\n        self.dataset = benchmark_dataset\n\n    async def run_benchmark(\n        self,\n        model,\n        metrics: list[Metric]\n    ) -> dict[str, BenchmarkResult]:\n        \"\"\"Run model on benchmark and calculate metrics.\"\"\"\n        results = {metric.name: [] for metric in metrics}\n\n        for example in self.dataset:\n            # Generate prediction\n            prediction = await model.predict(example[\"input\"])\n\n            # Calculate each metric\n            for metric in metrics:\n                score = metric.fn(\n                    prediction=prediction,\n                    reference=example[\"reference\"],\n                    context=example.get(\"context\")\n                )\n                results[metric.name].append(score)\n\n        # Aggregate results\n        return {\n            metric: BenchmarkResult(\n                metric=metric,\n                mean=np.mean(scores),\n                std=np.std(scores),\n                min=min(scores),\n                max=max(scores)\n            )\n            for metric, scores in results.items()\n        }\n```\n\n## Resources\n\n- [LangSmith Evaluation Guide](https:\u002F\u002Fdocs.smith.langchain.com\u002Fevaluation)\n- [RAGAS Framework](https:\u002F\u002Fdocs.ragas.io\u002F)\n- [DeepEval Library](https:\u002F\u002Fdocs.deepeval.com\u002F)\n- [Arize Phoenix](https:\u002F\u002Fdocs.arize.com\u002Fphoenix\u002F)\n- [HELM Benchmark](https:\u002F\u002Fcrfm.stanford.edu\u002Fhelm\u002F)\n\n## Best Practices\n\n1. **Multiple Metrics**: Use diverse metrics for comprehensive view\n2. **Representative Data**: Test on real-world, diverse examples\n3. **Baselines**: Always compare against baseline performance\n4. **Statistical Rigor**: Use proper statistical tests for comparisons\n5. **Continuous Evaluation**: Integrate into CI\u002FCD pipeline\n6. **Human Validation**: Combine automated metrics with human judgment\n7. **Error Analysis**: Investigate failures to understand weaknesses\n8. **Version Control**: Track evaluation results over time\n\n## Common Pitfalls\n\n- **Single Metric Obsession**: Optimizing for one metric at the expense of others\n- **Small Sample Size**: Drawing conclusions from too few examples\n- **Data Contamination**: Testing on training data\n- **Ignoring Variance**: Not accounting for statistical uncertainty\n- **Metric Mismatch**: Using metrics not aligned with business goals\n- **Position Bias**: In pairwise evals, randomize order\n- **Overfitting Prompts**: Optimizing for test set instead of real use\n",{"name":5,"description":7,"disable-model-invocation":42},true,"main","224d7699a283a75bd3f75d4d8b03b15aca0ae309","plugins\u002F10x-swe\u002Fskills\u002Fllm-evaluation",0,"https:\u002F\u002Fgithub.com\u002Fcercova-studios\u002F10x-swe","https:\u002F\u002Fgithub.com\u002Fcercova-studios","2026-11-12 07:39:44",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":42},[52,55,58],{"tool":53,"command":54},"npx","npx skills add cercova-studios\u002F10x-swe --skill llm-evaluation",{"tool":56,"command":57},"bunx","bunx skills add cercova-studios\u002F10x-swe --skill llm-evaluation",{"tool":59,"command":60},"pnpm","pnpm dlx skills add cercova-studios\u002F10x-swe --skill llm-evaluation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcercova-studios\u002F10x-swe\u002Fblob\u002Fmain\u002Fplugins\u002F10x-swe\u002Fskills\u002Fllm-evaluation\u002FSKILL.md",[63,69],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"agents\u002Fopenai.yaml","REFERENCE","参考文档",43,"https:\u002F\u002Fgithub.com\u002Fcercova-studios\u002F10x-swe\u002Fblob\u002Fmain\u002Fplugins\u002F10x-swe\u002Fskills\u002Fllm-evaluation\u002Fagents\u002Fopenai.yaml",{"path":70,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fcoding-agents.md",4201,"https:\u002F\u002Fgithub.com\u002Fcercova-studios\u002F10x-swe\u002Fblob\u002Fmain\u002Fplugins\u002F10x-swe\u002Fskills\u002Fllm-evaluation\u002Freferences\u002Fcoding-agents.md",[74,82,117,141,173,197],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":81},"01M78M2BEZ8C1STWW1Q0AQKKAD","10x-mode","Route a hard engineering task to one existing workflow. Use for a bug fix, refactor, feature, architecture or investigation, parallel work, or finishing a branch or pull request, including when the user asks for 10x-mode.","https:\u002F\u002Fgithub.com\u002Fcercova-studios\u002F10x-swe\u002Fblob\u002Fmain\u002Fplugins\u002F10x-swe\u002Fskills\u002F10x-mode\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":86,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":37},"01M6CD3T6EQ9N5KPNXCM6ABHVA","turnstile-spin","Set up Cloudflare Turnstile end-to-end in a project. Scan the codebase, create the widget via the Cloudflare API, embed it where user requests need bot verification (form submissions, SPA actions, API endpoints, download links, comment or vote submissions, etc.), wire canonical server-side siteverify in the customer's existing backend, validate, and persist the skill. Load this when a user asks to add Turnstile, set up CAPTCHA, protect a form or endpoint from bots, or fix a Turnstile integration. Uses Cloudflare's documented Turnstile contract.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fcercova-studios\u002F10x-swe\u002Fblob\u002Fmain\u002Fplugins\u002F10x-swe\u002Fskills\u002Fturnstile-spin\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fcercova-studios\u002F10x-swe\u002Fblob\u002Fmain\u002Fplugins\u002F10x-swe\u002Fskills\u002Fturnstile-spin\u002FSKILL.md",[],[91,92,27,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116],"turnstile spin","end","SWE","nextjs","SET","actions","verification","spa","bots","app","integration","sveltekit","backend","customer","endpoints","plugin","project","server","astro","create","permissions","api","bot","cloudflare","fix","up",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":86,"licenseFileUrl":121,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":37},"01M6CD0BJYRNV610HYYPX933RE","frontend-design","Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.","https:\u002F\u002Fgithub.com\u002Fcercova-studios\u002F10x-swe\u002Fblob\u002Fmain\u002Fplugins\u002F10x-swe\u002Fskills\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fcercova-studios\u002F10x-swe\u002Fblob\u002Fmain\u002Fplugins\u002F10x-swe\u002Fskills\u002Ffrontend-design\u002FSKILL.md",[],[125,126,127,128,129,130,131,27,132,133,134,135,136,30,137,138,139,32,33,140,110],"frontend","frontend design","design","components","build","high","with","pages","aesthetics","generic","user","code","Production","web components","creative","web",{"skillNo":142,"name":143,"nameZh":144,"description":145,"descriptionZh":146,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":159,"publishedAt":37},"01M6CD4QX8C4DST98AY21HEYCM","source-insights","来源证据与洞察管理","Prepare inspected source evidence, preserve exact citations, and publish reviewed insights into an explicit local library.","整理已检查的来源证据，保留精确引用，并将审阅后的洞察发布到明确的本地库中。","https:\u002F\u002Fgithub.com\u002Fcercova-studios\u002F10x-swe\u002Fblob\u002Fmain\u002Fplugins\u002Fknowledge\u002Fskills\u002Fsource-insights\u002FSKILL.md",[149,154],{"categoryNo":150,"categoryName":151,"taxonomyType":152,"taxonomyTypeDesc":153},"01M8BQ6TRAEZFJ43R95HPEBJYG","知识工作者","PROFESSION","适用职业",{"categoryNo":155,"categoryName":156,"taxonomyType":157,"taxonomyTypeDesc":158},"01M8BRFRAYBCBW9WKDY9TCSHY3","知识管理与沉淀","SCENARIO","使用场景",[160,161,162,163,164,165,166,167,168,169,170,171,172],"source insights","insights","source","preserve","local","global","session","prepare","workflows","library","evidence","Citations","publish",{"skillNo":174,"name":175,"nameZh":176,"description":177,"descriptionZh":178,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":187,"publishedAt":37},"01M6CD4N1HVNC1EXPEBZT7YS31","skill-graph","技能图谱发现","Discover skills and workflows through independent lexical search, relationship paths and a terminal graph.","通过独立的词汇搜索、关系路径和终端图谱来发现技能与工作流。","https:\u002F\u002Fgithub.com\u002Fcercova-studios\u002F10x-swe\u002Fblob\u002Fmain\u002Fplugins\u002Fknowledge\u002Fskills\u002Fskill-graph\u002FSKILL.md",[181,184],{"categoryNo":182,"categoryName":183,"taxonomyType":157,"taxonomyTypeDesc":158},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",{"categoryNo":185,"categoryName":186,"taxonomyType":152,"taxonomyTypeDesc":153},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",[188,189,106,190,168,93,191,192,193,165,194,195,196],"graph","skill graph","relationship","paths","discover","discover skills","search","10x","terminal",{"skillNo":198,"name":199,"nameZh":200,"description":201,"descriptionZh":202,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":203,"categories":204,"keywords":209,"publishedAt":37},"01M6CD4HQKXNZ57YEGD8QVK6Z6","session-search","会话记录检索","Recall public session turns with exact provenance, bounded excerpts and independent piped exports.","召回公开的会话轮次，附带精确来源、有限摘录和独立的管道导出。","https:\u002F\u002Fgithub.com\u002Fcercova-studios\u002F10x-swe\u002Fblob\u002Fmain\u002Fplugins\u002Fknowledge\u002Fskills\u002Fsession-search\u002FSKILL.md",[205,206],{"categoryNo":150,"categoryName":151,"taxonomyType":152,"taxonomyTypeDesc":153},{"categoryNo":207,"categoryName":208,"taxonomyType":157,"taxonomyTypeDesc":158},"01M8C77ZM67V04F92Y3NWFVB3F","会话数据采集与归档",[210,166,194,211,162,161,131,165,212,213,168,214],"session search","bounded","recall","provenance","public"]