SKILL

capability-bump

Change the JSON shape of a ynh command safely — decide whether it bumps CapabilitiesVersion, then update the schema, goldens and docs together. Use when adding, removing or changing any field in a --format json response.

Target: Target not categorized. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Change a structured-output shape
  • Step 1 — Decide: does this bump?
  • Step 2 — Know which responses are enveloped
  • Step 3 — Move all four together
  • The worked example — #254
  • Step 4 — Verify
  • Step 5 — Say so in the PR
  • The failure this prevents

config.CapabilitiesVersion is the wire-protocol version every enveloped response carries. Consumers — loop drivers, CI scripts, ynd validate-output — read it to know what they are talking to. .claude/CLAUDE.md states the rule. This skill is how you carry it out, because the rule is a decision and the execution is four files that must move together. Bumps — a consumer must adapt: removing a field renaming a field changing a field's type narrowing a type (string → enum) tightening an enum (removing a member) making an optional field required changing the meaning of an existing value Does not bump — a tolerant consumer is unaffected: adding an optional field adding a member to an open-set enum (consumers MUST tolerate unknowns, per docs/cli-structured.md) adding a whole new schema relaxing a constraint If unsure, treat it as a bump. A needless bump costs a consumer one version check. A missed one breaks them silently. Note the asymmetry: adding an enum member does not bump, removing one does. Open-set enums put the tolerance obligation on the consumer, which only works if the set only ever grows. Most golden responses do not carry capabilities at all. Many commands return a bare array

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
eyelock/ynh
Source file
.claude/skills/capability-bump/SKILL.md
Fixed revision
3a2944a97f6341a43490dac4e5b1fd37e8c3b6e6
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: eyelock/ynh · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T23:01:52.077Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.