Agent Skillsopen-circle/formisch › repo-prepare-release

repo-prepare-release

GitHub

用于准备软件发布,通过扫描核心库、方法及框架的变更日志,根据提交前缀判断版本升级类型(补丁或次要),并按顺序更新 package.json 和 CHANGELOG.md。

.agents/skills/repo-prepare-release/SKILL.md open-circle/formisch

触发场景

需要执行软件版本发布流程时 分析并提交新的功能、修复或 API 变更以生成新版本时

安装

npx skills add open-circle/formisch --skill repo-prepare-release -g -y
更多选项

非标准路径

npx skills add https://github.com/open-circle/formisch/tree/main/.agents/skills/repo-prepare-release -g -y

不安装直接使用

npx skills use open-circle/formisch@repo-prepare-release

指定 Agent (Claude Code)

npx skills add open-circle/formisch --skill repo-prepare-release -a claude-code -g -y

安装 repo 全部 skill

npx skills add open-circle/formisch --all -g -y

预览 repo 内 skill

npx skills add open-circle/formisch --list

SKILL.md

Frontmatter
{
    "name": "repo-prepare-release",
    "metadata": {
        "author": "formisch",
        "version": "1.0"
    },
    "description": "Prepare releases by analyzing changelogs, determining version bumps, and updating package.json and changelog files."
}

Prepare Release

Packages to Check

Scan these for unreleased changes (placeholder: ## vX.X.X (Month DD, YYYY)):

  • packages/core/CHANGELOG.md and packages/methods/CHANGELOG.md
  • frameworks/{angular,preact,qwik,react,react-native,solid,svelte,vue}/CHANGELOG.md

Version Bump Rules

Prefix Bump Examples
Add, Change (API), Rename Minor New feature, API change, renamed export
Fix, Change @formisch/* Patch Bug fix, dependency update

Release Process

1. Process in Order

  1. @formisch/core → 2. @formisch/methods → 3. All frameworks

2. For Each Package with Changes

Update package.json: Bump "version" field

Update CHANGELOG.md:

  • Replace ## vX.X.X (Month DD, YYYY) with actual version and date
  • Date format: Month DD, YYYY (e.g., January 31, 2026)

3. Framework Dependency Updates

Core/methods are bundled per framework target (/react, /solid, etc.):

  • Framework-specific changes → update only that framework
  • Shared changes → update all frameworks
  • Bump matches core/methods (minor→minor, patch→patch)

Add to affected changelogs:

- Change `@formisch/core` to vX.X.X
- Change `@formisch/methods` to vX.X.X

Checklist

  • Identify all packages with unreleased changelog entries
  • Determine bump type (patch/minor) for each
  • Add dependency update entries to framework changelogs
  • Update all package.json versions
  • Update all changelog version headers and dates
  • Run pnpm check-versions to verify consistency

版本历史

  • 865212e 当前 2026-08-02 20:48

    新增对 React Native 框架的支持,将其纳入待检查包列表及发布流程中。

  • 09acd5e 2026-07-24 11:30

同 Skill 集合

.agents/skills/repo-source-code-document/SKILL.md
.agents/skills/repo-source-code-review/SKILL.md
.agents/skills/repo-source-code-test-frameworks/SKILL.md
.agents/skills/repo-source-code-test-packages/SKILL.md
.agents/skills/repo-structure-navigate/SKILL.md
.agents/skills/repo-website-api-create/SKILL.md
.agents/skills/repo-website-api-review/SKILL.md
.agents/skills/repo-website-api-update/SKILL.md
.agents/skills/repo-website-guide-create/SKILL.md
website/public/.well-known/agent-skills/formisch/SKILL.md

元信息

文件数
0
版本
865212e
Hash
f8d4472d
收录时间
2026-07-24 11:30

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-07 22:56
浙ICP备14020137号-1 $访客地图$