Skip to content

Commit b7f4099

Browse files
committed
feat: update documentation for changelog management and PR drafting process
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
1 parent df4d16e commit b7f4099

4 files changed

Lines changed: 272 additions & 13 deletions

File tree

.agents/skills/changelog-generator/references/keep-a-changelog-format.md

Lines changed: 247 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,267 @@
55
```markdown
66
# Changelog
77

8-
All notable changes to this project will be documented in this file, in reverse chronological order by release.
8+
All notable changes to this project will be documented in this file.
9+
10+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
11+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
912

1013
## [Unreleased]
1114

1215
### Added
13-
- Description of new feature
16+
17+
- v1.1 Brazilian Portuguese translation.
18+
- v1.1 German Translation
19+
- v1.1 Spanish translation.
20+
- v1.1 Italian translation.
21+
- v1.1 Polish translation.
22+
- v1.1 Ukrainian translation.
1423

1524
### Changed
16-
- Description of behavior change
1725

18-
### Deprecated
19-
- Description of deprecated feature
26+
- Use frontmatter title & description in each language version template
27+
- Replace broken OpenGraph image with an appropriately-sized Keep a Changelog
28+
image that will render properly (although in English for all languages)
29+
- Fix OpenGraph title & description for all languages so the title and
30+
description when links are shared are language-appropriate
2031

2132
### Removed
22-
- Description of removed feature
33+
34+
- Trademark sign previously shown after the project description in version
35+
0.3.0
36+
37+
## [1.1.1] - 2023-03-05
38+
39+
### Added
40+
41+
- Arabic translation (#444).
42+
- v1.1 French translation.
43+
- v1.1 Dutch translation (#371).
44+
- v1.1 Russian translation (#410).
45+
- v1.1 Japanese translation (#363).
46+
- v1.1 Norwegian Bokmål translation (#383).
47+
- v1.1 "Inconsistent Changes" Turkish translation (#347).
48+
- Default to most recent versions available for each languages.
49+
- Display count of available translations (26 to date!).
50+
- Centralize all links into `/data/links.json` so they can be updated easily.
51+
52+
### Fixed
53+
54+
- Improve French translation (#377).
55+
- Improve id-ID translation (#416).
56+
- Improve Persian translation (#457).
57+
- Improve Russian translation (#408).
58+
- Improve Swedish title (#419).
59+
- Improve zh-CN translation (#359).
60+
- Improve French translation (#357).
61+
- Improve zh-TW translation (#360, #355).
62+
- Improve Spanish (es-ES) transltion (#362).
63+
- Foldout menu in Dutch translation (#371).
64+
- Missing periods at the end of each change (#451).
65+
- Fix missing logo in 1.1 pages.
66+
- Display notice when translation isn't for most recent version.
67+
- Various broken links, page versions, and indentations.
68+
69+
### Changed
70+
71+
- Upgrade dependencies: Ruby 3.2.1, Middleman, etc.
72+
73+
### Removed
74+
75+
- Unused normalize.css file.
76+
- Identical links assigned in each translation file.
77+
- Duplicate index file for the english version.
78+
79+
## [1.1.0] - 2019-02-15
80+
81+
### Added
82+
83+
- Danish translation (#297).
84+
- Georgian translation from (#337).
85+
- Changelog inconsistency section in Bad Practices.
86+
87+
### Fixed
88+
89+
- Italian translation (#332).
90+
- Indonesian translation (#336).
91+
92+
## [1.0.0] - 2017-06-20
93+
94+
### Added
95+
96+
- New visual identity by [@tylerfortune8](https://github.com/tylerfortune8).
97+
- Version navigation.
98+
- Links to latest released version in previous versions.
99+
- "Why keep a changelog?" section.
100+
- "Who needs a changelog?" section.
101+
- "How do I make a changelog?" section.
102+
- "Frequently Asked Questions" section.
103+
- New "Guiding Principles" sub-section to "How do I make a changelog?".
104+
- Simplified and Traditional Chinese translations from [@tianshuo](https://github.com/tianshuo).
105+
- German translation from [@mpbzh](https://github.com/mpbzh) & [@Art4](https://github.com/Art4).
106+
- Italian translation from [@azkidenz](https://github.com/azkidenz).
107+
- Swedish translation from [@magol](https://github.com/magol).
108+
- Turkish translation from [@emreerkan](https://github.com/emreerkan).
109+
- French translation from [@zapashcanon](https://github.com/zapashcanon).
110+
- Brazilian Portuguese translation from [@Webysther](https://github.com/Webysther).
111+
- Polish translation from [@amielucha](https://github.com/amielucha) & [@m-aciek](https://github.com/m-aciek).
112+
- Russian translation from [@aishek](https://github.com/aishek).
113+
- Czech translation from [@h4vry](https://github.com/h4vry).
114+
- Slovak translation from [@jkostolansky](https://github.com/jkostolansky).
115+
- Korean translation from [@pierceh89](https://github.com/pierceh89).
116+
- Croatian translation from [@porx](https://github.com/porx).
117+
- Persian translation from [@Hameds](https://github.com/Hameds).
118+
- Ukrainian translation from [@osadchyi-s](https://github.com/osadchyi-s).
119+
120+
### Changed
121+
122+
- Start using "changelog" over "change log" since it's the common usage.
123+
- Start versioning based on the current English version at 0.3.0 to help
124+
translation authors keep things up-to-date.
125+
- Rewrite "What makes unicorns cry?" section.
126+
- Rewrite "Ignoring Deprecations" sub-section to clarify the ideal
127+
scenario.
128+
- Improve "Commit log diffs" sub-section to further argument against
129+
them.
130+
- Merge "Why can’t people just use a git log diff?" with "Commit log
131+
diffs".
132+
- Fix typos in Simplified Chinese and Traditional Chinese translations.
133+
- Fix typos in Brazilian Portuguese translation.
134+
- Fix typos in Turkish translation.
135+
- Fix typos in Czech translation.
136+
- Fix typos in Swedish translation.
137+
- Improve phrasing in French translation.
138+
- Fix phrasing and spelling in German translation.
139+
140+
### Removed
141+
142+
- Section about "changelog" vs "CHANGELOG".
143+
144+
## [0.3.0] - 2015-12-03
145+
146+
### Added
147+
148+
- RU translation from [@aishek](https://github.com/aishek).
149+
- pt-BR translation from [@tallesl](https://github.com/tallesl).
150+
- es-ES translation from [@ZeliosAriex](https://github.com/ZeliosAriex).
151+
152+
## [0.2.0] - 2015-10-06
153+
154+
### Changed
155+
156+
- Remove exclusionary mentions of "open source" since this project can
157+
benefit both "open" and "closed" source projects equally.
158+
159+
## [0.1.0] - 2015-10-06
160+
161+
### Added
162+
163+
- Answer "Should you ever rewrite a change log?".
164+
165+
### Changed
166+
167+
- Improve argument against commit logs.
168+
- Start following [SemVer](https://semver.org) properly.
169+
170+
## [0.0.8] - 2015-02-17
171+
172+
### Changed
173+
174+
- Update year to match in every README example.
175+
- Reluctantly stop making fun of Brits only, since most of the world
176+
writes dates in a strange way.
23177

24178
### Fixed
25-
- Description of bug fix
26179

27-
### Security
28-
- Description of security fix
180+
- Fix typos in recent README changes.
181+
- Update outdated unreleased diff link.
29182

30-
## [1.0.0] - YYYY-MM-DD
183+
## [0.0.7] - 2015-02-16
31184

32185
### Added
33-
- Feature description
186+
187+
- Link, and make it obvious that date format is ISO 8601.
188+
189+
### Changed
190+
191+
- Clarified the section on "Is there a standard change log format?".
192+
193+
### Fixed
194+
195+
- Fix Markdown links to tag comparison URL with footnote-style links.
196+
197+
## [0.0.6] - 2014-12-12
198+
199+
### Added
200+
201+
- README section on "yanked" releases.
202+
203+
## [0.0.5] - 2014-08-09
204+
205+
### Added
206+
207+
- Markdown links to version tags on release headings.
208+
- Unreleased section to gather unreleased changes and encourage note
209+
keeping prior to releases.
210+
211+
## [0.0.4] - 2014-08-09
212+
213+
### Added
214+
215+
- Better explanation of the difference between the file ("CHANGELOG")
216+
and its function "the change log".
217+
218+
### Changed
219+
220+
- Refer to a "change log" instead of a "CHANGELOG" throughout the site
221+
to differentiate between the file and the purpose of the file — the
222+
logging of changes.
223+
224+
### Removed
225+
226+
- Remove empty sections from CHANGELOG, they occupy too much space and
227+
create too much noise in the file. People will have to assume that the
228+
missing sections were intentionally left out because they contained no
229+
notable changes.
230+
231+
## [0.0.3] - 2014-08-09
232+
233+
### Added
234+
235+
- "Why should I care?" section mentioning The Changelog podcast.
236+
237+
## [0.0.2] - 2014-07-10
238+
239+
### Added
240+
241+
- Explanation of the recommended reverse chronological release ordering.
242+
243+
## [0.0.1] - 2014-05-31
244+
245+
### Added
246+
247+
- This CHANGELOG file to hopefully serve as an evolving example of a
248+
standardized open source project CHANGELOG.
249+
- CNAME file to enable GitHub Pages custom domain.
250+
- README now contains answers to common questions about CHANGELOGs.
251+
- Good examples and basic guidelines, including proper date formatting.
252+
- Counter-examples: "What makes unicorns cry?".
253+
254+
[unreleased]: https://github.com/olivierlacan/keep-a-changelog/compare/v1.1.1...HEAD
255+
[1.1.1]: https://github.com/olivierlacan/keep-a-changelog/compare/v1.1.0...v1.1.1
256+
[1.1.0]: https://github.com/olivierlacan/keep-a-changelog/compare/v1.0.0...v1.1.0
257+
[1.0.0]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.3.0...v1.0.0
258+
[0.3.0]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.2.0...v0.3.0
259+
[0.2.0]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.1.0...v0.2.0
260+
[0.1.0]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.0.8...v0.1.0
261+
[0.0.8]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.0.7...v0.0.8
262+
[0.0.7]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.0.6...v0.0.7
263+
[0.0.6]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.0.5...v0.0.6
264+
[0.0.5]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.0.4...v0.0.5
265+
[0.0.4]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.0.3...v0.0.4
266+
[0.0.3]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.0.2...v0.0.3
267+
[0.0.2]: https://github.com/olivierlacan/keep-a-changelog/compare/v0.0.1...v0.0.2
268+
[0.0.1]: https://github.com/olivierlacan/keep-a-changelog/releases/tag/v0.0.1
34269
```
35270

36271
## Entry Format Rules
@@ -48,4 +283,4 @@ Always in this order:
48283
3. Deprecated
49284
4. Removed
50285
5. Fixed
51-
6. Security
286+
6. Security

.agents/skills/github-pull-request/SKILL.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,21 @@ Use this skill to take a Fast Forward issue from "ready to implement" to an open
2121
- Branch from `main` or the repository integration branch, never from another feature branch.
2222
- Prefer local `git` for checkout, commit, and push.
2323
- Prefer connector-backed GitHub data for issue and PR context when available.
24-
- Use `phpunit-tests`, `package-readme`, and `sphinx-docs` when the change clearly affects tests or documentation.
24+
- Use `phpunit-tests`, `package-readme`, `sphinx-docs`, and `changelog-generator` when the change clearly affects tests or documentation.
2525
- Never manually close an issue; rely on `Closes #123` style text in the PR body.
2626
- Do not block waiting for merge. Open or update the PR, then report status and the next action.
2727

28+
## Changelog Updates
29+
30+
When implementing changes that affect functionality, use `changelog-generator` to update CHANGELOG.md:
31+
32+
1. Run `changelog-generator` to analyze code changes since last release
33+
2. Add clear, specific descriptions following the skill's quality rules
34+
3. Include PR reference when applicable: "Added changelog automation (#40)"
35+
4. Update the [Unreleased] section for PR-specific changes
36+
37+
This ensures every PR has proper changelog documentation before merge.
38+
2839
## Reference Guide
2940

3041
| Need | Reference |

.agents/skills/github-pull-request/references/pr-drafting.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,25 @@ If no PR template exists, use the fallback structure below.
3131
- [Concrete change]
3232
- [Concrete change]
3333

34+
## Changelog
35+
- Added `ClassName` for feature description (#PR)
36+
3437
## Testing
3538
- [Command and result]
3639
- [Command and result]
3740

3841
Closes #123
3942
```
4043

44+
## Changelog Entry Rule
45+
46+
Every PR that adds functionality MUST include a changelog entry. Use the `changelog-generator` skill to generate proper entries:
47+
48+
- Short: one line per change
49+
- Specific: include changes human description
50+
- Self-sufficient: understandable without reading code
51+
- Reference the PR number: "Added `dev-tool:sync` command to sincronize repository files (#363)."
52+
4153
## Title Guidance
4254

4355
- Follow repository title rules when they exist.

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,3 +155,4 @@ composer dev-tools
155155
- **Updating PHPDoc / PHP Style**: Use skill `phpdoc-code-style` in `.agents/skills/phpdoc-code-style/` for PHPDoc cleanup and repository-specific PHP formatting
156156
- **Drafting / Publishing GitHub Issues**: Use skill `github-issues` in `.agents/skills/github-issues/` to transform a short feature description into a complete, production-ready GitHub issue and create or update it on GitHub when needed
157157
- **Implementing Issues & PRs**: Use skill `github-pull-request` in `.agents/skills/github-pull-request/` to iterate through open GitHub issues and implement them one by one with branching, testing, documentation, and pull requests
158+
- **Generating/Updating Changelog**: Use skill `changelog-generator` in `.agents/skills/changelog-generator/` to generate and maintain CHANGELOG.md following Keep a Changelog format with human-readable descriptions

0 commit comments

Comments
 (0)