aboutsummaryrefslogtreecommitdiff
path: root/configs/llm/templates/pr-prompt.yaml
diff options
context:
space:
mode:
authorFranck Cuny <59291+fcuny@users.noreply.github.com>2025-02-28 19:19:53 -0800
committerFranck Cuny <59291+fcuny@users.noreply.github.com>2025-02-28 19:19:53 -0800
commitb9b5aaea288ad81de679cae9eacacbac73e87cff (patch)
tree5e32d667d05182f98eff54665b1f48f5d6c025c2 /configs/llm/templates/pr-prompt.yaml
parent🤖 Add LLM tooling and prompts for Git workflow automation (diff)
downloadinfra-b9b5aaea288ad81de679cae9eacacbac73e87cff.tar.gz
🚀 Refactor LLM config: Move to standardized templates and improve setup
- Migrated prompts from text files to YAML templates in `.config/llm/templates/` directory - Updated fish shell aliases to use the new template system with `-t` flag instead of reading files - Enhanced justfile's `llm` target with proper Claude model setup and 1Password integration - Added `LLM_USER_PATH` environment variable for consistent configuration path - Fixed PR prompt format to better organize content and remove issue resolution section - Updated Nix configuration to support the new file structure The changes standardize our LLM prompt system and make it more maintainable, while improving the setup experience for new users. 🧰
Diffstat (limited to 'configs/llm/templates/pr-prompt.yaml')
-rw-r--r--configs/llm/templates/pr-prompt.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/configs/llm/templates/pr-prompt.yaml b/configs/llm/templates/pr-prompt.yaml
new file mode 100644
index 0000000..4c13c0d
--- /dev/null
+++ b/configs/llm/templates/pr-prompt.yaml
@@ -0,0 +1,14 @@
+prompt: >
+ Write a clear, informative pull request message in markdown:
+
+ * Start with a summary
+ * Remember to mention the files that were changed, and what was changed
+ * Explain the 'why' behind changes
+ * Include a bulleted list to outline all of the changes
+ * 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
+
+ Text to use for the pull request message: $input