specwright/templates/skills/dev-team/documenter/changelog-generation/SKILL.md
# Changelog Generation Skill > Skill: changelog-generation > Created: 2026-01-09 > Agent: documenter > Category: Documentation ## Purpose Generate CHANGELOG.md entries following the Keep a Changelog format. Creates clear, user-facing descriptions of changes organized by version and change type. ## When to Activate **Trigger Conditions:** - After story completion and feature merge - Before release/deployment - When documenter agent needs to document changes - After bug fixes or feature updat
npx skillsauth add michsindlinger/specwright specwright/templates/skills/dev-team/documenter/changelog-generationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Skill: changelog-generation Created: 2026-01-09 Agent: documenter Category: Documentation
Generate CHANGELOG.md entries following the Keep a Changelog format. Creates clear, user-facing descriptions of changes organized by version and change type.
Trigger Conditions:
Activation Pattern:
When: Story marked complete AND code merged
Then: Generate changelog entry for version
## Integration Points
- Parse git commit history: `git log --pretty=format:"%s"`
- Extract version from: `config/version.rb` or Git tags
- Link to PRs via GitHub API
- Reference issues from commit messages
## Rails-Specific Categories
- **Migration** - Database schema changes
- **Dependency** - Gem updates
- **Performance** - Query optimizations, caching
## Integration Points
- Parse git commit history
- Extract version from: `package.json`
- Link to PRs via GitHub API
- Follow Conventional Commits format
## Node-Specific Categories
- **Dependency** - npm package updates
- **Build** - Build tool or pipeline changes
- **CI/CD** - Continuous integration updates
## Integration Points
- Track API version changes
- Document endpoint modifications
- Note breaking API changes
- Reference API specification updates
## API-Specific Categories
- **Endpoint** - New or modified endpoints
- **Breaking** - Breaking API changes
- **Response** - Response format changes
[MCP_TOOLS]
<!-- Populated during skill creation based on: 1. User's installed MCP servers 2. User's selection for this skill Recommended for this skill (examples): - mcp__git-integration - Access commit history - mcp__github-api - Link PRs and issues - mcp__jira-integration - Link to Jira tickets Note: Skills work without MCP servers, but functionality may be limited -->Before Generating:
Entry Quality:
Format Compliance:
# 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.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Added
- User profile avatar upload functionality
- Email notification preferences
### Changed
- Improved dashboard loading performance
## [1.2.0] - 2026-01-09
### Added
- OAuth2 authentication support (#123)
- Two-factor authentication via SMS (#145)
- Password strength indicator on signup
### Changed
- Updated user session timeout to 24 hours (#156)
- Improved error messages for login failures
### Fixed
- Fixed password reset email not sending (#178)
- Resolved session persistence issue on mobile browsers (#182)
### Security
- Patched XSS vulnerability in user comments (#190)
## [1.1.0] - 2025-12-15
### Added
- User dashboard with activity timeline
- Export user data to CSV
### Deprecated
- Legacy API v1 endpoints (will be removed in 2.0.0)
## [1.0.0] - 2025-11-01
### Added
- Initial release
- User registration and authentication
- Profile management
- Basic dashboard
[Unreleased]: https://github.com/user/repo/compare/v1.2.0...HEAD
[1.2.0]: https://github.com/user/repo/compare/v1.1.0...v1.2.0
[1.1.0]: https://github.com/user/repo/compare/v1.0.0...v1.1.0
[1.0.0]: https://github.com/user/repo/releases/tag/v1.0.0
## [2.0.0] - 2026-01-15
### Added
- **BREAKING**: New API v2 with GraphQL support (#200)
- Real-time notifications via WebSocket (#210)
- Multi-language support (EN, DE, FR, ES) (#215)
### Changed
- **BREAKING**: User authentication now requires email verification (#220)
- Redesigned dashboard UI with improved navigation (#225)
- Database query optimization reducing load times by 40% (#230)
### Deprecated
- REST API v1 endpoints (use GraphQL API v2)
- Legacy user session format
### Removed
- **BREAKING**: Removed deprecated `/api/v0` endpoints
- Legacy CSV export format
### Fixed
- Fixed memory leak in background job processor (#245)
- Resolved timezone display issue in activity logs (#250)
- Fixed duplicate notification bug (#255)
### Security
- Updated Rails to 8.0.1 for security patches
- Implemented rate limiting on API endpoints (#260)
- Enhanced password encryption algorithm (#265)
## [2.0.0] - 2026-01-15
### Migration Notes
**Breaking Changes:**
This release includes breaking changes. Please review before upgrading.
1. **API v2 Migration**: All API clients must migrate to GraphQL endpoints
- Old: `GET /api/v1/users/:id`
- New: GraphQL query `user(id: $id)`
- See migration guide: docs/api-v2-migration.md
2. **Email Verification Required**: Existing users must verify emails
- Run migration: `rails db:migrate`
- Send verification emails: `rails users:send_verification`
3. **Session Format Change**: Users will be logged out on upgrade
- No action required
- Users must log in again after deployment
Version Headers:
## [VERSION] - YYYY-MM-DD
Category Order:
Entry Format:
- Brief description of change (#PR-number)
- Another change with @username credit (#PR-number)
Breaking Changes:
- **BREAKING**: Description of breaking change (#PR-number)
Comparison Links:
[VERSION]: https://github.com/user/repo/compare/vPREV...vCURRENT
DO:
DON'T:
Semantic Versioning:
Pre-release:
# Extract commits since last tag
git log v1.1.0..HEAD --pretty=format:"%s"
# Convert to changelog entries
feat: Add OAuth2 support (#123) → Added - OAuth2 authentication support (#123)
fix: Resolve login timeout (#178) → Fixed - Fixed login timeout issue (#178)
chore: Update dependencies → [Skip - internal change]
{
"pr_number": 123,
"title": "Add OAuth2 authentication support",
"labels": ["feature", "authentication"],
"merged_at": "2026-01-09"
}
Converts to:
### Added
- OAuth2 authentication support (#123)
PROJ-456: Implement two-factor authentication
Type: Story
Status: Done
Converts to:
### Added
- Two-factor authentication via SMS (PROJ-456)
1. Story Completed
↓
2. Extract Changes
- Git commits since last release
- Merged PRs
- Closed issues
↓
3. Categorize Changes
- Parse commit messages
- Analyze PR labels
- Group related changes
↓
4. Generate Entry
- Format according to Keep a Changelog
- Add to [Unreleased] section
- Link PRs and issues
↓
5. Review & Update
- Verify categorization
- Improve descriptions
- Flag breaking changes
↓
6. On Release
- Move [Unreleased] to [VERSION]
- Add release date
- Create comparison link
Remember: The changelog is for users to understand what changed and why it matters to them. Focus on impact, not implementation.
tools
Session Handoff: Erstellt eine vollständige Zusammenfassung der aktuellen Session für einen sauberen Kontextwechsel. NUR bei explizitem Aufruf (/session-handoff). NICHT automatisch auslösen. Geeignet wenn der User die Session resetten will, den Kontext aufräumen will, oder bei ~120k Tokens angelangt ist.
development
Pre-Mortem Risk Analysis: Strukturierte Prospective-Hindsight-Übung um launch-blocking Risiken vor Commitment aufzudecken. Team stellt sich vor, das Produkt sei 14 Tage nach Launch gefloppt, und arbeitet rückwärts. Klassifiziert Risiken in Tigers (echt), Paper Tigers (hypothetisch), Elephants (unausgesprochen). Nutze diesen Skill vor Build-Commitment, bei zu hoher Stakeholder-Confidence, vor Major-Releases, oder wenn das Team vage Sorgen nicht artikulieren kann. Trigger: /pre-mortem, 'pre-mortem', 'risk analysis', 'was könnte schiefgehen', 'risiken vor launch'.
testing
Six-Sigma Atomicity Validator for create-spec stories
tools
UX pattern definition guidance for navigation, user flows, interactions, and accessibility