coware-skills
/install coware
Coware — Shared Living Specs
Coware keeps AI agents aligned by syncing shared interface specs across your team. Every agent reads the same spec before writing code — no more merge conflicts from mismatched APIs, field names, or return types.
FIRST: Check initialization status
Check if .coware/config.json exists in the project root.
IF .coware/config.json EXISTS → Project is initialized
This project already uses Coware. Follow this workflow:
Before coding
- Run:
node .coware/pull.mjs- This fetches the latest specs from the Coware server.
- If the command fails (network error, server down), proceed with whatever
local
.coware/specs/*.mdfiles exist.
- Read ALL
.mdfiles in.coware/specs/.- These specs are the source of truth for all interfaces, types, API contracts, and data shapes in this project.
- You are ready to code. Follow the specs exactly.
While coding
- Follow specs exactly. Match field names, types, return formats, status codes.
- If a spec needs to change (new endpoint, renamed field, etc.):
- Update the relevant
.coware/specs/\x3Cslug>.mdfile FIRST. - THEN update the code to match.
- Never let code drift from specs.
- Update the relevant
After coding
- If you created or modified any spec files, run:
node .coware/sync.mjs- This pushes updated specs to the server so teammates get them.
- If sync fails, the local spec files are still the source of truth.
- If you did NOT change any specs, no action needed.
IF .coware/config.json DOES NOT EXIST → New project setup
This project has not been initialized with Coware yet.
Setup instructions
- Fetch the setup guide:
https://coware.team/llms.txt - Read the response carefully.
- Follow ALL instructions in the guide from start to finish, in order.
- The guide will walk you through: login, project creation/joining, file setup, and spec generation.
- Execute ALL steps in ONE go. Do NOT stop to ask the user questions mid-flow.
- The ONLY acceptable way to ask the user something is via a tool-based selection dialog. NEVER stop your turn to ask via text.
- After setup completes, follow the "Project is initialized" workflow above.
Spec file format
Each spec file in .coware/specs/ is a Markdown file:
# Module Name
## Endpoints
### GET /api/resource
- Response: `{ data: Resource[], total: number }`
- Auth: Bearer token required
## Types
### Resource
- id: string (UUID)
- name: string
- createdAt: string (ISO 8601)
When generating or updating specs, follow this structure:
- One file per module/domain (e.g.,
auth.md,users.md,orders.md) - Include endpoints with method, path, request/response shapes
- Include shared types and enums
- Include auth requirements and error formats
- Use consistent naming conventions throughout all specs
Inviting teammates
After setup, share the invite code (found in .coware/config.json → invite field)
with teammates. They install this skill and run /coware — their agent will
automatically join the project and pull shared specs.
Troubleshooting
- pull.mjs fails: Proceed with local
.coware/specs/*.mdfiles. - sync.mjs fails: Local specs are still source of truth. Retry later.
- No specs exist: Scan the codebase and generate specs, then sync.
- Specs conflict with code: Specs win. Update code to match specs, or update specs first if the change is intentional.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install coware - 安装完成后,直接呼叫该 Skill 的名称或使用
/coware触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
coware-skills 是什么?
Coware Living Specs — shared API spec sync for multi-agent coding teams. TRIGGER when: project has .coware/ directory, user mentions shared specs, API alignm... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 76 次。
如何安装 coware-skills?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install coware」即可一键安装,无需额外配置。
coware-skills 是免费的吗?
是的,coware-skills 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
coware-skills 支持哪些平台?
coware-skills 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 coware-skills?
由 shitianfang(@shitianfang)开发并维护,当前版本 v1.0.0。