Skip to content

feat: add OpenCode support (#2)#14

Merged
iammukeshm merged 1 commit into
mainfrom
feature/opencode-support
Jun 27, 2026
Merged

feat: add OpenCode support (#2)#14
iammukeshm merged 1 commit into
mainfrom
feature/opencode-support

Conversation

@iammukeshm

Copy link
Copy Markdown
Member

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.md natively, so the existing assets port over without duplicating all 45 skills.

Changes

  • opencode.json (root) — registers the cwm-roslyn-navigator MCP server (type: local) and loads the consolidated .NET rules (.cursor/rules/dotnet-rules.md) plus the catalog via the instructions array.
  • .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 in opencode.json).
  • README.md — OpenCode added to the Multi-Platform Support table and repo structure.

Design notes

Per the repo's established pattern (.codex/.cursor get a single pointer file, not 55 copied files), this does not machine-port every skill/agent into .opencode/. Thin .opencode/agents/*.md and .opencode/commands/*.md wrappers can be added later if demand grows.

Verification

  • opencode.json validated as well-formed JSON.
  • Skill catalog cross-checked against the 45 live skills/*/ directories (28 domain + 14 workflow + 3 learning) and 10 agents/*.md.
  • Committed files confirmed LF (i/lf w/lf).

Mapping reference

Kit asset OpenCode target
Root AGENTS.md Read natively
.claude/rules (via .cursor/rules/dotnet-rules.md) instructions array
agents/*.md .opencode/agents/*.md (referenced; wrappers optional)
Workflow skills .opencode/commands/*.md (optional)
Roslyn MCP opencode.json mcp block

🤖 Generated with Claude Code

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>
@iammukeshm
iammukeshm merged commit 11083d2 into main Jun 27, 2026
9 checks passed
@iammukeshm
iammukeshm deleted the feature/opencode-support branch June 27, 2026 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support to OpenCode

1 participant