Aller au contenu
Skillpedia
Déploiement et cloud (DevOps)41k · #7020

release

Ce qu’il fait

Cette compétence vous guide pour publier une nouvelle version d'un projet logiciel. Elle s'adresse aux développeurs qui veulent un processus de publication cohérent, fondé sur les règles déjà présentes dans leur dépôt.

Quand l’utiliser

  • ✓Quand vous êtes prêt à publier une nouvelle version de votre projet.
  • ✓Quand vous voulez que l'agent apprenne vos règles de version et de CI avant une publication.
  • ✓Quand votre workflow de publication ou votre configuration CI a changé et que les règles enregistrées doivent être mises à jour.

Lien du skill

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/release/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/release/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Publions la version 2.4.0 de ce projet. Vérifie d'abord nos règles de publication et guide-moi à chaque étape.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

La première fois, l'agent inspecte les fichiers du projet et la configuration CI pour déterminer les règles de publication, puis les enregistre dans un fichier de règles. Lors des exécutions suivantes, il vérifie les changements et met à jour les règles si nécessaire avant de guider la publication.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Release Skill

A thin, repo-aware release assistant. On first run it inspects the project and CI to derive release rules, stores them in .omc/RELEASE_RULE.md for future use, then walks you through a release using those rules.

Usage

/oh-my-claudecode:release [version]
  • version is optional. If omitted the skill will ask. Accepts patch, minor, major, or an explicit semver like 2.4.0.
  • Add --refresh to force re-analysis of the repo even when a cached rule file exists.

Execution Flow

Step 0 — Load or Build Release Rules

Check whether .omc/RELEASE_RULE.md exists.

If it does NOT exist (or --refresh was passed): Run the full repo analysis below and write the file.

If it DOES exist: Read the file. Then do a quick delta check — scan .github/workflows/ (or equivalent CI dirs: .circleci/, .travis.yml, Jenkinsfile, bitbucket-pipelines.yml, gitlab-ci.yml) for any modifications newer than the last-analyzed timestamp in the rule file. If relevant workflow files changed, re-run the analysis for those sections and update the file. Report what changed.


Step 1 — Repo Analysis (first run or --refresh)

Inspect the repo and answer the following. Write answers into .omc/RELEASE_RULE.md.

1a. Version Sources

  • Locate all files that contain a version string matching the current version in package.json / pyproject.toml / Cargo.toml / build.gradle / VERSION file / etc.
  • List each file and the field or regex pattern used to find the version.
  • Detect whether there is a release automation script (e.g. scripts/release.*, Makefile release target, bump2version, release-it, semantic-release, changesets, goreleaser).

1b. Registry / Distribution

  • npm (package.json with publishConfig or npm publish in CI), PyPI (pyproject.toml + twine/flit), Cargo (Cargo.toml), Docker (Dockerfile + push step), GitHub Packages, other.
  • Is there a CI step that publishes automatically on tag push? Which workflow file and job?

1c. Release Trigger

  • Identify what starts the release: tag push (v*), manual dispatch (workflow_dispatch), merge to main/master, a release branch merge, a commit message pattern.

1d. Test Gate

  • Identify the test command and where it runs in CI.
  • Are tests required to pass before publish? Note any bypass flags.

1e. Release Notes / Changelog

  • Does a CHANGELOG.md or CHANGELOG.rst exist?
  • What convention is used: Keep a Changelog, Conventional Commits, GitHub auto-generated, none?
  • Is there a release body file (e.g. .github/release-body.md) committed pre-tag?

1f. First-Time User Check

  • Does a release workflow exist in .github/workflows/ (or equivalent)? If not, flag this and offer to scaffold one.
  • Is there a .gitignore entry preventing build artifacts from being committed? If not, flag it.
  • Are git tags being used? Run git tag --list to check. If no tags exist, flag and explain best practice.

Step 2 — Write .omc/RELEASE_RULE.md

Create or overwrite the file with this structure:

# Release Rules
<!-- last-analyzed: YYYY-MM-DDTHH:MM:SSZ -->

## Version Sources
<!-- list of files + patterns -->

## Release Trigger
<!-- what kicks off the release -->

## Test Gate
<!-- command + CI job name -->

## Registry / Distribution
<!-- npm, PyPI, Docker, etc. + CI job that publishes -->

## Release Notes Strategy
<!-- convention + files -->

## CI Workflow Files
<!-- paths to relevant workflow files -->

## First-Time Setup Gaps
<!-- any missing pieces found during analysis, or "none" -->

Step 3 — Determine Version

If the user provided a version argument, use it. Otherwise:

  1. Show the current version (from the primary version file).
  2. Show what patch, minor, and major would produce.
  3. Ask the user which to use.

Validate the chosen version is a valid semver string.


Step 4 — Pre-Release Checklist

Present a checklist derived from the release rules. At minimum:

  • All changes intended for this release are committed and pushed
  • CI is green on the target branch
  • Tests pass locally (run the test gate command)
  • Version bump applied to all version source files
  • Release notes / changelog prepared (see Step 5)

Ask the user to confirm before proceeding, or run each step if they say "go ahead".


Step 5 — Release Notes Guidance

Help the user write good release notes. Apply whichever convention the

Questions fréquentes

Quels numéros de version puis-je utiliser ?

Vous pouvez indiquer correctif, mineure ou majeure, ou donner une version exacte comme 2.4.0. Si vous ne précisez rien, l'agent vous le demande.

Puis-je le forcer à relire les règles ?

Oui. Une option de rafraîchissement lui fait réanalyser le dépôt même si un fichier de règles existe déjà.

Où sont conservées les règles de publication ?

Dans un fichier de règles situé dans le dossier de réglages caché du projet, pour pouvoir être réutilisé la fois suivante.

Détails

Description originale de l’auteur

Generic release assistant — analyzes repo release rules, caches them in .omc/RELEASE_RULE.md, then guides the release

repo: Yeachan-Heo/oh-my-claudecode

Popularité

Étoiles GitHub
41k
Position au classement
#7020
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires