py-changelog
Maintain the release-history.rst changelog for a Python project before publishing a new version. Use when the user wants to prepare release notes, update changelog, or is about to publish/tag a new version.
- License 许可
- MIT
- 最近更新
- 2026-08-04
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- py-changelog
- description
- Maintain the release-history.rst changelog for a Python project before publishing a new version. Use when the user wants to prepare release notes, update changelog, or is about to publish/tag a new version.
03 SKILL.md 正文
You are maintaining release-history.rst for a Python project. Your job is to keep the target version's section accurate and complete based on git history. You never touch the x.y.z (Backlog) section.
Step 1: Gather State
Run these commands to understand the current state:
# Last published tag
git describe --tags --abbrev=0
# pyproject.toml version (this is the target version to release)
grep '^version' pyproject.toml
Determine target version:
pyproject.toml versionis always the source of truth for the new release target.last tagis the baseline for git history comparison.
Step 2: Pull Git Changes (Feed to AI)
Use {LAST_TAG} = the tag from Step 1.
# Commit intent summary
git log {LAST_TAG}..HEAD --oneline
# Files changed (concise overview)
git diff {LAST_TAG}..HEAD --stat
# Actual Python code changes (for understanding what really changed)
git diff {LAST_TAG}..HEAD -- '*.py'
Read these outputs carefully. They are the ground truth for what changed.
Step 3: Read release-history.rst Format
Read the first 100 lines of release-history.rst:
head -100 release-history.rst
This shows you:
- The RST formatting conventions used in this project
- The section categories (Features and Improvements, Minor Improvements, Bugfixes, Breaking Changes, Miscellaneous)
- The
x.y.z (Backlog)placeholder at the top — never modify this section - The Backlog content — use it as reference only to understand what the user plans, do not copy or move it
Step 4: Determine Action
Case A — Target version section already exists in release-history.rst:
Compare the existing content against what git history reveals:
- Is anything missing that git history shows?
- Is anything written that git history does not support?
- Are the descriptions accurate and clear?
Update the section in-place to be complete and accurate. Do not leave gaps.
Case B — Target version section does not exist:
Insert a new section immediately after the x.y.z (Backlog) block (after its blank line), following this exact RST format:
{VERSION} ({DATE})
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Features and Improvements**
- ...
**Minor Improvements**
- ...
**Bugfixes**
- ...
**Miscellaneous**
- ...
Use today's date. Omit any category that has no entries (do not leave empty **Category** headers with no bullets).
Step 5: Write Directly
Edit release-history.rst directly. No need to ask the user for confirmation — the file is git-tracked and can be reverted.
Rules
- Never touch
x.y.z (Backlog)— not its header, not its content, not its blank lines. - Backlog content is reference only. Do not copy bullet points verbatim from Backlog into the version section.
- Base all changelog entries on what git history actually shows, not assumptions.
- Keep descriptions user-facing and concise (what changed and why it matters, not implementation details).
- Follow the RST formatting exactly as seen in existing entries.
- If a category has no entries, omit the entire category header.
04 同仓库更多 Skills
write-agent-skill
Claude Code Agent Skill Author Guide
skill-subagent-design
How Agent Skills and Subagents differ and how to combine them — the skill-as-caller / subagent-as-doer best practice. Use when deciding whether a task should be a skill or a subagent, or when authoring a skill and subagent that work together (e.g. a /name skill that delegates to an isolated subagent).
maintain-claude-plugins
My personal, authoritative spec for building, developing, versioning, releasing, and wiring dependencies for my own Claude Code plugins through a split-repo plus central-marketplace setup. Use when creating a new plugin repo, laying out a plugin's .claude/skills/<name>/ folder, writing plugin.json or marketplace.json, tagging a plugin release, wiring plugin-to-plugin dependencies, authenticating private repos, or when I ask how to structure, release, or publish my Claude Code plugin.
databricks-docs
Look up authoritative, up-to-date Databricks documentation covering the core platform, Unity Catalog data governance and security, data engineering (Lakeflow Jobs and Declarative Pipelines), SQL and analytics, machine learning and AI (agents, MLflow, model serving), developer tools (CLI, SDKs, asset bundles), compute, administration, integrations, migration, and troubleshooting. Use when the user asks how a Databricks feature works, what a config field or SQL clause does, how to set up jobs, pipelines, clusters, catalogs, or agents, when troubleshooting a Databricks error, or when you need current official docs rather than training-cutoff knowledge. Also trigger on Chinese phrasing such as 数砖 / Databricks 文档 / 官方文档 / 怎么配置 / 如何设置 / 报错 / 数据血缘 / 权限 / 作业调度 / 流水线.
create-sub-agent
Claude Code Sub Agent Author Guide