跳到正文
cccskills
免费在 GitHub 公开

release-notes

Draft a changelog for the next release by summarizing git commits since the last tag. Use only when the user asks to draft release notes, write a changelog entry, or prepare the next version's notes — never trigger automatically.

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

查看安装方法

包含的文件(1)

  • SKILL.md3.6 KB

SKILL.md(原文)

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

Release Notes

Draft a release changelog by summarizing the commits since the last release, then suggest the next semver version and prepend the entry to CHANGELOG.md at the project root.

Steps

  1. Find the commit range and version baseline. Determine the last released tag:

    git describe --tags --abbrev=0 2>/dev/null
    
    • If a tag exists, the range is <tag>..HEAD, and the tag itself is the version baseline.
    • If no tag exists (fresh repo), use the full history and ask the developer for the current version — do not infer it from any manifest, lockfile, or config file belonging to the project. This skill only reads git; it never inspects a project's toolchain.
  2. Collect the commits in the range:

    # with a tag:
    git log <tag>..HEAD --oneline --no-merges
    # without a tag:
    git log --oneline --no-merges
    
  3. Group the commits by type, inferring the type from the message (Conventional Commits prefix if present, otherwise from the wording):

    • Features — new functionality (feat, "Add", "Support")
    • Fixes — bug fixes (fix, "Fix", "Correct")
    • Chores / Maintenance — chore, refactor, docs, deps, tooling
    • Drop noise (pure formatting/typo commits) or fold them into a related entry.
  4. Suggest the next version from the baseline established in Step 1 (the tag, or the version the developer gave you), using semver:

    • Breaking changes → major
    • Any new feature → minor
    • Only fixes/chores → patch

    State the bump explicitly (e.g. 1.1.0 → 1.2.0) and the one reason for it.

  5. Draft the release entry in this shape (omit empty sections):

    ## v<next-version> — <YYYY-MM-DD>
    
    ### Features
    - <user-facing summary> (<short-sha>)
    
    ### Fixes
    - <user-facing summary> (<short-sha>)
    
    ### Maintenance
    - <user-facing summary> (<short-sha>)
    
  6. Write the entry to CHANGELOG.md at the project root:

    • If CHANGELOG.md does not exist, create it with a top-level heading:
      # Changelog
      
    • Read the current contents of CHANGELOG.md.
    • Prepend the new entry (insert it immediately after the # Changelog heading line, before any existing entries) so the file stays newest-first.
    • Write the updated file.

    Use the Read and Write (or Edit) tools to do this — do not shell out to sed or awk.

  7. Report to the user what was written: show the new entry inline and confirm the file was updated.

Notes

  • Write entries from the user's perspective (what changed for them), not a verbatim commit-message dump.
  • Include today's date (from the currentDate context, or date +%Y-%m-%d) in the entry heading.

You Must NOT

  • Create, move, or push a git tag — the tag is the developer's release action, not yours.
  • Bump the version in any manifest, lockfile, or config file. This skill records what changed; it does not perform the release.
  • Push anything, or open a PR. The CHANGELOG.md edit stays in the working tree.
  • Infer the current version from a project manifest when no tag exists — ask the developer instead. The version baseline is git's, never the toolchain's.
  • Rewrite, reorder, or delete existing CHANGELOG.md entries — only prepend the new one.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Retire a closed issue's working artifacts out of specs/ into the GitHub wiki. Use only when the user asks to archive a finished issue, empty out specs/ for a done task, or move an issue's requirements/architecture/tasks/review/QA docs to the wiki.

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

foyzulkarim/skills432026年9月4日 更新

commit

免费

One-shot conventional commit; bundled scripts adaptively gather diff context, draft the message, and stage+commit — pass `ask` to confirm first or add a hint for the title. Use only when the user asks for a commit.

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

foyzulkarim/skills432026年9月4日 更新

Executes a QA specification (specs/qa/QA-<N>-<slug>.md) written by /plan-qa: drives every step with the plan's drivers, verifies each Expected line mechanically ([assert]) or by evidence-backed judgment against the plan's written criterion ([judge]), pauses at named operator handoffs, and writes the results artifact QA-RESULTS-<N>-<slug>.md. Use only when the user asks to run or execute a QA plan — never trigger automatically.

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

foyzulkarim/skills432026年9月4日 更新

After an issue's PR has squash-merged on GitHub and its issue has closed: fast-forward the default branch, remove the issue-numbered nested worktree (.worktrees/<issue#>), and delete the local feature branch. Use when the user says to finish, tear down, or clean up a lane or worktree for a merged issue.

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

foyzulkarim/skills432026年9月4日 更新

Phase 3 of 5 — slices the ARCH doc into verification-ready task specs (tdd/test-after/ui/checklist), emitted as a separate TASKS-<N>-<slug>.md file alongside ARCH for the implement skill. Use only when the user asks to run Phase 3 or generate tasks from an ARCH doc — never trigger automatically.

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

foyzulkarim/skills432026年9月4日 更新

implement

免费

Phase 4 of 5 — implements tasks from TASKS-<N>-<slug>.md (with ARCH-<N>-<slug>.md as architecture-only context) using mode-appropriate verification (tdd, test-after, ui, checklist); pass 'auto' to run without stepping. Use only when the user asks to run Phase 4 or implement tasks from an ARCH doc — never trigger automatically from a coding request.

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

foyzulkarim/skills432026年9月4日 更新

查看 foyzulkarim 的全部技能

报告此技能的问题