writing-evals
БесплатноБез исполняемых скриптовНе проверенUse when creating or revising GitHub CLI agent evals, especially live fixtures, skill-off/skill-on comparisons, polling or event-routing behavior, Vally…
от cli★ 47 389 звёзд на GitHubОб этом скилле
Writing Agent Evals
Status
This is tentative guidance from the first event-driven gh eval suite. Preserve
counterexamples and revise it when repeated trials disagree.
Core principle
Distinguish desired behavior from nearby success. Completion through polling is not evidence that event streaming worked.
Define the treatment effect first:
skill off: normal graded failure attributable to missing guidance
skill on: task, route, no-polling, and semantic checks all pass
Infrastructure, credential, actor, and cleanup errors are not valid baseline failures.
Working sequence
- Specify observable behavior. Keep command names and anti-polling policy out of the normal user prompt.
- Separate contracts. Test the candidate command, harness/grading, and agent adoption independently.
- Build deterministic evidence. Record versioned treatment provenance, actual argv/output, actor actions, exit status, and final state.
- Tighten the loop. Unit tests → offline replay → no-model live smoke → shortened model trial → checked-in-budget off/on comparison.
- Convert failures into regressions. Do not debug deterministic logic with repeated five-minute model runs.
Prefer Vally definitions plus executor/grader plugins over a bespoke runner. Keep the shell wrapper thin; TypeScript can own fixtures and graders without owning the runner.
Grading contract
| Grader | Independent question |
|---|---|
| Task | Did the externally observable requested outcome happen? |
| Route | Did a dedicated event command observe each exact scripted change? |
| No polling | Did repeated unchanged status reads substitute for waiting? |
| Semantic | Does the full trajectory honestly satisfy the request? |
Semantic review cannot rescue deterministic failure. Require exact event output or post-listener snapshot recovery, not merely temporal overlap.
Treat one initial read and one event-triggered read per external-change epoch as potentially legitimate. Repeated successful reads of the same projection without an intervening change are polling.
Non-negotiable safeguards
- Use a separate actor identity and trigger it from explicit readiness or observed progress, never arbitrary control delay.
- Keep the baseline skill unchanged; make treatment baseline-plus-delta.
- Require subscriber, actor, fixture, and model credentials explicitly. Never
default the evaluated identity to personal
ghauthentication. - Journal resources first; clean up every exit path with the owning identity.
- Keep design probes and product-hint interventions in separate variants.
- Version and deeply validate replay evidence; normalize old versions explicitly.
Common mistakes
| Mistake | Better direction |
|---|---|
| LLM decides command facts | Parse actual argv, output, timing, and state |
| Latency stands in for streaming | Require route evidence and detect polling |
| Stream and snapshot start together | Wait for attachment, then snapshot |
Read the design notes for details and use the eval runbook for repository commands.
Установить writing-evals в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл writing-evals?
Use when creating or revising GitHub CLI agent evals, especially live fixtures, skill-off/skill-on comparisons, polling or event-routing behavior, Vally definitions, deterministic graders, or slow and flaky model loops.
Как установить скилл writing-evals?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл writing-evals запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic