create-adapter

harbor-framework/harbor

Создаёт каркас нового адаптера бенчмарка Harbor через `harbor adapter init`, затем ведёт реализацию по Adapters Agent Guide как авторитетной спецификации.

Звёзды7 179
Авторharbor-framework
Установок113

Установка

SKILL.md

Create Adapter

Bootstrap a new benchmark adapter in the Harbor repository. This skill scaffolds the adapter directory with harbor adapter init and then defers to the adapter tutorial for every implementation decision.

Authoritative reference

The adapter tutorial is the authoritative specification for this skill. Read it in full before taking any action beyond scaffolding:

docs/content/docs/datasets/adapters.mdx

That path is relative to the Harbor repo root (a skill prerequisite — see below). The tutorial contains:

  • Required directory structures for the generated tasks and the adapter code package.
  • Step-by-step process (steps 1-9) covering benchmark analysis, oracle verification, parity experiments, dataset registration, and submission.
  • Schemas for task.toml, parity_experiment.json, adapter_metadata.json, and dataset.toml.
  • Parity matching criterion, pre-flight checklist, and debug playbook.
  • README format rules (machine-parsed; deviations break automation).

Do not substitute prior knowledge for the contents of that file. Treat it as the contract.

Prerequisites

  • Harbor CLI is installed and available on PATH (harbor --version succeeds).
  • Working directory is the Harbor repository root.
  • Harbor checkout is current: run git fetch origin && git status and pull main if behind. Stale checkouts miss recent adapter and agent fixes and are a common source of spurious parity failures later on.

Workflow

1. Read the tutorial

Before any filesystem or CLI action, Read docs/content/docs/datasets/adapters.mdx in full. Pay particular attention to:

  • Required Directory Structures — the contract for generated task and adapter layouts.
  • Step 1. Understand the Original Benchmark — what to identify upstream before coding.
  • Step 8. Register the Dataset → Naming rules — the name field and <org>/<task> format requirements.

2. Gather benchmark context from the user

Collect the following before scaffolding. If the user has not provided an item, ask before proceeding — these inputs shape the scaffold and the tutorial steps that follow.

FieldWhy it matters
Adapter nameLowercase, hyphen-separated. Must match the benchmark's common identifier (e.g., swe-bench, aider-polyglot). Becomes the directory under adapters/ and, after underscore conversion, the Python package name.
Human-readable namePassed via --name; appears in the generated README.
Upstream repo URLNeeded for tutorial Step 1 (benchmark analysis) and for the original_parity_repo field later.
Oracle solutions available?If the benchmark ships reference solutions, use them. If not, oracle solutions must be LLM-generated (tutorial Step 3 → "Benchmarks without oracle solutions").
Agent scenarioWhich of Step 4's scenarios applies: (1) existing compatible agent, (2) fork + add LLM agent, or (3) custom agent. This shapes the parity plan.

3. Create the adapter branch

Per tutorial Step 2, work on a dedicated branch:

git checkout -b <adapter-name>-adapter

4. Run the scaffold

Prefer the non-interactive form when both names are known:

harbor adapter init <adapter-name> --name "<Human-Readable Name>"

Otherwise run harbor adapter init interactively and let the CLI prompt.

Expected output: a new directory at adapters/<adapter-name>/ containing pyproject.toml, README.md, src/<adapter_name>/, and the template task files under src/<adapter_name>/task-template/. Verify the directory exists before continuing.

5. Hand off to the tutorial

Continue from "Step 1. Understand the Original Benchmark" in the tutorial. Do not invent structure, field names, or workflow beyond what the guide specifies.

High-priority gotchas (each is documented in the tutorial, but these are the most common adapter-build failures — surface them proactively as you work through the steps):

  • Every generated task.toml must contain a name field under [task]. main.py is responsible for deriving a sanitized, unique, registry-safe name for every task. Tasks without a name cannot be registered. See the tutorial's "Naming rules" table.
  • Task names must be stable across adapter runs. Unstable names churn registry digests on republish. If upstream lacks stable identifiers, mint a deterministic scheme (e.g., {dataset}-1, {dataset}-2) from a reproducible sort.
  • Use schema_version = "1.4" at the top of task.toml. Set package versions separately with [task].version in task.toml and [dataset].version in dataset.toml. Request any desired registry tags in the PR description.
  • main.py must support --output-dir, --limit, --overwrite, and --task-ids. These flags are required for reproducible runs and task-level debugging.
  • The generated README.md is parsed by downstream automation. Fill in every section exactly as the template defines; put extra context in the Notes section or in the notes fields of parity_experiment.json / adapter_metadata.json. Do not add, rename, reorder, or remove sections.
  • Do not run parity experiments unilaterally. Tutorial Step 4 requires team coordination on agents, models, and number of runs before incurring API costs. Complete sanity checks first, and execute full runs symmetrically on both sides.

Reference adapters by scenario

When implementation questions come up, point at an existing adapter that matches the benchmark's shape:

ScenarioExample adapterWhen to use
Compatible agent already existsadapters/adebench/Upstream already supports Claude-Code / Codex / OpenHands / Gemini-CLI
Fork upstream + add LLM agentadapters/evoeval/LLM-based benchmark with no Harbor-compatible agent
Custom agent, separate datasetadapters/bixbench/, adapters/financeagent/Custom interaction semantics; financeagent also demos LLM-as-a-Judge
Custom agent in-placeadapters/medagentbench/Custom HTTPAgent, no separate dataset
Multi-agent workflowadapters/cooperbench/Multiple agents coordinate via messaging / sidecars
GPU tasksadapters/featurebench/Comprehensive Docker + Modal GPU example

What this skill does NOT do

  • Implement adapter.py, main.py, or any task-template files. Those are the contributor's work, guided by the tutorial.
  • Run oracle verification or parity experiments. Those require explicit user intent and, for parity, team coordination.
  • Publish the dataset or open PRs. Those are later steps in the tutorial.

Failure modes

SymptomLikely causeAction
harbor: command not foundHarbor CLI not installedInstall with uv tool install harbor or the repository's development setup.
harbor adapter init fails with a name validation errorAdapter name contains invalid charactersRe-run with a lowercase, hyphen-separated name.
Scaffold succeeds but adapters/<name>/ is not presentRunning from outside the repository rootcd to the Harbor repository root and re-run.
Oracle passes locally but parity later fails spuriouslyStale Harbor checkoutgit fetch origin && git status; pull main if behind.

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: create-adapter](https://darkplay.ru/ai/skills/harbor-framework-harbor-create-adapter)

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

Skill Createaffaan-m · Анализирует локальную историю Git, извлекает паттерны кодирования и генерирует файлы…
225 587 ★
frontend-designanthropics · Создание выразительных фронтенд-интерфейсов продакшен-уровня с высоким качеством дизайна…
34 комп.
hookifyanthropics · Позволяет легко создавать пользовательские хуки для предотвращения нежелательного…
34 комп.
hyperframesheygen-com · Все навыки HyperFrames в одном статическом наборе. В большинстве случаев лучше…
27 комп.
ruflo-adrruvnet · Управление жизненным циклом ADR: создание, индексация, замена и связывание Architecture…
240 комп.
ruflo-loop-workersruvnet · Кэш-осведомлённые воркеры /loop и фоновая автоматизация CronCreate.
240 комп.
Documentation Analyst Writershanraisshan · Агент для анализа существующей документации и создания новой по стандартам проекта из…
61 912 ★
alloydbanthropics · Создание, подключение и работа с базой данных и данными AlloyDB для PostgreSQL.
100 комп.
alloydb-omnianthropics · Создание, подключение и работа с базой данных и данными AlloyDB Omni.
100 комп.
amplitudeanthropics · Amplitude как экспертный аналитик — внедрение инструментации, поиск возможностей…
100 комп.

Лучшие ИИ-инструменты для автоматизации и ассистентов

Ассистенты и автоматизация

Подборка ИИ-ассистентов для автоматизации рутины и ускорения рабочих процессов. Сервисы, которые берут на себя переписку, анализ данных, ведение базы знаний и подготовку продаж, эк

Give Me Public
Есть бесплатный тариф
5.0
AITunnelAitunnel
По запросу
5.0
STIVAStiva
По запросу
5.0
Wikibot (Викибот)Wikibot
По запросу
4.9
mymeet.aiMymeet
По запросу
4.9
InsighterInsighter
По запросу
4.9
TGHuntTghunt
Есть бесплатный тариф
4.9
LegiscanLegiscan
По запросу
4.9
RouterAIRouterai
По запросу
4.9
Wikibot 1.0 (Викибот)Wikibot
По запросу
4.9

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8