Skip to content

Conversation

@gmorpheme
Copy link
Member

Summary

Replace git-changelog with intelligent Claude API-powered release notes generation that provides user-focused, categorized documentation of changes.

Changes Made

  • Release notes prompt template: Created comprehensive .github/release-notes-prompt.md with detailed categorization guidelines
  • Direct Anthropic API integration: Modified GitHub workflow to use curl and Messages API instead of git-changelog
  • Intelligent processing: Categories changes into Features, Fixes, Performance, Internal, Dependencies with smart significance filtering
  • Robust fallback: Falls back to basic git log if API fails

Benefits over git-changelog

  • User-focused descriptions explaining impact rather than just listing changes
  • Intelligent categorization and significance filtering
  • Consistent professional formatting across all releases
  • Context-aware understanding of Eucalypt-specific patterns

Setup Required

Add ANTHROPIC_API_KEY to repository secrets for production use.

Test Plan

  • Validate prompt template effectiveness with recent commit data
  • Test workflow syntax and error handling
  • Verify fallback mechanism works correctly
  • Add ANTHROPIC_API_KEY secret to repository
  • Test complete workflow on next release

🤖 Generated with Claude Code

Replace git-changelog with intelligent Claude API-powered release notes:

## Features Added
- **Release notes prompt template**: Comprehensive instructions for categorizing and formatting release notes with focus on user impact over technical details
- **Direct Anthropic API integration**: Uses curl and Messages API for reliable automation in GitHub Actions
- **Intelligent processing**: Categories (Features, Fixes, Performance, Internal, Dependencies) with smart significance filtering
- **Robust fallback**: Falls back to basic git log if API fails

## Technical Implementation
- Created .github/release-notes-prompt.md with detailed categorization guidelines
- Updated build-rust.yaml to use Anthropic API directly instead of CLI
- Added ANTHROPIC_API_KEY environment variable requirement
- Includes comprehensive error handling and fallback mechanism

## Benefits over git-changelog
- User-focused descriptions explaining impact rather than just listing changes
- Intelligent categorization and significance filtering
- Consistent professional formatting across all releases
- Context-aware understanding of Eucalypt-specific patterns

## Setup Required
Add ANTHROPIC_API_KEY to repository secrets for production use.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@gmorpheme gmorpheme merged commit 3a9ba32 into master Jul 6, 2025
16 checks passed
@gmorpheme gmorpheme deleted the feature/claude-release-notes branch July 6, 2025 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants