Agent Skills
› open-circle/formisch
› repo-prepare-release
repo-prepare-release
GitHub用于准备软件发布,通过扫描核心库、方法及框架的变更日志,根据提交前缀判断版本升级类型(补丁或次要),并按顺序更新 package.json 和 CHANGELOG.md。
触发场景
需要执行软件版本发布流程时
分析并提交新的功能、修复或 API 变更以生成新版本时
安装
npx skills add open-circle/formisch --skill repo-prepare-release -g -y
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.mdandpackages/methods/CHANGELOG.mdframeworks/{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
@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.jsonversions - Update all changelog version headers and dates
- Run
pnpm check-versionsto verify consistency
版本历史
-
865212e
当前 2026-08-02 20:48
新增对 React Native 框架的支持,将其纳入待检查包列表及发布流程中。
- 09acd5e 2026-07-24 11:30


