feat: add CodeArts Agent skills support#1266
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThis PR adds CodeArts ( ChangesCodeArts tool support
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 `@test/core/init.test.ts`:
- Line 211: There is a duplicate const declaration for logCalls in the same test
block, which causes a block-scoped redeclaration error. In init.test.ts, keep
only one logCalls definition and remove the extra duplicate line near the
console.log mock usage so the test file compiles cleanly.
🪄 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: 980dbd49-2ed6-43f8-81c5-88c369cc5574
📒 Files selected for processing (10)
docs/cli.mddocs/commands.mddocs/how-commands-work.mddocs/supported-tools.mddocs/troubleshooting.mdsrc/core/config.tstest/core/available-tools.test.tstest/core/command-generation/registry.test.tstest/core/init.test.tstest/core/shared/tool-detection.test.ts
alfred-openspec
left a comment
There was a problem hiding this comment.
Reviewed the CodeArts Agent skills-only integration across config, init/update behavior, adapterless command handling, docs, and focused tests. Paths match the public CodeArts skills surface, command generation correctly stays skipped without an adapter, and the added coverage hits the right seams.\n\nOne minor existing UX nit: adapterless tools can still appear in the generic success count as if commands exist before the explicit skipped-commands line clarifies it. Not introduced here and not blocking.
Summary
openspec inittool using thecodeartsagenttool ID and.codeartsdoerskills directory.Verification
npx vitest run test/core/init.test.ts -t \"CodeArts\"npx vitest run test/core/available-tools.test.ts test/core/shared/tool-detection.test.ts test/core/command-generation/registry.test.tsnpm run lint(passes with existing warning insrc/core/references.ts)npm run buildopenspec init --tools codeartsagentSummary by CodeRabbit
New Features
codeartsagent) as a recognized AI tool./openspec-*invocations.Bug Fixes
opsx-*command files.Documentation
Tests