metric-creator

Generate Fair-Forge metric scaffolds with schema, tests, and fixtures.

Updated May 7, 2025
One-click install
npx skills add https://github.com/Alquimia-ai/fair-forge --skill metric-creator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metric-creator
Source: https://github.com/Alquimia-ai/fair-forge/tree/main/.claude/skills/metric-creator
Command: npx skills add https://github.com/Alquimia-ai/fair-forge --skill metric-creator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create new Fair-Forge metrics with proper structure, schema, tests, and fixtures. Use when adding a new evaluation metric to fair-forge.

Core Features & Use Cases

  • Generate a complete metric scaffold (pyproject dependencies, tests, fixtures, and example data) for a new evaluation metric.
  • Produce templates for metric implementation, schemas, tests, mocks, and optional LLM-judge components to help teams adopt uniform patterns across metrics.
  • Real-world use: A developer wants to add a new metric to assess a novel capability; metric-creator provides ready-to-adapt boilerplate ensuring consistency with existing metrics.

Quick Start

Provide a metric name and optional description to generate a complete Fair-Forge metric scaffold.

Frequently Asked Questions about metric-creator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a Fair-Forge metric scaffold for a new evaluation?

To generate a Fair-Forge metric scaffold, provide a metric name and optional description to produce a complete project structure including source code, schemas, tests, and fixtures for the new evaluation.

What is included in the boilerplate when creating a new Fair-Forge metric?

A Fair-Forge metric boilerplate includes pyproject dependencies, metric implementation templates, schemas, test fixtures, example data, and optional LLM-judge or guardian components to ensure project consistency.

How do I add tests and fixtures for a custom evaluation metric?

Adding tests and fixtures for a custom evaluation metric involves using a scaffold generator that automatically produces standardized test files and example data alongside the metric implementation source code.

Can I include an LLM-judge component when scaffolding a new metric?

Yes, you can include an LLM-judge component when scaffolding a new metric. The generation process produces optional templates for LLM or guardian components to help teams adopt uniform evaluation patterns.

Does the metric scaffold enforce specific naming conventions and project layout?

Yes, the metric scaffold enforces specific naming conventions and a standard project layout. This structure streamlines integration and ensures consistency across all newly created evaluation metrics.

Why use a scaffold generator instead of manually creating evaluation metric files?

Using a scaffold generator instead of manually creating evaluation metric files ensures proper structure, schema, and test coverage while providing ready-to-adapt boilerplate that maintains consistency with existing metrics.