sigmahq/pysigma/release

Claude Code and agent skill by sigmahq/pysigma

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Automate the pySigma release process: analyze changes, determine version bump, update version, tag, push, wait for test PyPI, generate release notes, and create GitHub release. Use when: releasing pySigma, creating a new version, publishing to PyPI, version bump, cut a release.

Install

npx vskill@latest install sigmahq/pysigma/release

SKILL.md

pySigma Release

Automates the full release lifecycle for SigmaHQ/pySigma.

Prerequisites

  • gh CLI must be installed and authenticated (gh auth status)
  • Working directory must be the pySigma repository root
  • Local main branch must be up to date with remote
  • No uncommitted changes

Procedure

Follow these steps sequentially. Each step requires user confirmation before proceeding to the next.

Step 1: Pre-flight Checks
  1. Run git status to confirm clean working tree and correct branch (main).
  2. Run git fetch github then git status to confirm local main is up to date.
  3. Run gh auth status to confirm GitHub CLI is authenticated.
  4. If any check fails, inform the user and stop.
Step 2: Determine Current Version and Last Release
  1. Read the current version from pyproject.toml (the version field under [project]).
  2. Use mcp_github_get_latest_release (owner: SigmaHQ, repo: pySigma) to get the latest release tag and its publication date.
  3. Store the latest release tag (e.g., v1.3.0) and date for later steps.
Step 3: Analyze Changes Since Last Release
  1. Run git log <last_release_tag>..HEAD --oneline to get all commits since the last release.
  2. Use mcp_github_search_pull_requests to find merged PRs since the last release date:
  • query: merged:>=<YYYY-MM-DD> base:main
  • owner: SigmaHQ, repo: pySigma
  • sort: created, order: asc
  • Paginate if needed to get all results.
  1. Classify each change using the version classification guide.
  2. Determine the highest applicable bump level:
  • Any major change → major bump
  • Else any minor change → minor bump
  • Else → patch bump
Step 4: Propose Version Bump

Present to the user:

  • Current version: (from pyproject.toml)
  • Proposed bump: patch / minor / major
  • Proposed new version: X.Y.Z
  • Change summary organized by category:
  • Breaking changes (if any)
  • New features (if any)
  • Bug fixes / improvements
  • Other (documentation, CI, refactoring)

Ask the user to confirm the proposed version or override with a different bump level. If the user provided a bump level as an argument, use it and ask for confirmation instead.

Step 5: Bump Version in pyproject.toml
  1. Run in terminal: poetry version <new_version> (use the exact version number, e.g., poetry version 1.4.0).
  2. Verify the change: poetry version -s should print the new version.
  3. Commit the version bump:

`` git add pyproject.toml git commit -m "Bump version to <new_version>" ``

  1. Ask the user for confirmation before pushing.
  2. Push the commit: git push github main.
Step 6: Create and Push Version Tag
  1. Create an annotated tag: git tag -a v<new_version> -m "Release v<new_version>".
  2. Push the tag: git push github v<new_version>.
  3. Inform the user: "Tag v<new_version> pushed. This triggers the test PyPI deployment via GitHub Actions."
Step 7: Wait for Test PyPI Deployment
  1. Monitor the workflow run triggered by the tag push:

`` gh run list --workflow=release.yml --limit=1 ``

  1. Check the status of the latest run:

`` gh run watch <run_id> ` Alternatively, poll with: ` gh run view <run_id> --json status,conclusion ``

  1. If the run fails, inform the user with the failure details (gh run view <run_id> --log-failed) and stop the release process. The user must fix the issue before continuing.
  2. If the run succeeds, inform the user and proceed.
Step 8: Generate Release Notes

Compose release notes in Markdown with the following structure:

markdown
## What's Changed
### Breaking Changes
-Description (PR #N)
### New Features
-Description (PR #N)
### Bug Fixes
-Description (PR #N)
### Other Changes
-Description (PR #N)
**Full Changelog**: https://github.com/SigmaHQ/pySigma/compare/<old_tag>...v<new_version>

Rules for generating notes:

  • Use PR titles and descriptions as the primary source for each entry.
  • PR titles and descriptions often contain quotes, backticks, $ signs and code snippets. Never put them, or release notes built from them, on a shell command line, not even inside double quotes: the shell still interprets backticks, $(...) and $VAR there, which truncates or changes the notes or makes the command fail.
  • Link each entry to its PR: (#N) where N is the PR number.
  • Omit empty sections.
  • If a PR addresses a GitHub issue, mention it: Fixes #N.
  • Keep entries concise — one line per change.

Present the draft to the user and let them review and amend the release notes before proceeding.

Step 9: Create GitHub Release
  1. Ask the user for final confirmation before creating the release.
  2. Write the approved release notes to a temporary file (e.g. release-notes-v<new_version>.md outside the repository) with a file-write tool. Do not create it with echo, printf, cat <<EOF or any other shell construct that puts the notes on a command line.
  3. Create the release, always passing the notes via --notes-file (never with inline --notes "..."):

`` gh release create v<new_version> --title "v<new_version>" --notes-file <tempfile> ``

  1. Delete the temporary notes file.
  2. Inform the user: "GitHub release created. This triggers the production PyPI deployment."
  3. Provide the release URL: https://github.com/SigmaHQ/pySigma/releases/tag/v<new_version>
Step 10: Post-Release Verification
  1. Check the production PyPI workflow:

`` gh run list --workflow=release.yml --limit=1 ``

  1. Once completed, verify the package is available:

`` pip index versions pySigma ` Or direct the user to: https://pypi.org/project/pySigma/<new_version>/`

Error Recovery

  • Version bump pushed but tag failed: Create and push the tag manually.
  • Test PyPI failed: Fix the issue, delete the tag (git push --delete github v<new_version> && git tag -d v<new_version>), amend or re-commit, and restart from Step 6.
  • Release creation failed: Retry gh release create or create manually at https://github.com/SigmaHQ/pySigma/releases/new.

Reference

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
565
Repository forks
142
7-day trend score
32

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 29 Apr 2026, 6 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sigmahq/pysigma/release/badge)](https://verified-skill.com/skills/sigmahq/pysigma/release)

Something wrong with this skill or its page? Tell us.