跳到正文
cccskills
免费在 GitHub 公开

release-and-auto-changelog

Generic automated semantic versioning and release workflow. Handles version increments, git tagging, GitHub releases, and automated changelog generation for any repository.

中文简介正在准备中。当前显示原文说明。

集成工具GitHub

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md2.0 KB
  • scripts/generate_changelog.js892 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Release & Auto-Changelog Workflow

IMPORTANT: You must first plan and write detailed release notes before starting the version bump workflow.

CRITICAL: ALWAYS commit EVERYTHING (including build artifacts). At the end of this workflow, NOTHING should be left uncommitted or unpushed. Run git status at the end to verify.

Preparation

  1. Analyze: Determine if the change is a PATCH (bug fixes), MINOR (features), or MAJOR (breaking) update.
  2. Environment: Identify the repository owner and name (e.g., from git remote -v).
  3. Files: Identify which files contain version strings (e.g., package.json, VERSION, pyproject.toml).

Workflow

  1. Update: Increment version strings in relevant configuration files.
  2. Verify: Ensure all files match the new version.
  3. Build: Run any necessary build or distribution scripts.
  4. Commit: Stage all changes: git add -A && git commit -m "chore: bump version to X.Y.Z".
  5. Tag: Create an annotated tag: git tag -a vX.Y.Z -m "Version X.Y.Z".
  6. Push: git push origin main && git push origin vX.Y.Z.
  7. Release: gh release create vX.Y.Z --title "vX.Y.Z" --notes "RELEASE_NOTES".
  8. Changelog: Regenerate CHANGELOG.md using the GitHub API and the provided script:
    gh api repos/{owner}/{repo}/releases --paginate | ./scripts/generate_changelog.js > CHANGELOG.md
    
  9. Sync: Commit and push the updated CHANGELOG.md.
  10. Finalize: Run git status to ensure a clean working tree.

Checklist

  • All version files updated and verified
  • Build/Distribution successful
  • Git tag created and pushed
  • GitHub release created with notes
  • CHANGELOG.md updated and pushed
  • git status shows clean tree

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Automated semantic versioning and release workflow for Claude Code plugins. Handles version increments across package.json, marketplace.json, and plugin.json, build verification, git tagging, GitHub releases, and changelog generation.

中文简介正在准备中。当前显示原文说明。

thedotmack/mackeroni-skills192026年4月22日 更新

Map a codebase into feature-grouped flowcharts, identify duplicated concerns across features, and propose a unified architecture. Use when asked to "find the ideal path," unify duplicated systems, or audit architecture before a refactor. Emits a proposed unified flowchart plus per-system /make-plan prompts.

中文简介正在准备中。当前显示原文说明。

thedotmack/mackeroni-skills192026年4月22日 更新

@thedotmack's personal landing page design system. Use this skill whenever building landing pages, marketing sites, product pages, or conversion-focused web experiences. Covers visual hierarchy, UX patterns, marketing copy, messaging strategy, and conversion optimization based on proven preferences and successful projects.

中文简介正在准备中。当前显示原文说明。

thedotmack/mackeroni-skills192026年4月22日 更新

查看 thedotmack 的全部技能

报告此技能的问题