一键导入
relote
Generate Keep-A-Changelog release notes from git history and wsp-opt/wsp-sync outputs. The trigger is changelog, release notes, relote.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate Keep-A-Changelog release notes from git history and wsp-opt/wsp-sync outputs. The trigger is changelog, release notes, relote.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Pre-release security & production gate. Checks deps, secrets, test rate, memory patterns, deprecated APIs, unused code via CLIs/skills with generic fallback. The trigger is run gate, production check, security audit, is it ready to ship.
Structured dev workflow with MoSCoW prioritization, GitButler branching, and atomic commits. The trigger is let's build, task management, wasup.
Scan and update outdated .md files to match the codebase. The trigger is sync up, update docs, tidy up docs, clean up docs.
Town governance simulation — Mayor orchestrates citizens with optional integration to external services (wsp-opt, wsp-sync, wsp-gate, relote). The trigger is town hall, wsp-town, citizens assemble.
| name | relote |
| description | Generate Keep-A-Changelog release notes from git history and wsp-opt/wsp-sync outputs. The trigger is changelog, release notes, relote. |
| metadata | {"author":"EdwardJoke","version":"26.2.0"} |
Generate a Keep-A-Changelog formatted changelog by aggregating wsp-opt release notes, wsp-sync sync reports, and git history for the latest tag.
Ensure these directories exist (create if missing):
mkdir -p .wasup/changelogs
mkdir -p .wasup/tags
# Get latest tag
git describe --tags --abbrev=0 2>/dev/null || echo "No tags found"
If no tags exist, ask the user: "No git tags found. What version should the changelog be for? (e.g., v1.0.0)"
# Get previous tag for commit range
git describe --tags --abbrev=0 HEAD~1 2>/dev/null || echo "Initial release"
Check for release notes from wsp-opt Phase 5:
ls .wasup/tags/*.md 2>/dev/null | sort -V | tail -1
Read the most recent tag file (e.g., .wasup/tags/v0.1.0.md). This contains:
Check for sync reports:
ls .wasup/sync/*.md 2>/dev/null | sort -V | tail -1
Read the most recent sync report (e.g., .wasup/sync/v0.1.0.md). This contains:
# Get commits between tags (or all commits if first release)
if [ -n "$PREV_TAG" ]; then
git log --oneline --no-merges $PREV_TAG..HEAD
else
git log --oneline --no-merges
fi
Also get detailed commit info:
git log --pretty=format:"%h|%s|%b" --no-merges ${PREV_TAG}..HEAD 2>/dev/null
Extract from .wasup/tags/vx.y.z.md:
## Added## FixedExtract from .wasup/sync/vx.y.z.md:
## Changed (documentation updates)Map conventional commit types to Keep-A-Changelog sections:
feat: → ## Addedfix: → ## Fixedperf: → ## Changed (performance improvements)refactor: → ## Changeddocs: → ## Changed (documentation)style: → Skip (cosmetic changes)test: → Skip (test-only changes, unless user wants them)chore: → ## Chores (optional section)build:, ci: → Skip (infrastructure)Combine information from all three sources:
Remove duplicates (same change mentioned in multiple sources).
Determine version from tag:
VERSION=$(git describe --tags --abbrev=0)
mkdir -p .wasup/changelogs
Write to .wasup/changelogs/${VERSION}.md
Use this template:
<!--- Generated by Relote --->
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
## [vx.y.z] - YYYY-MM-DD
### Added
- Feature description (#PR-number)
### Changed
- Documentation updated / performance improvements
### Fixed
- Bug description (#PR-number)
### Chores (optional)
- Build system / dependency updates
| Section | Sources |
|---|---|
| Added | wsp-opt "What's New", git feat: commits |
| Changed | wsp-sync "Files Updated", git refactor:/perf: commits |
| Fixed | wsp-opt "Bug Fixed", git fix: commits |
| Removed | Features removed this version |
| Security | Security fixes |
Include PR link format: [#123](https://github.com/org/repo/pull/123)
<!-- Generated by relote skill. Sources: wsp-opt, wsp-sync, git log -->
If a previous changelog exists in .wasup/changelogs/, read it to:
The final changelog is saved to:
.wasup/changelogs/vx.y.z.md
Present to user:
"Changelog generated at
.wasup/changelogs/vx.y.z.md. I've aggregated data from wsp-opt release notes, wsp-sync reports, and git history. Here's what's included: [brief summary of sections]"
<!---
Generated by: Relote
Source: git log, ...
Date: YY/MM/DD
Version: vx.y.z
---->
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [v0.1.0] - 2026-05-05
### Added
- User authentication with JWT tokens (M1 from wsp-opt)
- Password reset functionality (S1 from wsp-opt)
- New `/api/auth/reset` endpoint (#12)
### Changed
- Updated API documentation in `docs/API.md` (from wsp-sync v0.1.0)
- Refactored auth middleware for better performance
### Fixed
- Login page now handles expired tokens correctly (Bug1 from wsp-opt)
- Password reset email delivery issue (#15)
_Generated by Relote_