haops_update_skill
Publish a new version of an existing skill by providing its name and at least one mutable field. The server automatically bumps the version, or leaves it unchanged if no fields differ.
Instructions
Publish a new version of an existing skill (PUT /api/skills/[name]). Server bumps version in a single transaction. A no-op update (no field differs from current) returns the current row WITHOUT a version bump (mirrors prompt PATCH semantics). At least one mutable field must be supplied. Admin-only, gated by ENABLE_COMPOSED_PROTOCOLS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Kebab-case skill name to update. | |
| scope | No | Scope of the target skill. Defaults to "system". | |
| cascade | No | When true, atomically re-wires all consumers (role templates with this skill in defaultSkills, skill packs containing this skill, project protocols with this skill in enabledSkillIds) to the NEW UUID in the same DB transaction. Recommended for any system skill bump. Default: false. | |
| content | No | New markdown body (non-empty). | |
| verbose | No | If true, return the full API response instead of the compact summary (default: false) | |
| category | No | New skill category. | |
| description | No | New description (non-empty). | |
| projectSlug | No | Project slug — REQUIRED when scope="project"; MUST be omitted when scope="system". | |
| isDeprecated | No | Mark the skill as deprecated (the resolver hides deprecated skills from default manifests, but they remain readable). | |
| applicableRoles | No | New applicable roles list. |