Publication de version cryptobot-python

VérifiéPrudence

Automatise le processus de publication du paquet cryptobot-python : validation de version, mise à jour des fichiers, création d’un tag git et d’une release GitHub. Utile pour préparer une nouvelle version, mettre à jour HISTORY.md ou publier une release.

Spar Skills Guide Bot
DevOpsIntermédiaire
7002/06/2026
Claude CodeCursorWindsurf
#release#version-bump#git-tag#github-release#changelog

Recommandé pour

Notre avis

Automatise la préparation et la publication d'une nouvelle version du package cryptobot-python.

Points forts

  • Réduit les erreurs manuelles en automatisant la mise à jour des fichiers de version
  • Intègre les tests avant la publication pour garantir la qualité
  • Crée automatiquement un tag git et une release GitHub

Limites

  • Spécifique à la structure du projet cryptobot-python (pyproject.toml, HISTORY.md)
  • Nécessite que l'outil gh (GitHub CLI) soit installé et configuré
  • Suppose que la commande make test est disponible et fonctionnelle
Quand l'utiliser

Lorsque vous devez publier une nouvelle version du package cryptobot-python, par exemple après avoir accumulé des changements.

Quand l'éviter

Pour des projets qui n'utilisent pas pyproject.toml ou un fichier HISTORY.md, ou si vous préférez un processus de release manuel.

Analyse de sécurité

Prudence
Score qualité85/100

The skill uses powerful tools like `make` and `gh` for release management. No destructive or exfiltration commands, but `make test` could run arbitrary code without user verification.

Points d'attention
  • The skill instructs to run `make test` which executes potentially arbitrary commands from a Makefile. While likely legitimate for the project, it introduces execution risk if the Makefile is compromised.

Exemples

Cut release 0.4.2
Cut a release for cryptobot-python version 0.4.2
New version 1.0.0
Prepare and publish a new release with version 1.0.0 for cryptobot-python
Release with notes
Create a release for cryptobot-python version 0.5.0, I will provide the release notes after you start.

name: release description: Prepare and publish a new cryptobot-python release. Use when the user asks to cut a release, bump the package version, update HISTORY.md, create a git tag, or create a GitHub release.

Release Skill

Create a new release for the cryptobot-python package.

Usage

/release <version>

Where <version> is the new semantic version (e.g., 0.4.2, 0.5.0, 1.0.0).

Instructions

When the user invokes this skill with a version number, perform the following steps:

  1. Validate the version: Ensure the version follows semantic versioning (X.Y.Z format).

  2. Update version files:

    • Update version in pyproject.toml
    • Update __version__ in cryptobot/__init__.py
  3. Ask for release notes: Ask the user what changes should be included in the release notes.

  4. Update HISTORY.md: Add a new entry at the top of the History section with:

    • Version number and today's date
    • The release notes provided by the user
  5. Run tests: Execute make test to ensure all tests pass before proceeding.

  6. Create commit: Create a commit with message chore(release): prepare v<version> release

  7. Create tag: Create an annotated git tag v<version> pointing to the release commit.

  8. Create GitHub release: Use gh release create to create a GitHub release with:

    • Tag: v<version>
    • Title: v<version>
    • Release notes from the HISTORY.md entry
  9. Report completion: Provide the user with:

    • Summary of files changed
    • Link to the GitHub release
Skills similaires