Skip to content

feat(tools): add Command Code support as a skills-only tool - #1613

Open
Angelthebestone wants to merge 2 commits into
Fission-AI:mainfrom
Angelthebestone:feat/command-code-support
Open

feat(tools): add Command Code support as a skills-only tool#1613
Angelthebestone wants to merge 2 commits into
Fission-AI:mainfrom
Angelthebestone:feat/command-code-support

Conversation

@Angelthebestone

@Angelthebestone Angelthebestone commented Aug 8, 2026

Copy link
Copy Markdown

Summary

Summary by CodeRabbit

  • New Features

    • Added Command Code integration for openspec init.
    • OpenSpec skills are now installed under .commandcode/skills/.
    • Command Code users can invoke OpenSpec workflows with /openspec-* commands.
    • Added Command Code to the supported tools list.
    • Added continue as an accepted tool option for openspec init --tools.
    • Command Code initialization now uses skills without generating additional commands.
  • Documentation

    • Updated CLI and supported-tools documentation with the new tool options and integration details.

Register Command Code in AI_TOOLS with skillsDir `.commandcode`, so
`openspec init`/`update` install the OpenSpec skills where Command Code
discovers them (.commandcode/skills/<name>/SKILL.md) and reference them
with the `/openspec-*` invocations its skill surface registers.

No command adapter: Command Code has no slash-command files, so the
skills-only target behaves like other adapterless tools and reports
"Commands skipped for: command-code ^(no adapter^)".

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
@Angelthebestone
Angelthebestone requested a review from a team as a code owner August 8, 2026 00:05
@Angelthebestone
Angelthebestone requested review from clay-good and removed request for a team August 8, 2026 00:05
@coderabbitai

coderabbitai Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: c05fcd5b-fb62-4aaa-85ee-bcbe2461e948

📥 Commits

Reviewing files that changed from the base of the PR and between c8e5040 and 4fbb1d2.

📒 Files selected for processing (1)
  • docs/supported-tools.md

📝 Walkthrough

Walkthrough

Command Code is added as a skills-only tool. Configuration, documentation, detection, initialization behavior, tests, and release-note coverage are included.

Changes

Command Code support

Layer / File(s) Summary
Register and document Command Code
src/core/config.ts, docs/cli.md, docs/supported-tools.md, test/core/available-tools.test.ts
Adds the command-code tool ID and .commandcode skills directory. Documents invocation details and supported IDs. Validates directory detection.
Validate skills-only initialization
test/core/init.test.ts, .changeset/friendly-commandcode-support.md
Verifies skill installation under .commandcode/skills, /openspec-* references, omitted command generation, and the adapterless log message. Records the minor release change.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: clay-good, tabishb, alfred-openspec

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes the main change: adding Command Code support as a skills-only tool.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/supported-tools.md`:
- Line 73: Update the skills-only invocation table near the existing Command
Code documentation so it includes Command Code with its skill-based
`/openspec-*` invocation and no generated command files, matching the newly
added command-code row and keeping both sections consistent.
🪄 Autofix

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 Plus

Run ID: 757d12c6-7b23-4ead-8719-0efe3b3a9571

📥 Commits

Reviewing files that changed from the base of the PR and between e50bd09 and c8e5040.

📒 Files selected for processing (6)
  • .changeset/friendly-commandcode-support.md
  • docs/cli.md
  • docs/supported-tools.md
  • src/core/config.ts
  • test/core/available-tools.test.ts
  • test/core/init.test.ts

Comment thread docs/supported-tools.md
Keeps the How-To-Invoke table consistent with the Tool Directory
Reference row added for Command Code.

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
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.

1 participant