On every ship/release — update CHANGELOG.md and create a matching git tag
php artisan boost:add-skill electrik/slate
Save this content to: .cursor/rules/changelog-and-tag.mdc
# Changelog + tag on ship
Whenever you **ship**, **release**, **publish**, or the user asks to **commit a versioned release** for `electrik/slate`:
1. **Changelog first** — update `CHANGELOG.md` before the release commit:
- Move items out of `## Unreleased` into a new heading `## X.Y.Z[-suffix] - YYYY-MM-DD`
- Use Keep a Changelog groups: `Added`, `Changed`, `Fixed`, `Deprecated`, `Removed`, `Security`
- Match the version in `composer.json` (`version` field)
2. **Commit** the changelog (and version bump) with the release
3. **Tag** with an annotated tag equal to that version string (prefer `v` prefix for stable (`v3.0.0`); historical alphas may omit it):
```bash
git tag -a "X.Y.Z-suffix" -m "Release X.Y.Z-suffix"
git push origin HEAD --tags
```
4. **Do not** ship a package version bump without both the changelog section and the git tag
5. Docs-only or WIP commits may land under `## Unreleased` without a tag; creating a tag requires a changelog release section
## Examples
- Shipping 3.0.0 → `CHANGELOG.md` has `## [3.0.0] - 2026-…`, `composer.json` says `3.0.0`, tag `v3.0.0`
- Bad: push a release commit with no changelog entry
- Bad: create a tag that does not match `composer.json` / changelog heading
Whenever you ship, release, publish, or the user asks to commit a versioned release for electrik/slate:
CHANGELOG.md before the release commit:
## Unreleased into a new heading ## X.Y.Z[-suffix] - YYYY-MM-DDAdded, Changed, Fixed, Deprecated, Removed, Securitycomposer.json (version field)v prefix for stable (v3.0.0); historical alphas may omit it):git tag -a "X.Y.Z-suffix" -m "Release X.Y.Z-suffix"
git push origin HEAD --tags
## Unreleased without a tag; creating a tag requires a changelog release sectionCHANGELOG.md has ## [3.0.0] - 2026-…, composer.json says 3.0.0, tag v3.0.0composer.json / changelog headingHow can I help you explore Laravel packages today?