SkilldexAll articles

Version the behaviors callers rely on

Define a skill’s public contract and use migration tests to decide when behavior changes deserve a release boundary.

A few words in a skill can alter which tasks trigger it, which references it reads, or how it interprets a missing value. A useful version tells a dependent team which behavior it may rely on and what it needs to test when it upgrades.

Define the public surface before naming a version

List supported workflows, declared output schemas, minimum tool capabilities, and policy-sensitive decisions that downstream callers depend on. Specify acceptable variation for prose, ordering, and optional fields. Version labels can communicate compatibility only when the public contract is explicit.

Semantic Versioning is helpful for packages with a declared public API. Apply it to the skill behaviors that can be tested and meaningfully supported. Describe important routing changes in release notes even when the file format stays intact.

Use compatibility fixtures before migration

Keep representative examples of supported prior behavior. A new optional field may be accepted by a permissive client while breaking a strict decoder. A new reference may change the classification of historical records. Run consumer tests and distinguish intended changes from unexpected drift.

Pin versions during transition

Keep the previous package digest and its dependency expectations available while clients migrate. If a change requires converting stored state, record the state version independently. This lets an operator restore a compatible pair of skill and state or apply a reviewed migration instead of guessing.

Sources