@patricio0312rev/skillset 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/LICENSE +21 -0
- package/README.md +176 -0
- package/bin/cli.js +37 -0
- package/package.json +55 -0
- package/src/commands/init.js +301 -0
- package/src/index.js +168 -0
- package/src/lib/config.js +200 -0
- package/src/lib/generator.js +166 -0
- package/src/utils/display.js +95 -0
- package/src/utils/readme.js +196 -0
- package/src/utils/tool-specific.js +233 -0
- package/templates/ai-engineering/agent-orchestration-planner/ SKILL.md +266 -0
- package/templates/ai-engineering/cost-latency-optimizer/ SKILL.md +270 -0
- package/templates/ai-engineering/doc-to-vector-dataset-generator/ SKILL.md +239 -0
- package/templates/ai-engineering/evaluation-harness/ SKILL.md +219 -0
- package/templates/ai-engineering/guardrails-safety-filter-builder/ SKILL.md +226 -0
- package/templates/ai-engineering/llm-debugger/ SKILL.md +283 -0
- package/templates/ai-engineering/prompt-regression-tester/ SKILL.md +216 -0
- package/templates/ai-engineering/prompt-template-builder/ SKILL.md +393 -0
- package/templates/ai-engineering/rag-pipeline-builder/ SKILL.md +244 -0
- package/templates/ai-engineering/tool-function-schema-designer/ SKILL.md +219 -0
- package/templates/architecture/adr-writer/ SKILL.md +250 -0
- package/templates/architecture/api-versioning-deprecation-planner/ SKILL.md +331 -0
- package/templates/architecture/domain-model-boundaries-mapper/ SKILL.md +300 -0
- package/templates/architecture/migration-planner/ SKILL.md +376 -0
- package/templates/architecture/performance-budget-setter/ SKILL.md +318 -0
- package/templates/architecture/reliability-strategy-builder/ SKILL.md +286 -0
- package/templates/architecture/rfc-generator/ SKILL.md +362 -0
- package/templates/architecture/scalability-playbook/ SKILL.md +279 -0
- package/templates/architecture/system-design-generator/ SKILL.md +339 -0
- package/templates/architecture/tech-debt-prioritizer/ SKILL.md +329 -0
- package/templates/backend/api-contract-normalizer/ SKILL.md +487 -0
- package/templates/backend/api-endpoint-generator/ SKILL.md +415 -0
- package/templates/backend/auth-module-builder/ SKILL.md +99 -0
- package/templates/backend/background-jobs-designer/ SKILL.md +166 -0
- package/templates/backend/caching-strategist/ SKILL.md +190 -0
- package/templates/backend/error-handling-standardizer/ SKILL.md +174 -0
- package/templates/backend/rate-limiting-abuse-protection/ SKILL.md +147 -0
- package/templates/backend/rbac-permissions-builder/ SKILL.md +158 -0
- package/templates/backend/service-layer-extractor/ SKILL.md +269 -0
- package/templates/backend/webhook-receiver-hardener/ SKILL.md +211 -0
- package/templates/ci-cd/artifact-sbom-publisher/ SKILL.md +236 -0
- package/templates/ci-cd/caching-strategy-optimizer/ SKILL.md +195 -0
- package/templates/ci-cd/deployment-checklist-generator/ SKILL.md +381 -0
- package/templates/ci-cd/github-actions-pipeline-creator/ SKILL.md +348 -0
- package/templates/ci-cd/monorepo-ci-optimizer/ SKILL.md +298 -0
- package/templates/ci-cd/preview-environments-builder/ SKILL.md +187 -0
- package/templates/ci-cd/quality-gates-enforcer/ SKILL.md +342 -0
- package/templates/ci-cd/release-automation-builder/ SKILL.md +281 -0
- package/templates/ci-cd/rollback-workflow-builder/ SKILL.md +372 -0
- package/templates/ci-cd/secrets-env-manager/ SKILL.md +242 -0
- package/templates/db-management/backup-restore-runbook-generator/ SKILL.md +505 -0
- package/templates/db-management/data-integrity-auditor/ SKILL.md +505 -0
- package/templates/db-management/data-retention-archiving-planner/ SKILL.md +430 -0
- package/templates/db-management/data-seeding-fixtures-builder/ SKILL.md +375 -0
- package/templates/db-management/db-performance-watchlist/ SKILL.md +425 -0
- package/templates/db-management/etl-sync-job-builder/ SKILL.md +457 -0
- package/templates/db-management/multi-tenant-safety-checker/ SKILL.md +398 -0
- package/templates/db-management/prisma-migration-assistant/ SKILL.md +379 -0
- package/templates/db-management/schema-consistency-checker/ SKILL.md +440 -0
- package/templates/db-management/sql-query-optimizer/ SKILL.md +324 -0
- package/templates/foundation/changelog-writer/ SKILL.md +431 -0
- package/templates/foundation/code-formatter-installer/ SKILL.md +320 -0
- package/templates/foundation/codebase-summarizer/ SKILL.md +360 -0
- package/templates/foundation/dependency-doctor/ SKILL.md +163 -0
- package/templates/foundation/dev-environment-bootstrapper/ SKILL.md +259 -0
- package/templates/foundation/dev-onboarding-builder/ SKILL.md +556 -0
- package/templates/foundation/docs-starter-kit/ SKILL.md +574 -0
- package/templates/foundation/explaining-code/SKILL.md +13 -0
- package/templates/foundation/git-hygiene-enforcer/ SKILL.md +455 -0
- package/templates/foundation/project-scaffolder/ SKILL.md +65 -0
- package/templates/foundation/project-scaffolder/references/templates.md +126 -0
- package/templates/foundation/repo-structure-linter/ SKILL.md +0 -0
- package/templates/foundation/repo-structure-linter/references/conventions.md +98 -0
- package/templates/frontend/animation-micro-interaction-pack/ SKILL.md +41 -0
- package/templates/frontend/component-scaffold-generator/ SKILL.md +562 -0
- package/templates/frontend/design-to-component-translator/ SKILL.md +547 -0
- package/templates/frontend/form-wizard-builder/ SKILL.md +553 -0
- package/templates/frontend/frontend-refactor-planner/ SKILL.md +37 -0
- package/templates/frontend/i18n-frontend-implementer/ SKILL.md +44 -0
- package/templates/frontend/modal-drawer-system/ SKILL.md +377 -0
- package/templates/frontend/page-layout-builder/ SKILL.md +630 -0
- package/templates/frontend/state-ux-flow-builder/ SKILL.md +23 -0
- package/templates/frontend/table-builder/ SKILL.md +350 -0
- package/templates/performance/alerting-dashboard-builder/ SKILL.md +162 -0
- package/templates/performance/backend-latency-profiler-helper/ SKILL.md +108 -0
- package/templates/performance/caching-cdn-strategy-planner/ SKILL.md +150 -0
- package/templates/performance/capacity-planning-helper/ SKILL.md +242 -0
- package/templates/performance/core-web-vitals-tuner/ SKILL.md +126 -0
- package/templates/performance/incident-runbook-generator/ SKILL.md +162 -0
- package/templates/performance/load-test-scenario-builder/ SKILL.md +256 -0
- package/templates/performance/observability-setup/ SKILL.md +232 -0
- package/templates/performance/postmortem-writer/ SKILL.md +203 -0
- package/templates/performance/structured-logging-standardizer/ SKILL.md +122 -0
- package/templates/security/auth-security-reviewer/ SKILL.md +428 -0
- package/templates/security/dependency-vulnerability-triage/ SKILL.md +495 -0
- package/templates/security/input-validation-sanitization-auditor/ SKILL.md +76 -0
- package/templates/security/pii-redaction-logging-policy-builder/ SKILL.md +65 -0
- package/templates/security/rbac-policy-tester/ SKILL.md +80 -0
- package/templates/security/secrets-scanner/ SKILL.md +462 -0
- package/templates/security/secure-headers-csp-builder/ SKILL.md +404 -0
- package/templates/security/security-incident-playbook-generator/ SKILL.md +76 -0
- package/templates/security/security-pr-checklist-skill/ SKILL.md +62 -0
- package/templates/security/threat-model-generator/ SKILL.md +394 -0
- package/templates/testing/contract-testing-builder/ SKILL.md +492 -0
- package/templates/testing/coverage-strategist/ SKILL.md +436 -0
- package/templates/testing/e2e-test-builder/ SKILL.md +382 -0
- package/templates/testing/flaky-test-detective/ SKILL.md +416 -0
- package/templates/testing/integration-test-builder/ SKILL.md +525 -0
- package/templates/testing/mocking-assistant/ SKILL.md +383 -0
- package/templates/testing/snapshot-test-refactorer/ SKILL.md +375 -0
- package/templates/testing/test-data-factory-builder/ SKILL.md +449 -0
- package/templates/testing/test-reporting-triage-skill/ SKILL.md +469 -0
- package/templates/testing/unit-test-generator/ SKILL.md +548 -0
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: changelog-writer
|
|
3
|
+
description: Generates changelogs and release notes from git commits, PR titles, and issue references. Organizes changes by impact type (breaking, features, fixes, improvements), formats according to Keep a Changelog standard, and provides version tagging and semantic versioning suggestions. Use when users request "create changelog", "write release notes", "document version changes", or "prepare release".
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Changelog & Release Notes Writer
|
|
7
|
+
|
|
8
|
+
Generate professional changelogs and release notes from version control history.
|
|
9
|
+
|
|
10
|
+
## Core Workflow
|
|
11
|
+
|
|
12
|
+
1. **Analyze commits**: Parse git history since last release
|
|
13
|
+
2. **Categorize changes**: Group by type (feat, fix, docs, etc.)
|
|
14
|
+
3. **Identify breaking changes**: Flag incompatible changes
|
|
15
|
+
4. **Extract highlights**: Surface most important changes
|
|
16
|
+
5. **Format document**: Follow Keep a Changelog format
|
|
17
|
+
6. **Suggest version**: Recommend semantic version bump
|
|
18
|
+
7. **Generate release notes**: Create user-friendly summary
|
|
19
|
+
|
|
20
|
+
## Commit Analysis
|
|
21
|
+
|
|
22
|
+
### Extract Information From
|
|
23
|
+
|
|
24
|
+
- Commit messages (preferably conventional commits)
|
|
25
|
+
- PR titles and descriptions
|
|
26
|
+
- Issue references (#123)
|
|
27
|
+
- Merge commit messages
|
|
28
|
+
- Commit authors
|
|
29
|
+
|
|
30
|
+
### Parse Patterns
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
feat(auth): add OAuth2 support
|
|
34
|
+
^ ^ ^
|
|
35
|
+
| | └─ Description
|
|
36
|
+
| └─ Scope (optional)
|
|
37
|
+
└─ Type
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
**Types to Categories:**
|
|
41
|
+
|
|
42
|
+
- `feat` → Added
|
|
43
|
+
- `fix` → Fixed
|
|
44
|
+
- `docs` → Documentation
|
|
45
|
+
- `style`, `refactor` → Changed
|
|
46
|
+
- `perf` → Performance
|
|
47
|
+
- `test` → Testing
|
|
48
|
+
- `chore`, `ci` → Internal
|
|
49
|
+
- `BREAKING CHANGE` → Breaking Changes
|
|
50
|
+
|
|
51
|
+
## Changelog Format (Keep a Changelog)
|
|
52
|
+
|
|
53
|
+
```markdown
|
|
54
|
+
# Changelog
|
|
55
|
+
|
|
56
|
+
All notable changes to this project will be documented in this file.
|
|
57
|
+
|
|
58
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
59
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
60
|
+
|
|
61
|
+
## [Unreleased]
|
|
62
|
+
|
|
63
|
+
### Added
|
|
64
|
+
|
|
65
|
+
- New feature X
|
|
66
|
+
- Support for Y
|
|
67
|
+
|
|
68
|
+
### Changed
|
|
69
|
+
|
|
70
|
+
- Updated Z behavior
|
|
71
|
+
|
|
72
|
+
### Fixed
|
|
73
|
+
|
|
74
|
+
- Resolved issue #123
|
|
75
|
+
|
|
76
|
+
## [2.1.0] - 2024-01-15
|
|
77
|
+
|
|
78
|
+
### Added
|
|
79
|
+
|
|
80
|
+
- OAuth2 authentication support
|
|
81
|
+
- User profile management API
|
|
82
|
+
- Dark mode toggle
|
|
83
|
+
|
|
84
|
+
### Changed
|
|
85
|
+
|
|
86
|
+
- Improved error messages
|
|
87
|
+
- Updated dependencies to latest versions
|
|
88
|
+
|
|
89
|
+
### Deprecated
|
|
90
|
+
|
|
91
|
+
- Legacy authentication method (will be removed in 3.0.0)
|
|
92
|
+
|
|
93
|
+
### Fixed
|
|
94
|
+
|
|
95
|
+
- Memory leak in WebSocket connection
|
|
96
|
+
- Incorrect date formatting in reports
|
|
97
|
+
- Race condition in concurrent requests
|
|
98
|
+
|
|
99
|
+
### Security
|
|
100
|
+
|
|
101
|
+
- Patched XSS vulnerability in user input
|
|
102
|
+
|
|
103
|
+
## [2.0.0] - 2023-12-01
|
|
104
|
+
|
|
105
|
+
### Breaking Changes
|
|
106
|
+
|
|
107
|
+
- ⚠️ Removed support for Node.js 16
|
|
108
|
+
- ⚠️ Changed API response format for `/users` endpoint
|
|
109
|
+
- ⚠️ Renamed `config.yaml` to `config.yml`
|
|
110
|
+
|
|
111
|
+
### Added
|
|
112
|
+
|
|
113
|
+
- Complete API rewrite with improved performance
|
|
114
|
+
- WebSocket support for real-time updates
|
|
115
|
+
|
|
116
|
+
### Migration Guide
|
|
117
|
+
|
|
118
|
+
See [MIGRATION_v2.md](./docs/MIGRATION_v2.md) for upgrade instructions.
|
|
119
|
+
|
|
120
|
+
[unreleased]: https://github.com/user/project/compare/v2.1.0...HEAD
|
|
121
|
+
[2.1.0]: https://github.com/user/project/compare/v2.0.0...v2.1.0
|
|
122
|
+
[2.0.0]: https://github.com/user/project/releases/tag/v2.0.0
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## Release Notes Format
|
|
126
|
+
|
|
127
|
+
````markdown
|
|
128
|
+
# Release v2.1.0 - "Feature Release Name"
|
|
129
|
+
|
|
130
|
+
Released: January 15, 2024
|
|
131
|
+
|
|
132
|
+
## 🎉 Highlights
|
|
133
|
+
|
|
134
|
+
This release brings major improvements to authentication and user experience:
|
|
135
|
+
|
|
136
|
+
- **OAuth2 Support**: Users can now sign in with Google, GitHub, and Microsoft
|
|
137
|
+
- **Dark Mode**: Toggle between light and dark themes
|
|
138
|
+
- **Performance**: 40% faster API response times
|
|
139
|
+
|
|
140
|
+
## ✨ New Features
|
|
141
|
+
|
|
142
|
+
- OAuth2 authentication with popular providers (#456)
|
|
143
|
+
- User profile management API (#478)
|
|
144
|
+
- Dark mode toggle in settings (#492)
|
|
145
|
+
- Export data in CSV format (#501)
|
|
146
|
+
|
|
147
|
+
## 🐛 Bug Fixes
|
|
148
|
+
|
|
149
|
+
- Fixed memory leak in WebSocket connections (#489)
|
|
150
|
+
- Resolved incorrect date formatting in reports (#495)
|
|
151
|
+
- Fixed race condition in concurrent API requests (#503)
|
|
152
|
+
|
|
153
|
+
## 🔄 Changes
|
|
154
|
+
|
|
155
|
+
- Improved error messages across the application
|
|
156
|
+
- Updated all dependencies to latest stable versions
|
|
157
|
+
- Refined UI animations for smoother experience
|
|
158
|
+
|
|
159
|
+
## 🔒 Security
|
|
160
|
+
|
|
161
|
+
- Patched XSS vulnerability in user input validation
|
|
162
|
+
- Updated JWT library to address CVE-2024-1234
|
|
163
|
+
|
|
164
|
+
## 📚 Documentation
|
|
165
|
+
|
|
166
|
+
- Added OAuth2 setup guide
|
|
167
|
+
- Updated API reference with new endpoints
|
|
168
|
+
- Improved troubleshooting section
|
|
169
|
+
|
|
170
|
+
## 🙏 Contributors
|
|
171
|
+
|
|
172
|
+
Thank you to all contributors who made this release possible:
|
|
173
|
+
|
|
174
|
+
- @alice - OAuth2 implementation
|
|
175
|
+
- @bob - Dark mode feature
|
|
176
|
+
- @charlie - Bug fixes and testing
|
|
177
|
+
|
|
178
|
+
## 📦 Installation
|
|
179
|
+
|
|
180
|
+
```bash
|
|
181
|
+
npm install project-name@2.1.0
|
|
182
|
+
# or
|
|
183
|
+
yarn add project-name@2.1.0
|
|
184
|
+
```
|
|
185
|
+
````
|
|
186
|
+
|
|
187
|
+
## 🔗 Links
|
|
188
|
+
|
|
189
|
+
- [Full Changelog](https://github.com/user/project/compare/v2.0.0...v2.1.0)
|
|
190
|
+
- [Documentation](https://docs.projectname.com)
|
|
191
|
+
- [Migration Guide](./docs/MIGRATION_v2.md)
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
**Note:** This is a minor release. No breaking changes. Safe to upgrade from 2.0.x.
|
|
196
|
+
|
|
197
|
+
````
|
|
198
|
+
|
|
199
|
+
## Semantic Versioning Rules
|
|
200
|
+
|
|
201
|
+
Given a version number MAJOR.MINOR.PATCH (e.g., 2.1.0):
|
|
202
|
+
|
|
203
|
+
1. **MAJOR** (2.x.x → 3.x.x)
|
|
204
|
+
- Breaking changes
|
|
205
|
+
- Incompatible API changes
|
|
206
|
+
- Removed features
|
|
207
|
+
|
|
208
|
+
2. **MINOR** (2.1.x → 2.2.x)
|
|
209
|
+
- New features
|
|
210
|
+
- Backward-compatible functionality
|
|
211
|
+
- Deprecated features
|
|
212
|
+
|
|
213
|
+
3. **PATCH** (2.1.0 → 2.1.1)
|
|
214
|
+
- Bug fixes
|
|
215
|
+
- Security patches
|
|
216
|
+
- Performance improvements
|
|
217
|
+
|
|
218
|
+
**Special versions:**
|
|
219
|
+
- `0.x.x` - Initial development (breaking changes allowed in minor)
|
|
220
|
+
- `x.y.0-alpha.1` - Pre-release
|
|
221
|
+
- `x.y.0-beta.2` - Beta release
|
|
222
|
+
- `x.y.0-rc.1` - Release candidate
|
|
223
|
+
|
|
224
|
+
## Git Commands for Changelog Generation
|
|
225
|
+
|
|
226
|
+
```bash
|
|
227
|
+
# Get commits since last tag
|
|
228
|
+
git log $(git describe --tags --abbrev=0)..HEAD --oneline
|
|
229
|
+
|
|
230
|
+
# Get commits between two tags
|
|
231
|
+
git log v2.0.0..v2.1.0 --oneline
|
|
232
|
+
|
|
233
|
+
# Get commits with PR numbers
|
|
234
|
+
git log --merges --pretty=format:"%s" v2.0.0..HEAD
|
|
235
|
+
|
|
236
|
+
# Get contributors
|
|
237
|
+
git log v2.0.0..HEAD --format='%aN' | sort -u
|
|
238
|
+
|
|
239
|
+
# Get commit count by type
|
|
240
|
+
git log v2.0.0..HEAD --oneline | grep -E '^[a-f0-9]+ (feat|fix|docs)' | cut -d' ' -f2 | sort | uniq -c
|
|
241
|
+
````
|
|
242
|
+
|
|
243
|
+
## Breaking Changes Detection
|
|
244
|
+
|
|
245
|
+
Look for these indicators:
|
|
246
|
+
|
|
247
|
+
- Commit message contains `BREAKING CHANGE:`
|
|
248
|
+
- Commit type has `!` (e.g., `feat!:`)
|
|
249
|
+
- PR labeled with "breaking-change"
|
|
250
|
+
- Major dependency updates
|
|
251
|
+
- API endpoint changes
|
|
252
|
+
- Config file format changes
|
|
253
|
+
|
|
254
|
+
**Document clearly:**
|
|
255
|
+
|
|
256
|
+
````markdown
|
|
257
|
+
### Breaking Changes
|
|
258
|
+
|
|
259
|
+
⚠️ **API Response Format Changed**
|
|
260
|
+
|
|
261
|
+
The `/api/users` endpoint now returns:
|
|
262
|
+
|
|
263
|
+
```json
|
|
264
|
+
// Before
|
|
265
|
+
{ "data": [...] }
|
|
266
|
+
|
|
267
|
+
// After
|
|
268
|
+
{ "users": [...], "total": 100 }
|
|
269
|
+
```
|
|
270
|
+
````
|
|
271
|
+
|
|
272
|
+
**Migration:** Update your API client to access `users` instead of `data`.
|
|
273
|
+
|
|
274
|
+
````
|
|
275
|
+
|
|
276
|
+
## Automation Tools
|
|
277
|
+
|
|
278
|
+
### Using conventional-changelog
|
|
279
|
+
```bash
|
|
280
|
+
npm install -g conventional-changelog-cli
|
|
281
|
+
|
|
282
|
+
# Generate changelog
|
|
283
|
+
conventional-changelog -p angular -i CHANGELOG.md -s
|
|
284
|
+
|
|
285
|
+
# Generate for specific version
|
|
286
|
+
conventional-changelog -p angular -i CHANGELOG.md -s -r 0
|
|
287
|
+
````
|
|
288
|
+
|
|
289
|
+
### Using git-cliff
|
|
290
|
+
|
|
291
|
+
```bash
|
|
292
|
+
# Install git-cliff
|
|
293
|
+
cargo install git-cliff
|
|
294
|
+
|
|
295
|
+
# Generate changelog
|
|
296
|
+
git-cliff --tag v2.1.0 > CHANGELOG.md
|
|
297
|
+
|
|
298
|
+
# Generate release notes
|
|
299
|
+
git-cliff --tag v2.1.0 --unreleased
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
### GitHub Release Script
|
|
303
|
+
|
|
304
|
+
```bash
|
|
305
|
+
#!/bin/bash
|
|
306
|
+
# scripts/release.sh
|
|
307
|
+
|
|
308
|
+
VERSION=$1
|
|
309
|
+
PREVIOUS_TAG=$(git describe --tags --abbrev=0)
|
|
310
|
+
|
|
311
|
+
# Generate release notes
|
|
312
|
+
gh release create "$VERSION" \
|
|
313
|
+
--title "Release $VERSION" \
|
|
314
|
+
--notes "$(git log $PREVIOUS_TAG..HEAD --pretty=format:'- %s')"
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
## User-Facing vs Developer-Facing
|
|
318
|
+
|
|
319
|
+
### User-Facing (Release Notes)
|
|
320
|
+
|
|
321
|
+
- Focus on benefits and features
|
|
322
|
+
- Less technical jargon
|
|
323
|
+
- Include screenshots/demos
|
|
324
|
+
- Highlight user experience improvements
|
|
325
|
+
- Provide upgrade instructions
|
|
326
|
+
|
|
327
|
+
### Developer-Facing (Changelog)
|
|
328
|
+
|
|
329
|
+
- Technical details
|
|
330
|
+
- API changes
|
|
331
|
+
- Breaking changes with migration guides
|
|
332
|
+
- Dependencies updates
|
|
333
|
+
- Internal refactorings
|
|
334
|
+
|
|
335
|
+
## Templates by Project Type
|
|
336
|
+
|
|
337
|
+
### Library/Package
|
|
338
|
+
|
|
339
|
+
Focus on: API changes, breaking changes, new methods
|
|
340
|
+
|
|
341
|
+
### Application
|
|
342
|
+
|
|
343
|
+
Focus on: New features, bug fixes, UI improvements
|
|
344
|
+
|
|
345
|
+
### CLI Tool
|
|
346
|
+
|
|
347
|
+
Focus on: New commands, flag changes, behavior changes
|
|
348
|
+
|
|
349
|
+
### API Service
|
|
350
|
+
|
|
351
|
+
Focus on: Endpoint changes, performance, security
|
|
352
|
+
|
|
353
|
+
## Best Practices
|
|
354
|
+
|
|
355
|
+
1. **Be specific**: "Fixed login bug" → "Fixed session timeout on mobile"
|
|
356
|
+
2. **Link issues**: Reference GitHub issues (#123)
|
|
357
|
+
3. **Credit contributors**: Acknowledge work
|
|
358
|
+
4. **Highlight impact**: Mark breaking changes clearly
|
|
359
|
+
5. **Group logically**: By type, not chronologically
|
|
360
|
+
6. **Update regularly**: With each release
|
|
361
|
+
7. **Follow conventions**: Keep a Changelog format
|
|
362
|
+
8. **Semantic versioning**: Use correctly
|
|
363
|
+
|
|
364
|
+
## Changelog Entry Examples
|
|
365
|
+
|
|
366
|
+
### Good Examples
|
|
367
|
+
|
|
368
|
+
```markdown
|
|
369
|
+
### Added
|
|
370
|
+
|
|
371
|
+
- OAuth2 authentication support (#456) - @alice
|
|
372
|
+
- Export data in CSV format with custom column selection (#501)
|
|
373
|
+
|
|
374
|
+
### Fixed
|
|
375
|
+
|
|
376
|
+
- Resolved memory leak in WebSocket connections affecting long-running sessions (#489)
|
|
377
|
+
- Fixed race condition in concurrent API requests that caused data inconsistency (#503)
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
### Bad Examples
|
|
381
|
+
|
|
382
|
+
```markdown
|
|
383
|
+
### Added
|
|
384
|
+
|
|
385
|
+
- Added stuff
|
|
386
|
+
- New feature
|
|
387
|
+
|
|
388
|
+
### Fixed
|
|
389
|
+
|
|
390
|
+
- Fixed bug
|
|
391
|
+
- Updates
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
## Version Suggestion Algorithm
|
|
395
|
+
|
|
396
|
+
```
|
|
397
|
+
If breaking changes detected:
|
|
398
|
+
MAJOR++, MINOR=0, PATCH=0
|
|
399
|
+
Else if new features:
|
|
400
|
+
MINOR++, PATCH=0
|
|
401
|
+
Else if only fixes:
|
|
402
|
+
PATCH++
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
## Release Checklist
|
|
406
|
+
|
|
407
|
+
Before publishing release:
|
|
408
|
+
|
|
409
|
+
- [ ] Review all commits since last release
|
|
410
|
+
- [ ] Identify breaking changes
|
|
411
|
+
- [ ] Categorize changes properly
|
|
412
|
+
- [ ] Update CHANGELOG.md
|
|
413
|
+
- [ ] Write release notes
|
|
414
|
+
- [ ] Update version in package.json/pyproject.toml
|
|
415
|
+
- [ ] Create git tag
|
|
416
|
+
- [ ] Push tag to trigger CI/CD
|
|
417
|
+
- [ ] Publish to package registry (npm, PyPI, etc.)
|
|
418
|
+
- [ ] Create GitHub release with notes
|
|
419
|
+
- [ ] Announce on relevant channels
|
|
420
|
+
|
|
421
|
+
## Output Checklist
|
|
422
|
+
|
|
423
|
+
Every changelog generation should provide:
|
|
424
|
+
|
|
425
|
+
- [ ] Formatted CHANGELOG.md following Keep a Changelog
|
|
426
|
+
- [ ] Release notes draft (user-friendly)
|
|
427
|
+
- [ ] Semantic version suggestion (X.Y.Z)
|
|
428
|
+
- [ ] Breaking changes clearly marked
|
|
429
|
+
- [ ] Migration guide for breaking changes
|
|
430
|
+
- [ ] Git tag command to run
|
|
431
|
+
- [ ] Links to compare view
|