Skip to content

feat(templater): improve template selection with project-aware context#25

Merged
andev0x merged 1 commit intomainfrom
optimization/func
Jan 18, 2026
Merged

feat(templater): improve template selection with project-aware context#25
andev0x merged 1 commit intomainfrom
optimization/func

Conversation

@andev0x
Copy link
Owner

@andev0x andev0x commented Jan 18, 2026

Enhance commit message templating by making it more context-aware and robust.

  • Infer project scope from file paths for more relevant suggestions
  • Add special handling for common files (e.g. README.md, LICENSE)
  • Improve template scoring by penalizing missing data and rewarding scope matches
  • Clean final output by removing empty parentheses and extra whitespace
  • Ignore via

Enhance commit message templating by making it more context-aware and robust.

- Infer project scope from file paths for more relevant suggestions
- Add special handling for common files (e.g. README.md, LICENSE)
- Improve template scoring by penalizing missing data and rewarding scope matches
- Clean final output by removing empty parentheses and extra whitespace
- Ignore  via
@andev0x andev0x merged commit 5cde752 into main Jan 18, 2026
1 check passed
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.

1 participant