agentleFS
Ampli-GroupAmpli-Group/agentic-mobile-blueprint/.agents/skills/template-release/SKILL.md

template-release

Skill4 starsChanged 6 months agoMITView on GitHub

Cut a new template version — bump TEMPLATE_VERSION, write upgrade notes, tag and publish a GitHub release. Use when releasing a new version of the agentic-mobile-blueprint template.

  • Commits and pushes

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Read TEMPLATE_VERSION to get the current version.

    line 21
  2. Very specific:

    Create .agents/skills/template-upgrade/vMAJOR.MINOR.PATCH.md using the template below.

    line 31
  3. Distinctive:

    Every section is required.

    line 32
  4. Distinctive:

    Only document changes that consuming projects can and should pull in:

    line 36
  5. Distinctive:

    Rule of thumb: if a project that forked this template has almost certainly replaced the file already, do not mention it.

    line 48
  6. Very specific:

    Update the TEMPLATE_VERSION file (single line, no v prefix):

    line 98
  7. Distinctive:

    Never force-push a tag: Create a new patch release instead.

    line 130
  8. Distinctive:

    One release per PR: Do not bundle multiple feature sets into a single release if they serve different purposes — prefer smaller, focused …

    line 131

≈ “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

Release Process

This template uses semver (MAJOR.MINOR.PATCH) for tracking purposes only. CI/CD pipelines are not gated on version tags — they trigger on merges to main.

BumpWhen
PATCH (0.1.x)Bug fixes, security patches, dependency updates — no API or skill changes
MINOR (0.x.0)New features, new skills, new integrations — backwards-compatible
MAJOR (x.0.0)Breaking changes to file structure, API contracts, or required env vars

Step 1 — Decide the next version

  1. Read TEMPLATE_VERSION to get the current version.
  2. Review changes since the last tag:
    git log $(git describe --tags --abbrev=0)..HEAD --oneline
    git diff $(git describe --tags --abbrev=0)..HEAD --stat
  3. Apply the semver rules above to pick MAJOR.MINOR.PATCH.

Step 2 — Write upgrade notes

Create .agents/skills/template-upgrade/vMAJOR.MINOR.PATCH.md using the template below. Every section is required. Use "None" for empty sections — never omit them.

What belongs in upgrade notes

Only document changes that consuming projects can and should pull in:

IncludeExclude
supabase/functions/_shared/ utilitiesmobile/app/ screens and components
.agents/skills/ (new or updated skills)maestro/ YAML test flows
supabase/migrations/ shared schemaExample / demo screens
Build config (eas.json, app.json keys)Any file a project is expected to replace
New required env varsInternal refactors with no consumer impact
Dependency version bumps
AGENTS.md changes agents should adopt

Rule of thumb: if a project that forked this template has almost certainly replaced the file already, do not mention it.

# vMAJOR.MINOR.PATCH — <one-line summary>

Released: YYYY-MM-DD

## Breaking Changes

<!-- What existing projects MUST change before upgrading. -->
<!-- Format: "**`path/to/file`** — what changed and why" -->

None

## New Features

<!-- New shared skills, utilities, or integrations. -->
<!-- Do NOT include app-scaffold additions (screens, demo flows, etc.). -->

None

## Improvements

<!-- Reliability, performance, or DX improvements to shared infrastructure. -->

None

## Bug Fixes

<!-- Defects corrected in shared code. -->

None

## Dependency Updates

<!-- Package version bumps worth noting. -->

None

## Upgrade Instructions

Step-by-step for a project that already uses a previous version of this template.

1. Copy changed shared files / snippets as described in each section above.
2. Update any env vars listed under Breaking Changes.
3. Run `mise run configure` if new env vars were added.

Step 3 — Bump TEMPLATE_VERSION

Update the TEMPLATE_VERSION file (single line, no v prefix):

echo "MAJOR.MINOR.PATCH" > TEMPLATE_VERSION

Step 4 — Commit and tag

Stage everything, commit, then create an annotated tag:

git add TEMPLATE_VERSION .agents/skills/template-upgrade/vMAJOR.MINOR.PATCH.md
git add -A   # any other changed files in the release
git commit -m "release: vMAJOR.MINOR.PATCH"
git tag -a vMAJOR.MINOR.PATCH -m "vMAJOR.MINOR.PATCH — <one-line summary>"
git push origin main --follow-tags

Step 5 — Publish GitHub release

gh release create vMAJOR.MINOR.PATCH \
  --title "vMAJOR.MINOR.PATCH — <one-line summary>" \
  --notes-file .agents/skills/template-upgrade/vMAJOR.MINOR.PATCH.md

Rules

  • Never skip the upgrade notes. Projects forking this template rely on them to know what to pull in.
  • Upgrade notes cover shared infrastructure only. App scaffold files (mobile/app/, example screens, demo Maestro flows) are replaced by consuming projects — never mention them in upgrade notes.
  • Never force-push a tag. Create a new patch release instead.
  • One release per PR. Do not bundle multiple feature sets into a single release if they serve different purposes — prefer smaller, focused releases.
  • The TEMPLATE_VERSION file is the single source of truth. Do not derive the version from package.json or any other file.

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.