What problem does it solve?
Adding a new agent harness adapter to the AI SDK monorepo involves many interlocking conventions—package structure, build configs, bridge protocols, auth resolution, tests, docs, and changesets—that are easy to get wrong without a canonical checklist.
Core Features & Use Cases
- Step-by-step scaffolding guide: Covers package structure, package.json settings, TypeScript/tsup/vitest configs, and the HarnessV1 adapter contract.
- Bridge-backed runtime guidance: Explains bridge dependency rules, lockfile regeneration, and asset copying for runtimes that must execute inside the sandbox.
- Validation workflow: Prescribes konsistent checks, changesets, live sandbox testing, and documentation updates before release.
- Use Case: When adding support for a new coding-agent runtime, follow this guide to produce a compliant @ai-sdk/harness-<name> package with tests, README, examples, and docs.
Quick Start
Use the add-harness-package skill to scaffold a new @ai-sdk/harness package for my coding-agent runtime.