Set up a fully automated versioning and release pipeline using conventional commits, commitlint, husky git hooks, and semantic-release. Version bumps, changelogs, and GitHub releases are derived automatically from commit messages.
Core principle: Commits drive releases — enforce commit format at author time, automate everything else.
| @commitlint/cli | Validates commit messages against rules | | @commitlint/config-conventional | Preset rules for conventional commit format | | semantic-release | Automates version bumps, changelogs, and releases | | @semantic-release/changelog | Generates/updates CHANGELOG.md | | @semantic-release/git | Commits release artifacts back to repo |
Use when setting up automated versioning, when asked to "set up semantic release", "add conventional commits", "configure automated versioning", "set up commitlint", "add husky hooks", "set up changelog generation", or when initializing a new project that needs a commit and release workflow. Source: antjanus/skillbox.