deepagents-architectur…
Guides architectural decisions for Deep Agents applications. Use when deciding between Deep Agents vs alternatives, choosing backend strategies, designing…
generate release notes for changes since a given tag
$ npx -y skills add existential-birds/beagle --skill gen-release-notes --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/gen-release-notesContext preview
The summary Claude sees to decide when to auto-load this skill.
generate release notes for changes since a given tag
name: gen-release-notes description: generate release notes for changes since a given tag disable-model-invocation: true
Generate professional release notes following the Keep a Changelog standard.
**Input**: Previous tag (e.g., `v0.0.1`)
$ARGUMENTS
---
Analyze the changes thoroughly before generating release notes.
Do not invent tags, PR numbers, or links. Each row must pass before the work that depends on it.
| When | Pass condition (evidence) | On fail | |------|---------------------------|---------| | Before `git log` / `git diff` | `git tag -l "$PREV_TAG"` prints exactly one line matching `PREV_TAG` | Stop; report that the tag is missing—do not write changelog entries | | Before categorizing | `git rev-parse "$PREV_TAG^{commit}"` exits 0 | Stop; fix `PREV_TAG` or repo checkout | | If using `gh pr list` | Command exits 0 and JSON is valid | Fall back to commit subjects + merge-commit URLs only; do not fabricate PR numbers | | After Step 5 footer edits | Step 6 footer-gate exits 0 (both `grep -q` checks pass against the staged `CHANGELOG.md`) | Re-run footer edits from Step 5, then re-run Step 6 until it exits 0 |
Run these commands to collect information about changes since the provided tag:
# Store the previous tag
PREV_TAG="$ARGUMENTS"
# Gate: tag must exist (output must be non-empty and match PREV_TAG)
git tag -l "$PREV_TAG"
# If the line above prints nothing, STOP — do not continue below.
# Get the repo URL for PR links
git remote get-url origin
# List commits since last tag
git log ${PREV_TAG}..HEAD --pretty=format:"%h %s" --no-merges
# Get detailed diff stats
git diff ${PREV_TAG}..HEAD --stat
# List changed files by directory
git diff ${PREV_TAG}..HEAD --name-only | sort | uniqAlso gather PR information:
# Get merged PRs since the tag (requires gh CLI) gh pr list --state merged --search "merged:>=$(git log -1 --format=%ci $PREV_TAG | cut -d' ' -f1)" --json number,title,author,labels
Categorize each change into exactly one of these groups (in this order):
| Category | Include | Exclude | |----------|---------|---------| | **Added** | New features, new public APIs, new CLI commands | Internal utilities not exposed to users | | **Changed** | Modified behavior, performance improvements, updated dependencies with user impact | Refactors with no behavior change | | **Deprecated** | Features marked for future removal | - | | **Removed** | Deleted features, removed public APIs | Removed internal code | | **Fixed** | Bug fixes, error handling improvements | Test-only fixes | | **Security** | Vulnerability patches, security hardening | - |
**Exclude entirely:**
Based on the changes, suggest the next version following Semantic Versioning:
Detect the tag format from existing tags (with or without `v` prefix).
Generate a `CHANGELOG.md` entry using this exact format:
## [VERSION] - YYYY-MM-DD ### Added - **scope:** Add new feature description ([#54](REPO_URL/pull/54)) ### Changed - **Breaking:** Rename `oldName()` to `newName()` for consistency ([#145](REPO_URL/pull/145)) **Migration:** Replace all calls to `oldName()` with `newName()`. ### Deprecated - **scope:** Deprecate `legacy_function()` in favor of `new_function()` ([#143](REPO_URL/pull/143)) ### Removed - **Breaking:** Remove deprecated `old_function()` ([#141](REPO_URL/pull/141)) ### Fixed - **scope:** Fix race condition when multiple workers access shared state ([#139](REPO_URL/pull/139)) ### Security - **deps:** Update vulnerable package to patched version ([#49](REPO_URL/pull/49))
**Format requirements:**
**Breaking changes:**
**Tone:**
**Bad examples to avoid:**
# BAD - Too vague - Fixed bugs - Performance improvements - Updated dependencies # BAD - Implementation-focused - Refactored the internal state machine to use async/await # BAD - Missing context - Fixed #234
**Good examples to follow:**
# GOOD - Specific and user-focused - **server:** Fix timeout errors when processing files larger than 100MB ([#234](URL)) - **cli:** Add `--dry-run` flag to preview changes before execution ([#235](URL)) - **api:** Improve cold-start latency from 2.3s to 0.8s by lazy-loading plugins ([#236](URL))
1. If `CHANGELOG.md` exists:
2. If `CHANGELOG.md` doesn't exist, create it with this header:
# Changelog All notable changes to this project will be documented in this file.
Image: NASA, Public Domain. Source Beagle is an Agent Skills marketplace: framework-aware code review, documentation, testing, architectural analysis, and git workflows for any compatible coding agent.
Repo: existential-birds/beagle
Guides architectural decisions for Deep Agents applications. Use when deciding between Deep Agents vs alternatives, choosing backend strategies, designing…
Reviews Deep Agents code for bugs, anti-patterns, and improvements. Use when reviewing code that uses create_deep_agent, backends, subagents, middleware, or…
Implements agents using Deep Agents. Use when building agents with create_deep_agent, configuring backends, defining subagents, adding middleware, or setting…
Guides architectural decisions for LangGraph applications. Use when deciding between LangGraph vs alternatives, choosing state management strategies, designing…
Reviews LangGraph code for bugs, anti-patterns, and improvements. Use when reviewing code that uses StateGraph, nodes, edges, checkpointing, or other LangGraph…
Implements stateful agent graphs using LangGraph. Use when building graphs, adding nodes/edges, defining state schemas, implementing checkpointing, handling…