Open
Conversation
This file outlines the Spec-Driven Development workflow using the speckit toolset, detailing the sequence of commands and core rules for implementation.
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.
Description
Adds full support for [OpenClaw](https://openclaw.ai) as a new AI agent in Specify CLI.
OpenClaw is a persistent AI agent daemon that connects to messaging platforms (Telegram, WhatsApp, Slack, etc.) and uses a skill-based architecture — skills are discovered as directories containing a
SKILL.mdfile under<workspace>/skills/, identical to the pattern used by Kimi Code.Files changed:
src/specify_cli/__init__.py— Added"openclaw"toAGENT_CONFIGwithfolder: ".openclaw/",commands_subdir: "skills",requires_cli: True,install_url: "https://openclaw.ai". Help text updates automatically via_build_ai_assistant_help()..github/workflows/scripts/create-release-packages.sh— AddedopenclawtoALL_AGENTSand newcreate_openclaw_skills()function that generates.openclaw/skills/speckit-<command>/SKILL.mdfiles with OpenClaw-compatible frontmatter..github/workflows/scripts/create-release-packages.ps1— Mirror of bash changes:New-OpenClawSkillsfunction,'openclaw'case inBuild-Variant,'openclaw'added to$AllAgents.scripts/bash/update-agent-context.sh— AddedOPENCLAW_FILE="$AGENTS_FILE"(OpenClaw readsAGENTS.mdfrom workspace root, same asamp,kiro-cli,bob), addedopenclaw)case inupdate_specific_agent()andupdate_if_newcall inupdate_all_existing_agents().AGENTS.md— Added OpenClaw to supported agents table, CLI-based agents list, Markdown format section, and directory conventions.README.md— Added OpenClaw to supported agents table,--aioption description,specify checktools list, and examples section.templates/SKILL.md— New workspace-level skill manifest copied to.openclaw/skills/speckit/SKILL.mdonspecify init --ai openclaw --ai-skills.templates/skill-file-template.md— New per-command SKILL.md template used byinstall_ai_skills(), following the existing*-template.mdnaming convention.Key design decisions:
--ai-skillsis the primary path for OpenClaw since it uses skill directories, not flat slash command filesspeckit-specify) vs Kimi Code's dot separator (speckit.specify)OPENCLAW_FILEpoints toAGENTS.md— the OpenClaw equivalent ofCLAUDE.mdfor Claude Codegenericremains last in all agent arraysTesting
uv run specify --helpuv sync && uv run pytestAI Disclosure
Implementation approach and file structure were developed with AI assistance (Claude). All code was manually reviewed, tested end-to-end, and verified against existing agent integration patterns before submission.