Add and ship OpenCode support for one Claude Code plugin at a time. Includes core migration to a reviewable `opencode-plugin/` adapter, maintainer-facing docs, and follow-up CI/versioning setup for package publishing or skill-copy drift checks.
92
92%
Does it follow best practices?
Impact
97%
1.25xAverage score across 2 eval scenarios
Passed
No known issues
| Area | Test | Evidence |
|---|---|---|
| Package entrypoint | Import opencode-plugin entrypoint successfully. | |
| Plugin factory | Instantiate plugin with fake context and inspect returned handlers. | |
| Shared assets | Verify .agents/ source or package-local copy is readable. | |
| MCP config | Verify OpenCode mcp entries exist in opencode.jsonc / opencode.json and match Claude source intent. | |
| Hook parity | Run fixture for each ported Claude hook intent. | |
| State safety | Check state path, malformed state, and unsafe path handling. | |
| Existing Claude behavior | Run existing Claude/plugin tests unchanged. | |
| Local harness | If .opencode/ shim exists, run or document OpenCode smoke test. |