integrate-harness

仓库创建 2026年1月5日最近提交 2 天前SkillHot 收录 21 天前
▸ 精选理由

对开发新适配器的工程师提供完整检查表与实践指南,降低接入成本。

▸ 风险提示

需读取第三方 CLI 文档并处理认证信息,可能触及凭证或外部服务。

这个 Skill 做什么

协助把新的 CLI 型代码代理适配器接入项目,包含审计、骨架、测试与文档。

把新的 CLI 型代码代理接入现有系统,负责把适配器从骨架到上线都做好:能力审计、骨架代码、会话解析、鉴权检测、钩子/插件接入、测试和文档都补齐。适合要新增一个 XAdapter(继承 BaseAgentAdapter)并且要达到和现有适配器同等质量时使用。特点是一套流程把兼容性、测试覆盖和文档一次性弄全,避免上线后出问题。

▸ 展开 SKILL.md 英文原文

Use when adding a new agent harness (CLI-based coding agent) adapter to adapters. Covers capability audit, adapter scaffold, session parsing, auth detection, hooks/plugins wiring, tests, and docs.

开发编程适配器集成能力审计测试覆盖通用
1.6k
Stars
94
Forks
40
仓库内 Skill
+111
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/a5c-ai/babysitter/main/packages/adapters/skills/integrate-harness/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/a5c-ai/babysitter/main/packages/adapters/skills/integrate-harness/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# integrate-harness

Goal: produce a production-quality `XAdapter extends BaseAgentAdapter` with full test coverage and documentation, matching the level of the existing 11 adapters (claude, codex, cursor, gemini, opencode, openclaw, copilot, hermes, pi, omp, adapters-remote).

## Checklist

1. **Capability audit** — read the harness's CLI docs. Fill in every `AgentCapabilities` field. Unknown? Set conservatively (`false`) and note in PR.
2. **Create `packages/adapters/src/<name>-adapter.ts`** extending `BaseAgentAdapter`. Required: `agent`, `displayName`, `cliCommand`, `minVersion`, `hostEnvSignals`, `capabilities`, `models[]`, `defaultModelId`, `configSchema`, `buildSpawnArgs`, `parseEvent
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有