Add Command Code integration to spec-kit - #4019
Open
Angelthebestone wants to merge 1 commit into
Open
Conversation
Adds `command-code` as a built-in skills-based integration so Spec Kit can be installed into Command Code. Command Code loads agent skills from `.commandcode/skills/speckit-<name>/SKILL.md` and invokes them in chat as `$speckit-<command>`. - New `CommandCodeIntegration` (SkillsIntegration) writing to `.commandcode/skills/`; declared multi-install safe (static, isolated agent root). - Register in `_register_builtins()` and the integration catalog. - Add `command-code` to `DOLLAR_SKILLS_AGENTS` so next-steps guidance renders `$speckit-*` invocations. - Tests: reuse `SkillsIntegrationTests` mixin plus a dollar-invocation next-steps test; registry completeness updated. - Docs: README and docs/reference/integrations.md (supported agents + multi-install-safe table). Co-authored-by: CommandCodeBot <noreply@commandcode.ai> Assisted-by: Command Code (autonomous)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Command Code as a first-class built-in integration so Spec Kit can be installed into Command Code with:
Command Code discovers agent skills from
.commandcode/skills/<name>/SKILL.md(project) or~/.commandcode/skills/(personal), which matches thespeckit-<name>/SKILL.mdlayout Spec Kit'sSkillsIntegrationbase class generates. Skills are invoked in chat as$speckit-<command>(dollar-prefix chat invocation, like Codex/ZCode).Changes
CommandCodeIntegration(src/specify_cli/integrations/command_code/__init__.py), aSkillsIntegrationsubclass:.commandcode/skills/requires_cli: True(CLI iscmdc/command-codeon PATH; supports-p/--output-format jsondispatch).commandcode/agent root), so it can coexist with Claude Code, Codex, etc._register_builtins()(import +_register()) and added tointegrations/catalog.json.command-codetoDOLLAR_SKILLS_AGENTSsospecify initnext-steps and hook references render$speckit-*.tests/integrations/test_integration_command_code.pyreuses theSkillsIntegrationTestsmixin (setup/teardown, file inventory, frontmatter, uninstall round-trip, multi-install) plus a$speckit-*next-steps invocation test;command-codeadded toALL_INTEGRATION_KEYSintest_registry.py.docs/reference/integrations.md(supported-agents table + multi-install-safe table).Verification
pytest tests/integrations/test_integration_command_code.py— 31 passedpytest tests/integrations/test_registry.py— 664 passed (includes multi-install-safe contracts)tests/integrationssuite — all files green (only pre-existing skips/warnings)Produced
.commandcode/skills/speckit-{analyze,checklist,clarify,constitution,converge,implement,plan,specify,tasks,taskstoissues}/SKILL.mdand next-steps showing$speckit-constitution,$speckit-specify, etc. (no/speckit.constitution).