Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

task-author

БесплатноБез исполняемых скриптовНе проверен

Create or repair Brainqub3 task packages that must pass evaluator tests before runs, including both fabricated instances and user-provided data workflows.

brainqub3от brainqub3★ 15 звёзд на GitHub

Об этом скилле

task-author

Use this skill when a new task is needed or when an existing task package is incomplete.

Goal

Produce:

  1. brainqub3/tasks/<task>/task.md
  2. brainqub3/tasks/<task>/instances.jsonl
  3. brainqub3/tasks/<task>/evaluator.py
  4. brainqub3/tasks/<task>/tests/test_evaluator.py
  5. Optional fixtures/ files required for deterministic evaluation

Workflow

  1. Initialize scaffold if task folder does not exist: uv run brainqub3 task init <task_name>.
  2. Define deterministic output contract in task.md (exact JSON keys, types, and no extra keys unless explicitly allowed).
  3. Choose data mode: fabricated task data or user-provided data.
  4. Build instances.jsonl with stable IDs and task inputs.
  5. Implement evaluator with explicit failure taxonomy (invalid_json, not_object, schema_mismatch, answer_mismatch, plus task-specific errors).
  6. Add evaluator tests for pass/fail and malformed output.
  7. Run uv run pytest brainqub3/tasks/<task>/tests -q and fix until green.
  8. Optionally run a smoke check: uv run brainqub3 run sas --task <task_name> --instances 1 --allow-mock.

Data Modes

1) Fabricated Data Mode

  • Generate deterministic instances directly in instances.jsonl.
  • Prefer explicit gold answers when truth can be precomputed.
  • If truth is derived from local files/rules, store deterministic inputs under fixtures/ and derive truth in evaluator.
  • Include edge cases that break naive or hard-coded solutions.
  • Keep constants and generation logic stable for reproducibility.

2) User-Provided Data Mode

  • Confirm expected input source (files, folders, schema) before building instances.
  • Snapshot minimal required data into task-local fixtures/ when possible.
  • If data cannot be copied, document stable path assumptions and required layout in task.md.
  • Normalize user data into deterministic instances.jsonl rows with id and input.
  • Add evaluator checks for missing files, missing fields, malformed records, and empty data slices.

Quality Gates

  • task.md specifies deterministic success criteria and strict output contract.
  • Evaluator returns EvalResult with actionable error_type and useful details.
  • Tests cover at least:
    • clear pass
    • clear fail
    • invalid JSON
    • schema mismatch
    • one data-source-specific failure path
  • uv run pytest brainqub3/tasks/<task>/tests -q passes before any SAS/MAS run.

Coordination

  • Use eval-builder when evaluator complexity grows or tests are brittle.
  • Report changed files and validation commands run.
Полный SKILL.md на GitHub

Установить task-author в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Edit
Bash
Glob
Grep

FAQ

Что делает скилл task-author?

Create or repair Brainqub3 task packages that must pass evaluator tests before runs, including both fabricated instances and user-provided data workflows.

Как установить скилл task-author?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл task-author запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить task-author с