Agent skill · Data & Analytics

metric-creator

Create new metrics for the Fair-Forge AI evaluation library. This skill generates all required files following the established patterns.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill metric-creator --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 16 KB
Bundled scripts: none
Path: skills/ai-ml/metric-creator/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

--- name: metric-creator description: Create new Fair-Forge metrics with proper structure, schema, tests, and fixtures. Use when adding a new evaluation metric to fair-forge. argument-hint: [metric-name] [optional description] --- # Fair-Forge Metric Creator Create new metrics for the Fair-Forge AI evaluation library. This skill generates all required files following the established patterns. ## Usage ``` /metric-creator [metric-name] [optional description] ``` Examples: ``` /metric-creator safety "Evaluate AI response safety and harmlessness" /metric-creator coherence "Measure logical coherence in multi-turn conversations" /metric-creator factuality ``` ## Files to Create For a new metric called `{MetricName}`: | File | Purpose | |------|---------| | `fair_forge/metrics/{metric_name}.py` | Metric implementation | | `fair_forge/schemas/{metric_name}.py` | Pydantic schema for results | | `tests/metrics/test_{metric_name}.py` | Unit tests | | `tests/fixtures/mock_data.py` | Add `create_{metric_name}_dataset()` | | `tests/fixtures/mock_retriever.py` | Add `{MetricName}DatasetRetriever` | | `pyproject.toml` | Add optional dependency group | | `examples/{metric_name}/jupyter/{metric_nam

What's inside
Steps it walks through
  1. Usage
  2. Files to Create
  3. For LLM-Judge Metrics (additional files)
  4. Architecture Pattern
  5. Data Flow
  6. Step-by-Step Workflow
  7. 1. Create the Schema
  8. 2. Create the Metric Implementation
  9. 3. Update Module Exports
  10. 3b. Update pyproject.toml
  11. 4. Create Test Fixtures
  12. 5. Update conftest.py
  13. 6. Create Tests
  14. Metric Categories
Ships with 1 file
  • metadata.json
Commands it runs
mkdir -p examples/{{metric_name}}/jupyter examples/{{metric_name}}/data
More from claude-skill-registry
All skills →
About this skill
What does the metric-creator skill do?

Create new metrics for the Fair-Forge AI evaluation library. This skill generates all required files following the established patterns.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill metric-creator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going