Przejdź do treści
Biblioteka skilli
AI i agenci · Testowanie

init-plugin-eval

/init-plugin-eval

Tworzy strukturę katalogów ewaluacji dla agentów przeglądu i skilli doradczych wtyczki: fixtures/, expected/ i README z kontraktem oceny.

Licencja
MIT
Ostatnia zmiana repozytorium
14.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 14.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Tworzy strukturę katalogów ewaluacji dla agentów przeglądu i skilli doradczych wtyczki: fixtures/, expected/ i README z kontraktem oceny.

Wyzwalacze z opisu

set up evals for this plugininit plugin evalsscaffold eval fixturescreate the eval harness for <plugin>

Argumenty

/init-plugin-eval <plugin-name> [--dir evals/<plugin-name>]
Oryginalny opis (EN)

Scaffold the eval directory structure for a plugin's review agents and advisory skills. Use after creating a plugin or adding its first review agent, or when the user says "set up evals for this plugin", "init plugin evals", "scaffold eval fixtures", or "create the eval harness for <plugin>". Creates the fixtures/ and expected/ dirs plus a README describing the grading contract.

Jak działa

  1. Constraints
  2. Step 1 — Parse
  3. Step 2 — Create the structure
  4. Step 3 — Write the grading-contract README
  5. Step 4 — Verify the empty scaffold is a clean no-op
  6. Completion report
Sekcje z nagłówków SKILL.md, w oryginale · 81 linii, 429 słów
Podgląd SKILL.md
---
name: init-plugin-eval
description: >-
  Scaffold the eval directory structure for a plugin's review agents and advisory
  skills. Use after creating a plugin or adding its first review agent, or when
  the user says "set up evals for this plugin", "init plugin evals", "scaffold
  eval fixtures", or "create the eval harness for <plugin>". Creates the
  fixtures/ and expected/ dirs plus a README describing the grading contract.
argument-hint: "<plugin-name> [--dir evals/<plugin-name>]"
role: implementation
allowed-tools: Read, Write, Bash, Glob
---

# Init Plugin Eval

Role: implementation. Create the eval scaffold so a plugin's review agents and
advisory skills can be graded — without shipping any of it inside the plugin.

## Constraints

1. **Evals never ship.** The eval tree lives at the **repo root** under
   `evals/<plugin>/`, never under `plugins/<plugin>/`. Build/test tooling inside
   a plugin dir is a shipping bug.
2. **Stub, don't fake.** Scaffold empty `fixtures/` and `expected/` dirs and a
   README. Do **not** invent fixtures — an empty scaffold must grade as
   "no fixtures", a clean no-op, not an error.
3. **Never overwrite.** If `evals/<plugin>/` exists, report and stop.

## Step 1 — Parse

- `NAME` = `$0` (the plugin name, matching its `plugin.json` `name`).
- `DIR` = `--dir` value, else `evals/<NAME>`.
- If `DIR` exists → report and stop.

## Step 2 — Create the structure

```bash
mkdir -p "$DIR/fixtures" "$DIR/expected"
for d in fixtures expected; do : > "$DIR/$d/.gitkeep"; done
```

- `fixtures/` — input artifacts an agent/skill runs against (sample agent files,
  plugin dirs, prose use-cases).
- `expected/` — one `<fixture-stem>.json` per fixture declaring the expected
  grading (which agent/skill it targets and the pass condition).

## Step 3 — Write the grading-contract README

**`$DIR/README.md`** documents the contract a grader enforces:

```markdown
# Eval corpus — <NAME>

Fixtures (`fixtures/`) and their expected gradings (`expected/*.json`) for the
<NAME> plugin's review agents and advisory skills.

## Grading contract

Each `expected/<stem>.json` pairs with a `fixtures/<stem>.*` input and declares:

- `fixture` — the fixture file/dir this grades.
- `description` — what the fixture exercises.
- `applicableAgents` / `applicableSkills` — the unit(s) under test.
- For a **review agent**: `expectedStatus` (`pass|warn|fail|skip`),
  `issueCount` ({min,max}), and `severities` bounds.
- For an **advisory skill**: the expected `recommendation`/fields and the
  rule citations or gates the output must contain.

A grader pairs every `expected/*.json` with a fixture and checks the actual
output falls within the declared bounds. An **empty corpus grades as
"no fixtures"** — a clean no-op, never an error.
```

## Step 4 — Verify the empty scaffold is a clean no-op

Confirm the scaffold grades as "no fixtures", not an error:

- `expected/` contains only `.gitkeep` (no `*.json`) → a corpus check finds
  nothing to grade and reports "no fixtures".
- If a project-level eval runner exists (e.g. `scripts/eval_grade.py
  --check-corpus`), run it scoped to `evals/<NAME>/` and confirm exit 0 with a
  "no fixtures" / "nothing to grade" message.

## Completion report

```text
Eval scaffold created: <DIR>
Dirs:  fixtures/ expected/
Docs:  README.md (grading contract)
State: no fixtures yet → grades as a clean no-op
Next:  add a fixtures/<stem>.* input and an expected/<stem>.json grading
```

Wersje

W bazie nie ma innych skilli o nazwie init-plugin-eval.

Migawka bazy z 28.10.2026 · wersja paczki 913bbacf7cda (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 95agent-eval
    Uruchamia zestawy testów na agentach przeglądu i ocenia wyniki, by sprawdzić dokładność i regresje po zmianach.
  • 100add-eval
    Dodaje lub edytuje przypadek ewaluacyjny wtyczki w plugin/evals (claude plugin eval): prompt, graderzy, mocki MCP, a potem uruchamia, porównuje i przebazowuje zestaw.
  • 84design
    Projektuje zestaw ewaluacji dla aplikacji opartej na LLM lub skilla Claude Code: ustala kryteria sukcesu, dobiera metodę oceny i tworzy dokument kryteriów z przypadkami testowymi.
  • 100skill-eval-scaffolder
    Tworzy szkielet manifestu evals/evals.json z przypadkami bazowymi dla skilli repozytorium, gdy trzeba dodać pokrycie ewaluacjami.
  • 100evals-harness
    Projektuje harnessy ewaluacyjne: schematy zadań, metryki, wersjonowanie zbiorów danych i wzorce eval-as-code.
  • 95plugin-structure
    Pomaga zbudować strukturę wtyczki Claude Code: katalogi, plugin.json, polecenia, agentów, hooki i automatyczne wykrywanie komponentów.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.