跳到正文
cccskills
免费在 GitHub 公开

semantic-versioning

Manages project versioning following Semantic Versioning (SemVer) principles. Calculates increments based on changes and synchronizes version across documentation and metadata. Use when the user asks to "bump the version", "prepare a release", or when the `changelog` skill calls for a release.

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

查看安装方法

包含的文件(1)

  • SKILL.md1.8 KB

SKILL.md(原文)

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

Semantic Versioning Skill

Instructions

1. Detect Current Version

  • Read the latest version from CHANGELOG.md (e.g., the most recent header ## [X.Y.Z]).
  • Read the version from .github/repository-metadata.json.
  • If they differ, flag the mismatch to the user and ask which is authoritative.

2. Analyze Changes

Scan the changes since the last release:

  • If using changelog skill: Look at the items under [Unreleased] or the new version block being prepared.
  • If using git log: Scan for Conventional Commits types.

3. Determine Increment Type

Follow these priority rules:

  1. MAJOR (X.0.0): Any "BREAKING CHANGE" footer or ! after the type (e.g., feat!:).
  2. MINOR (x.Y.0): Any feat commit or "Added" entry in the changelog.
  3. PATCH (x.y.Z): Any fix, perf, refactor commit or "Fixed"/"Changed" entry in the changelog.
  4. No Change: If only docs, chore, style, test, build, or ci changes are found, default to PATCH unless the user specifies otherwise.

4. Apply Version Update

Update the following files in a single pass:

  • CHANGELOG.md: Rename the ## [Unreleased] section to ## [NEW_VERSION] - CURRENT_DATE or update the latest entry.
  • .github/repository-metadata.json: Update the "version" field.

Quality Gates

  • Version follows MAJOR.MINOR.PATCH format.
  • No regression in version number.
  • All version-tracking files are synchronized.
  • Date in CHANGELOG.md is in YYYY-MM-DD format.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

changelog

免费

Generates and maintains changelogs following Keep a Changelog format. Use when updating release notes, finishing tasks, or tagging versions. For version bumps, see semantic-versioning.

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

tuliosousapro/SaaS-blueprint52026年8月31日 更新

Structured competitor teardown skill. Use when scraping competitor sites, extracting pricing/features/positioning, or analyzing strategic gaps. For general research, see market-research.

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

tuliosousapro/SaaS-blueprint52026年8月31日 更新

Enforces Conventional Commits format for git commit messages. Use when formatting commits or validating message structures. For git commands, see git-control.

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

tuliosousapro/SaaS-blueprint52026年8月31日 更新

Creates an llms.txt file from scratch based on repository structure. Use when configuring LLM discovery files. For updating existing configurations, see update-llms.

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

tuliosousapro/SaaS-blueprint52026年8月31日 更新

Intelligent README.md generation prompt that analyzes project documentation structure and creates comprehensive repository documentation. Scans ./ directory files and creates a README.md file for the project. Only used when creating a new repository. or when the README.md file is missing.

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

tuliosousapro/SaaS-blueprint52026年8月31日 更新

Standardizes git operations, branch management, and disaster recovery. Use when committing, branching, or resolving conflicts. For commit formatting, see conventional-commits.

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

tuliosousapro/SaaS-blueprint52026年8月31日 更新

查看 tuliosousapro 的全部技能

报告此技能的问题