Skip to content
mentoor

Topic 4 of 5 · 5 min read

Versioning and distributing skills to a team

Goal: Plan how a team ships, versions and updates a shared skill so every engineer and every supported agent gets the same reviewed version.

Treat a skill as code the team owns: keep it in version control, review changes, version it, and ship it by the simplest route that gives everyone the same copy. A skill passed around in chat drifts, and then two engineers get different results from the same request.

Check yourself · 1 of 3

A skill is tied to one codebase and the whole team should get it. What is the simplest way to share it?

Choose one answer

Why it matters

A skill encodes how your team does something. If Priya has an old copy of the release skill and Tom has a newer one, release notes differ depending on who asked. Skills also run scripts, so an unreviewed edit is an unreviewed change to what the agent executes.

Three ways to distribute

1. Check it into the repo. Put skills in the project's skills folder, for example .claude/skills/release-notes/ for Claude Code. Everyone who clones the repo gets them, and changes go through pull requests like any other file. This is the right default for skills tied to one codebase.

2. Share them in a plugin. A plugin bundles skills, and optionally subagents and hooks, into one installable package with its own version. Use this when the same skills serve many repos or teams. Updating the plugin updates everyone who installs it.

3. Personal skills. A skill in your home folder helps only you. It is fine for experiments and bad for anything the team depends on.

Working across agents

Skills follow an open format, the Agent Skills specification, so a folder with SKILL.md, scripts/ and references/ can be read by more than one agent. Claude Code and Codex both read this format. Different tools look in different default folders, so check each tool's documentation and avoid tool-specific frontmatter fields in a skill you want to share. If a field is unknown to another agent, it may be ignored, which can change behaviour silently.

Versioning

Version a shared skill the way you version a library. Record changes in a short changelog next to it. Use a new version when the output format or steps change in ways users will notice. Tag releases of the plugin or repo so you can roll back.

Before and after

Weak: the skill is zipped and posted in a team chat. Six weeks later three versions exist.

Better:

repo/
  .claude/skills/release-notes/
    SKILL.md
    scripts/collect_prs.py
    CHANGELOG.md
  CODEOWNERS            # /.claude/skills/ @team-platform

A pull request edits the skill, the owner team reviews the script, CI runs the trigger tests from the previous topic, and merging ships it to everyone on their next pull.

What goes wrong

  • Skills in personal folders only. Nobody else benefits and nothing is reviewed.
  • No review on scripts. A skill script runs with the agent's permissions.
  • Tool-specific fields everywhere. The skill works in one agent and misbehaves in another.
  • Updating without telling anyone. Users find the output format changed and cannot tell why.

Examples

Choosing a route

  • A skill for our own deploy script, used only in shop-api: check it into that repo, with CODEOWNERS pointing at the platform team.
  • A code-review skill used in 14 repos across three teams: publish it as a plugin with a version, and let each repo install a pinned version.
  • A skill someone is trying out for their own notes: keep it in the personal folder until it proves useful, then move it into the repo through a pull request.

Key points

  • Skills that the team depends on belong in version control, where changes go through review like any other code.
  • A repo-level skills folder suits one codebase, and a plugin suits skills shared across repos with its own version and updates.
  • Personal skills are fine for experiments but should not hold anything the team relies on.
  • Because the skill format is open, a plain SKILL.md folder can work in several agents, but tool-specific fields may be ignored elsewhere.
  • Record a changelog and tag releases so a bad skill change can be traced and rolled back.

Common mistakes

  • Sharing a skill by copying the folder through chat, which creates silent differences between engineers within weeks.
  • Merging changes to a skill's script without a review, even though that script runs with the agent's permissions.
  • Using fields that only one agent understands in a skill meant for several, so the others ignore them and behave differently.
  • Changing a skill's output format without a changelog entry, so users cannot tell why results changed.

Check yourself · 2 of 3

Three repos owned by different teams need the same code-review skill, with updates delivered together. What fits best?

Choose one answer

Check yourself · 3 of 3

Why review a change to a skill's bundled script as carefully as application code?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic