feat: add OpenCode support (#2)#14
Merged
Merged
Conversation
OpenCode reads AGENTS.md natively, so the kit's existing assets port over with a lightweight adapter rather than duplicating all 45 skills — the same philosophy already used for Codex and Cursor. - opencode.json registers the cwm-roslyn-navigator MCP server and loads the consolidated .NET rules via the instructions array. - .opencode/AGENTS.md mirrors .codex/AGENTS.md: agent routing table, skill catalog, MCP tool reference, and rules pointers, adapted for OpenCode (commands map to .opencode/commands, MCP configured in opencode.json). - README lists OpenCode in Multi-Platform Support and repo structure. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #2. Adds OpenCode as a supported platform, following the kit's existing lightweight-adapter philosophy — the same approach already used for Codex and Cursor. OpenCode reads
AGENTS.mdnatively, so the existing assets port over without duplicating all 45 skills.Changes
opencode.json(root) — registers thecwm-roslyn-navigatorMCP server (type: local) and loads the consolidated .NET rules (.cursor/rules/dotnet-rules.md) plus the catalog via theinstructionsarray..opencode/AGENTS.md— mirrors.codex/AGENTS.md: 10-agent routing table, 45-skill catalog, 15 MCP tools, and rules pointers — adapted for OpenCode (workflow skills map to.opencode/commands/, MCP configured inopencode.json).README.md— OpenCode added to the Multi-Platform Support table and repo structure.Design notes
Per the repo's established pattern (
.codex/.cursorget a single pointer file, not 55 copied files), this does not machine-port every skill/agent into.opencode/. Thin.opencode/agents/*.mdand.opencode/commands/*.mdwrappers can be added later if demand grows.Verification
opencode.jsonvalidated as well-formed JSON.skills/*/directories (28 domain + 14 workflow + 3 learning) and 10agents/*.md.i/lf w/lf).Mapping reference
AGENTS.md.claude/rules(via.cursor/rules/dotnet-rules.md)instructionsarrayagents/*.md.opencode/agents/*.md(referenced; wrappers optional).opencode/commands/*.md(optional)opencode.jsonmcpblock🤖 Generated with Claude Code