diff options
| author | Franck Cuny <59291+fcuny@users.noreply.github.com> | 2025-02-24 19:24:13 -0800 |
|---|---|---|
| committer | Franck Cuny <59291+fcuny@users.noreply.github.com> | 2025-02-24 19:24:47 -0800 |
| commit | c4fecf6bfdaa846c5657b82325501047189aed5d (patch) | |
| tree | 76ad80e14276d4a184b3c7a0b921641e1d78b7a4 /configs/prompts/pr-prompt.txt | |
| parent | add ~/.local/bin to the path (diff) | |
| download | infra-c4fecf6bfdaa846c5657b82325501047189aed5d.tar.gz | |
🤖 Add LLM tooling and prompts for Git workflow automation
- Add new section in README about LLM tooling installation
- Create prompts directory with templates for commit and PR messages
- Add new llm.nix module with:
- Configuration for prompt file locations
- Fish shell aliases for generating commit and PR messages using Claude 3.5
- Add `llm` recipe in justfile to install llm CLI tool and Anthropic provider
- Integrate LLM module into home-manager configuration
The changes introduce automation for generating high-quality commit messages and PR descriptions using AI, while keeping the prompts configurable and version controlled.
Diffstat (limited to '')
| -rw-r--r-- | configs/prompts/pr-prompt.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configs/prompts/pr-prompt.txt b/configs/prompts/pr-prompt.txt new file mode 100644 index 0000000..625c893 --- /dev/null +++ b/configs/prompts/pr-prompt.txt @@ -0,0 +1,12 @@ +Write a clear, informative pull request message in markdown: + +* Remember to mention the files that were changed, and what was changed +* Start with a summary +* Explain the 'why' behind changes +* Include a bulleted list to outline all of the changes +* If there are changes that resolve specified issues add the issues to a list of closed issues +* If there are no changes, or the input is blank - then return a blank string + +Think carefully before you write your pull request body. + +What you write will be passed to create a github pull request |
