The eternal struggle of release management is the changelog. It is rarely accurate, often written from memory, and always a pain to reconstruct from a list of merged PRs with inconsistent descriptions. Lemon Code, a free coding agent available for browser and Mac, aims to solve this by automating the drafting process, turning a tedious archaeology project into a quick review task.
The Setup Protocol
The workflow requires a specific prompt strategy. You instruct Lemon Code to identify the most recent version tag, list every PR merged since that point, and group them according to the 'Keep a Changelog' format (Added, Fixed, Changed). Crucially, the agent is told to skip dependency bumps from bots unless they address a security advisory. This filtering keeps the output readable, preventing forty Dependabot lines from burying the three actual changes users care about. The agent drafts the entry as a Pull Request against CHANGELOG.md rather than committing directly to main. This constraint ensures a human checkpoint remains in the loop. The output is a structured list where each line traces back to a specific PR number, allowing for rapid verification of grouping accuracy and user-facing phrasing.
Scaling the Habit
For teams releasing continuously, a one-off generation is just the start. The article suggests two patterns for making this a habit. The first is running the prompt when cutting a release branch, so the changelog PR is ready for review while the build runs. The second is a weekly sweep, where the agent updates an 'Unreleased' section every week. This ensures each merged PR gets its line within days, while the context is still fresh in the PR description, rather than months later when someone is guessing.
Human Oversight Remains Critical
Lemon Code produces a draft, not a final product. The agent occasionally misclassifies changes, labeling a behavior change as a 'fix,' and it cannot judge which updates deserve a highlighted note at the top of the release. These are judgment calls that maintainers make in minutes, but they are significantly easier when the skeleton and PR links are already in place. The result is a changelog that is accurate, traceable, and written while the work is fresh.
Key Takeaways
- Lemon Code uses git history and PR metadata to draft changelog entries, eliminating manual reconstruction.
- The workflow enforces a 'Keep a Changelog' format and filters out bot noise for readability.
- Drafts are submitted as PRs, maintaining a human review checkpoint before merging to main.
- Weekly 'Unreleased' updates keep documentation current while PR context is still fresh.
The Bottom Line
Changelogs are low-value work that high-value engineers shouldn't spend afternoons on. Automating the draft lets you focus on the judgment calls that actually matter for your users.