Public excerpt
Locked
Group the hunks by intent, propose a split into atomic commits with the git add -p plan, write type(scope): subject in the imperative under 50 characters, a body that explains why, BREAKING CHANGE footers, the semver bump, then user-facing changelog lines…
About this prompt
Paste a diff and the ticket: get atomic commit messages in Conventional Commits format (with a split plan if the diff mixes concerns), the semantic version bump it implies, and changelog entries in Keep a Changelog style written for users, not developers. Mistral is chosen for concise, well-structured output.
Example output
STEP 2 — Split into 2 commits: (1) src/export/* + tests/export/* ; (2) src/http/client.ts (timeout default).
STEP 3
```
feat(export): add CSV export for filtered invoice lists
Accountants had to copy tables by hand to reconcile payments.
The export uses the active filters and streams rows, so large
lists no longer time out in the browser.
Refs: #482
```
```
fix(http)!: lower default request timeout from 60 s to 15 s
Hung upstream calls were holding worker slots for a full minute.
BREAKING CHANGE: integrations relying on long calls must set
`timeoutMs` explicitly in the client options.
```
STEP 4 — Major bump (2.7.3 → 3.0.0), decided by the timeout change.
STEP 5
### Added
- Export any filtered invoice list to CSV from the Invoices page.
### Changed
- **Breaking:** API client requests now time out after 15 s. Set `timeoutMs` if you need longer.
Flag: console.log left in src/export/csv.ts:57.
Details
- Model
- Mistral (Le Chat)
- Prompt language
- English
- Who it's for
- Developers and maintainers who want a clean history and release notes without the chore
- Length
- ~542 tokens (estimate)
- Delivered as
- Prompt text, shown online after purchase
- Category
- Code & Development
Reviews
No reviews yet. Only buyers of this prompt can leave one.