@@ -5,73 +5,6 @@ All notable changes to promptext will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8- ## [ 0.7.4] - 2025-11-10
9-
10- ### Added
11-
12- - ** Release Notes Generator** (` cmd/release-notes/ ` ): Automated changelog generation powered by promptext
13- - Analyzes git history since last tag to identify all changes
14- - Extracts code context with token-aware analysis (~ 8K token budget)
15- - Categorizes commits by conventional commit type (feat, fix, docs, chore, breaking)
16- - Generates Keep a Changelog format automatically
17- - ** AI Enhancement Mode** : New ` --ai-prompt ` flag generates comprehensive prompts for Claude Code
18- - Includes full commit history and code context in prompt
19- - Provides structured instructions for polished release notes
20- - Example: ` go run cmd/release-notes/main.go --version v0.7.4 --ai-prompt `
21- - Usage: ` go run cmd/release-notes/main.go --version v0.7.4 ` for basic notes
22- - Demonstrates: Dogfooding promptext for repository automation
23-
24- - ** AI PR Assistant** (` cmd/pr-assistant/ ` ): Automated pull request analysis tool
25- - GitHub Actions integration for automatic PR review comments
26- - Uses promptext to extract context from changed files (~ 10K token budget)
27- - ** Smart Detection** :
28- - Missing CHANGELOG.md updates when library code changes
29- - Documentation updates needed for new features
30- - Example additions needed for new library functionality
31- - Potential breaking changes based on code keywords
32- - Generates formatted markdown comment with actionable suggestions
33- - Workflow file: ` .github/workflows/pr-assistant.yml `
34- - Environment variables: ` PR_NUMBER ` , ` BASE_SHA ` , ` HEAD_SHA `
35- - Demonstrates: CI/CD integration with promptext library
36-
37- - ** Local Dev Assistant** (` cmd/dev-assistant/ ` ): Pre-commit validation for developers
38- - Analyzes git staged changes before committing
39- - Interactive prompts for fixing detected issues
40- - Smart pattern detection across codebase structure
41- - ** Validation Checks** :
42- - Library changes in ` pkg/promptext/ ` require CHANGELOG.md entry
43- - Public API changes should update documentation
44- - New features should include examples
45- - Code changes should have test coverage
46- - ** Modes** :
47- - Default: Interactive mode with prompts
48- - ` --dry-run ` : Show analysis without prompting
49- - ` --auto-fix ` : Attempt automatic fixes (manual for most cases)
50- - Shell wrapper: ` ./scripts/dev-assistant.sh `
51- - Can be integrated as git pre-commit hook
52- - Demonstrates: Local development workflow enhancement
53-
54- ### Documentation
55-
56- - Added comprehensive READMEs for all three tools explaining usage and integration
57- - Each tool includes practical examples and git workflow integration patterns
58- - Documented environment variables and command-line options
59-
60- ### Changed
61-
62- - Project now dogfoods promptext library in three real-world automation scenarios
63- - Enhanced code samples with functional assistant tools instead of basic examples
64-
65- ### Development
66-
67- - All three tools use promptext library via ` promptext.Extract() ` function
68- - Token budgets optimized for different use cases (8K-10K ranges)
69- - File filtering focused on relevant extensions (.go, .md, .yml, .yaml)
70- - Git integration using standard git commands (diff, log, describe)
71- - Zero external dependencies beyond promptext library and Go stdlib
72-
73- ---
74-
758## [ 0.7.3] - 2025-11-09
769
7710### Added
0 commit comments