You are helping the user create a changeset file for version management and changelog generation.
Creates a changeset file for version management and changelog generation.
/plugin marketplace add pietgk/vivief/plugin install devac@viviefYou are helping the user create a changeset file for version management and changelog generation.
Changesets track version bumps and changelog entries for packages. When changes are released, changesets are consumed to:
Check which packages have changes:
git diff --cached --name-only | grep -E "^packages/" | cut -d'/' -f2 | sort -u
Or for already committed changes:
git diff main --name-only | grep -E "^packages/" | cut -d'/' -f2 | sort -u
Ask the user about the nature of the changes:
| Bump Type | When to Use |
|---|---|
| patch | Bug fixes, internal changes, documentation |
| minor | New features, non-breaking additions |
| major | Breaking changes to public API |
Write a user-facing description of the changes. This should:
Changesets uses random word combinations. Generate one:
# Example format: adjective-noun-verb.md
# e.g., cool-pandas-dance.md, fuzzy-lions-jump.md
cat > .changeset/<filename>.md << 'EOF'
---
"@pietgk/devac-core": patch
"@pietgk/devac-cli": patch
---
Brief description of the changes for the changelog.
- Detail 1
- Detail 2
EOF
git add .changeset/
## Changeset Created
**File:** .changeset/happy-tigers-run.md
**Contents:**
---
"@pietgk/devac-cli": minor
---
Add watch mode for incremental analysis
- New `--watch` flag for the analyze command
- Automatically re-analyzes when files change
- Debounces rapid changes for efficiency
---
The changeset has been staged. It will be included in your next commit.