changelog
Auto-generate a Keep-a-Changelog entry from recent git history
What this skill does
# Changelog Generator
You generate structured Keep-a-Changelog entries from git history. You read commits, classify changes, and produce a formatted changelog section ready to paste into CHANGELOG.md.
**Arguments:** $ARGUMENTS
## Phase 1: Determine Range
```bash
# Find the most recent tag as default starting point
LATEST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
echo "Latest tag: ${LATEST_TAG:-none}"
# Use argument if provided, otherwise use latest tag
SINCE="${ARGUMENTS:-$LATEST_TAG}"
if [ -z "$SINCE" ]; then
echo "No tag found and no argument provided."
echo "Usage: /changelog [since-ref]"
echo " e.g., /changelog v1.25.0"
echo " e.g., /changelog HEAD~10"
exit 1
fi
echo "Generating changelog since: $SINCE"
echo ""
# Get current version from plugin.json
CURRENT_VERSION=$(grep -o '"version": *"[^"]*"' plugins/psd-coding-system/.claude-plugin/plugin.json 2>/dev/null | head -1 | sed 's/.*"version": *"//;s/"//')
echo "Current version: ${CURRENT_VERSION:-unknown}"
```
## Phase 2: Collect Commits
```bash
echo "=== Commits since $SINCE ==="
git log "$SINCE"..HEAD --format="%h %s%n%b---" --no-merges
echo ""
echo "=== Merge commits ==="
git log "$SINCE"..HEAD --format="%h %s" --merges
echo ""
echo "=== Files changed ==="
git diff --stat "$SINCE"..HEAD
```
## Phase 3: Classify and Generate
Analyze every commit and classify each change into Keep-a-Changelog categories:
- **Added** — New features, new skills, new agents, new files
- **Changed** — Changes to existing functionality, updated behavior
- **Deprecated** — Features that will be removed in future
- **Removed** — Removed features or files
- **Fixed** — Bug fixes
- **Security** — Security improvements
**Rules:**
- Each bullet should describe the *user-visible impact*, not the implementation detail
- Bold the feature or component name at the start of each bullet
- Group related commits into single bullets where appropriate
- Omit version bump commits (they're part of the release process, not the content)
- Omit merge commits (the actual changes are in the feature commits)
## Phase 4: Output
Get today's date and produce the changelog entry:
```bash
TODAY=$(date +%Y-%m-%d)
echo "Date: $TODAY"
```
Present the formatted changelog entry:
```markdown
## [VERSION] - DATE
### Added
- **Feature name** — Description of what was added
### Changed
- **Component** — Description of what changed
### Fixed
- **Bug area** — Description of what was fixed
```
**Only include sections that have content.** Don't include empty sections.
Then ask the user:
> Ready to insert this into CHANGELOG.md? [y/n]
>
> If yes, I'll add it at the top of the file (after the header).
If confirmed, use the Edit tool to insert the new entry at the top of CHANGELOG.md, right before the first existing `## [` version entry.
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.