feat: add AtomCode command adapter support#1211
Conversation
Add AtomCode as a supported tool with its own command adapter. AtomCode is an open-source terminal AI coding assistant that uses the same Agent Skills spec as Claude Code. Changes: - New adapter: src/core/command-generation/adapters/atomcode.ts - File path: .atomcode/commands/opsx-<id>.md - Frontmatter: description only - Command references transformed from colon to hyphen format - Register adapter in index.ts, registry.ts, and config.ts - Update docs (supported-tools.md, cli.md) with AtomCode entry - Add 6 test cases for atomcodeAdapter - Add changeset for version tracking Closes Fission-AI#1210 Co-Authored-By: hu-qi, AtomCode (GLM-5.1) <huqi1024@gmail.com>
📝 WalkthroughWalkthroughAdds AtomCode as a supported tool in OpenSpec. A new ChangesAtomCode Tool Integration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/cli.md`:
- Line 110: The supported tool IDs list in docs/cli.md is missing the tool ID
vibe, which causes documentation to be out of sync with the actual
implementation in src/core/config.ts that includes value vibe. Add vibe to the
comma-separated list of supported tool IDs (--tools) in alphabetical order with
the other tools to ensure documentation accurately reflects the supported
capabilities.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 3d9b8cb7-08b9-46bb-b701-aa50b0129647
📒 Files selected for processing (8)
.changeset/atomcode-support.mddocs/cli.mddocs/supported-tools.mdsrc/core/command-generation/adapters/atomcode.tssrc/core/command-generation/adapters/index.tssrc/core/command-generation/registry.tssrc/core/config.tstest/core/command-generation/adapters.test.ts
Summary
Adds AtomCode as a supported tool in OpenSpec with its own command adapter.
AtomCode is an open-source terminal AI coding assistant (by AtomGit) that uses the same Agent Skills spec as Claude Code. It stores custom commands in
.atomcode/commands/with YAML frontmatter (descriptionfield).Closes #1210
Changes
src/core/command-generation/adapters/atomcode.ts):.atomcode/commands/opsx-<id>.mddescriptiononly (AtomCode supports additional fields likename,argument-hint,allowed-toolsbut these are optional)/opsx:apply) to hyphen format (/opsx-apply) viatransformToHyphenCommandsindex.ts,registry.ts, andconfig.ts(withskillsDir: '.atomcode')supported-tools.mdandcli.mdwith AtomCode entryatomcodeAdapter(toolId, file path, frontmatter, no extra fields, command reference transformation).changeset/atomcode-support.mdfor minor version bumpTest Results
Summary by CodeRabbit
Release Notes
New Features
openspec init --tools atomcode, enabling direct integration with AtomCode's Agent Skills and slash commands directory structure.Documentation