// Generates comprehensive changelogs from Conventional Commits, maintains CHANGELOG.md files, and scaffolds project documentation like PRD.md or ADR.md. This skill should be used when creating changelogs, generating release notes, maintaining version history, documenting architectural decisions, or scaffolding project requirements documentation. Use for changelog generation, release notes, version documentation, ADR, PRD, or technical documentation.
| name | docs-and-changelogs |
| description | Generates comprehensive changelogs from Conventional Commits, maintains CHANGELOG.md files, and scaffolds project documentation like PRD.md or ADR.md. This skill should be used when creating changelogs, generating release notes, maintaining version history, documenting architectural decisions, or scaffolding project requirements documentation. Use for changelog generation, release notes, version documentation, ADR, PRD, or technical documentation. |
Generate and maintain project documentation including changelogs, architectural decision records, and product requirement documents.
To manage project documentation effectively:
To generate changelogs from Conventional Commits:
Use scripts/generate_changelog.py to automate changelog generation from commit history.
Follow this commit message structure:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Types:
feat: New featurefix: Bug fixdocs: Documentation changesstyle: Code style changes (formatting, semicolons, etc.)refactor: Code refactoring without feature changesperf: Performance improvementstest: Adding or updating testschore: Maintenance tasksci: CI/CD changesBreaking Changes:
BREAKING CHANGE: in footer or ! after typefeat!: redesign entity schema structureTo maintain changelog file:
Consult references/changelog-format.md for detailed formatting guidelines and examples.
To create architectural decision records:
scripts/create_adr.py to scaffold new ADR fileUse assets/adr-template.md as starting point for new ADRs.
Standard ADR sections:
To scaffold product requirement documents:
scripts/create_prd.py to generate PRD templateReference assets/prd-template.md for comprehensive PRD structure.
Standard PRD components:
To generate changelog:
Collect Commits
python scripts/generate_changelog.py --since v1.0.0
Categorize Changes
Format Output
Update CHANGELOG.md
To document architectural decision:
Generate ADR File
python scripts/create_adr.py "use postgresql for entity storage"
Fill Template
Review and Commit
To create product requirements:
Generate PRD Template
python scripts/create_prd.py "timeline visualization feature"
Complete Sections
Review with Stakeholders
To automate documentation updates:
Add to .github/workflows/release.yml:
- name: Generate changelog
run: python scripts/generate_changelog.py --output CHANGELOG.md
- name: Commit changelog
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add CHANGELOG.md
git commit -m "docs: update changelog for ${{ github.ref_name }}"
Add to .git/hooks/commit-msg:
#!/bin/bash
# Validate conventional commit format
python scripts/validate_commit_msg.py "$1"
Organize project documentation:
docs/
โโโ CHANGELOG.md # Version history
โโโ ADR/ # Architectural decisions
โ โโโ 0001-use-nextjs.md
โ โโโ 0002-database-choice.md
โโโ PRD/ # Product requirements
โ โโโ timeline-feature.md
โ โโโ entity-relationships.md
โโโ api/ # API documentation
โโโ endpoints.md
To manage semantic versioning:
Use scripts/bump_version.py to update version across package.json, changelog, and tags.
To generate release notes:
Use scripts/generate_release_notes.py to create formatted release notes from changelog.
Common issues: