feat(init): add shared agents skills target#1303
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 (14)
📝 WalkthroughWalkthroughThis PR enables ChangesGeneric agents installer target
Estimated code review effort: 2 (Simple) | ~15 minutes Possibly related PRs
Suggested reviewers: 🚥 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 |
Summary
agentsas a first-class skills-backed tool target inAI_TOOLS, writing OpenSpec skills to.agents/skills/openspec-*/SKILL.md.init,update, tool detection, and the deprecatedexperimental --tool agentsalias through the existing sharedskillsDircode paths.agentstool ID and.agents/skillspath, while keeping.pi/.codexmigration behavior out of scope.Related
.agentsinstaller option for agentic tools #1104Scope Notes
This PR does not add
.pi->.agentsor.codex->.agentsmigration logic.Those migrations can remain separate follow-up work and should not block the vendor-neutral init target.
Test Plan
pnpm run buildpnpm exec tsc --noEmitpnpm lint(passes with existing warning insrc/core/references.ts)pnpm exec vitest run test/core/init.test.ts test/core/available-tools.test.ts test/core/shared/tool-detection.test.ts test/core/update.test.ts test/commands/artifact-workflow.test.ts test/cli-e2e/basic.test.ts→ 217 passedgit diff --checkLocal Full-Suite Note
pnpm testmostly passes locally but one environment-sensitive workset test fails on this machine because the realclaudeCLI is installed and returns its own--printerror instead of the expected OpenSpec launch-failure wrapper:test/commands/workset.test.ts→a launch failure carries a pasteable alternative and the manual routeA separate timeout in
test/cli-e2e/capstone-journeys.test.tspassed when rerun directly.Summary by CodeRabbit
New Features
Bug Fixes
openspec initnow creates the expected shared skills path for selected tools.Documentation