agentleFS
tovrleaftovrleaf/openkata/.agents/skills/openkata-ryu-release/SKILL.md

openkata-ryu-release

Skill1 starsChanged 16 days agoMITView on GitHub

Releases distributable artifacts (skills, rules, profiles) with proper versioning, changelog, git tags, and optional tessl registry publish.

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. About 0 are common, 9 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    NEVER read the version from CHANGELOG.md or SKILL.md to determine the current version.

    line 27
  2. Distinctive:

    When in doubt, ask the user.

    line 45
  3. Distinctive:

    If no diff, abort — nothing to release.

    line 54
  4. Distinctive:

    Run the badge update script to sync counts:

    line 56
  5. Distinctive:

    If README.md changed, stage it for the release commit.

    line 60
  6. Very specific:

    Update CHANGELOG.md — add a version section after [Unreleased] with today's date and what changed.

    line 62
  7. Distinctive:

    Ask the user: "Release to tessl registry as well?

    line 92
  8. Very specific:

    If the tile doesn't exist yet, run tessl skill import first, then tessl tile publish.

    line 97
  9. Very specific:

    Update frontmatter name: field.

    line 120
  10. Very specific:

    Add redirect in artifactRedirects map in handlers.go:

    line 144
  11. Very specific:

    If there is something to commit with the release, use release(site): vX.Y.Z as its message.

    line 168
  12. Distinctive:

    NEVER determine current version from CHANGELOG.md — it may contain unreleased or untagged entries

    line 183
  13. Distinctive:

    NEVER run the evals before the version bump — the report would be for the previous version and the site would show no effectiveness for the …

    line 185
  14. Distinctive:

    NEVER skip the diff check — releasing unchanged artifacts creates noise

    line 188
  15. Distinctive:

    NEVER use git tag on a commit other than HEAD

    line 190
  16. Very specific:

    MUST push the tag separately from the commit if the IAM trust policy doesn't allow tag-triggered workflows (use gh workflow run …

    line 191
  17. Very specific:

    NEVER manually edit .tessl-plugin/plugin.json version — tessl manages it via tessl tile publish --bump.

    line 195

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

openkata-ryu-release

Release a distributable artifact following Semantic Versioning. The git tag is the single source of truth for the current published version.

Trigger

Activate when the user says "release", "bump", "version", "tag", or "publish" an artifact, or "release the site". The site steps are under Releasing the Site.

Determine Current Version

git tag -l '<type>/<name>/v*' | sort -V | tail -1

NEVER read the version from CHANGELOG.md or SKILL.md to determine the current version. Those files may be ahead of (or behind) the actual tagged release.

Determine Next Version

Follow Semantic Versioning:

  • PATCH (x.y.Z): documentation additions, typo fixes, non-functional changes (added RATIONALE.md, reformatted ACKNOWLEDGMENTS.md, fixed examples)
  • MINOR (x.Y.0): new features, new steps, new references, behavioral changes that don't break existing usage
  • MAJOR (X.0.0): breaking changes to the skill's interface (renamed triggers, removed steps, changed output format that downstream consumers rely on)

When in doubt, ask the user.

Release Steps

  1. Confirm the artifact has uncommitted changes vs its latest tag:
    git diff <latest-tag>..HEAD -- <type>/<name>/
    If no diff, abort — nothing to release.
  2. Run the badge update script to sync counts:
    ./scripts/update-readme-badges.sh
    If README.md changed, stage it for the release commit.
  3. Update CHANGELOG.md — add a version section after [Unreleased] with today's date and what changed.
  4. Bump version in the frontmatter of the main doc (SKILL.md, RULE.md, or <name>.md).
  5. For a skill that has evals, run them now, after the version bump and before the commit. A result counts only when its skill_version equals the skill's version, so results from before the bump are ignored. The new report in evals/results/ goes into the release commit.
  6. Commit:
    release(<type>): <name> vX.Y.Z
    
    Assisted-by: <agent>:<model>
  7. Tag:
    git tag <type>/<name>/vX.Y.Z
  8. Push by telling the user to run make push. It lists the commits and the tags that exist only locally, asks, then pushes the branch and each tag separately. Run it yourself (make push YES=1) only when opening a new pull request, which the user has authorized.
  9. Ask the user: "Release to tessl registry as well? (y/n)" If yes:
    cd <type>/<name> && tessl tile publish --bump patch
    If the tile doesn't exist yet, run tessl skill import first, then tessl tile publish.

Validation

  • Tag version must match SKILL.md frontmatter version
  • Tag version must match latest CHANGELOG.md section
  • Tag must point to the release commit (not an earlier commit)
  • For a skill with evals, the release commit holds a report whose skill_version is the tag's version
  • CHANGELOG entry must not be empty

Renaming an Artifact

Renaming starts versioning from v1.0.0 under the new name. Old git tags are preserved — old S3 artifacts are deleted.

  1. Rename the directory:
    git mv <type>/<old-name> <type>/<new-name>
  2. Update frontmatter name: field.
  3. Reset CHANGELOG.md to a fresh v1.0.0 entry. Mention the old name:
    ## [1.0.0] - YYYY-MM-DD
    
    ### Changed
    
    - Renamed from <old-name>
  4. Commit, tag, push:
    git commit -m 'refactor(<type>): rename <old-name> to <new-name>'
    git tag <type>/<new-name>/v1.0.0
  5. Publish new name, delete old S3 prefix:
    gh workflow run publish.yaml -f tag=<type>/<new-name>/v1.0.0
    aws s3 rm s3://openkata-artifacts/<type>/<old-name>/ --recursive
  6. Add redirect in artifactRedirects map in handlers.go:
    "<old-name>": "<new-name>",

Releasing the Site

The site, docs and MCP server share one release number, the newest tag of the form vMAJOR.MINOR.PATCH (no prefix). The footer shows it and links to its GitHub release. Decide it at each push, and state the number and why before the user confirms the push.

  1. Find the current release and what changed since:
    git tag -l 'v[0-9]*' | sort -V | tail -1
    git log --oneline <that-tag>..HEAD
  2. Pick the next number. While the major is 0, a feat or a breaking change raises the minor; anything else raises the patch. If nothing a visitor or contributor could notice changed (for example only specs), do not release.
  3. If there is something to commit with the release, use release(site): vX.Y.Z as its message.
  4. Tag the head of main, after the change is merged:
    git tag vX.Y.Z
    A tag that is not on the head of main deploys nothing.
  5. Push (only with user confirmation). Pushing the tag deploys again with the new number. Then write the release notes as a GitHub release for the tag.

Common Failures

  • NEVER determine current version from CHANGELOG.md — it may contain unreleased or untagged entries
  • NEVER run the evals before the version bump — the report would be for the previous version and the site would show no effectiveness for the release
  • NEVER skip the diff check — releasing unchanged artifacts creates noise
  • NEVER use git tag on a commit other than HEAD
  • MUST push the tag separately from the commit if the IAM trust policy doesn't allow tag-triggered workflows (use gh workflow run publish.yaml -f tag=... as workaround)
  • NEVER manually edit .tessl-plugin/plugin.json version — tessl manages it via tessl tile publish --bump. A difference between SKILL.md version and plugin.json version is expected (ADR 0006).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.