diff --git a/src/pr_handler.rs b/src/pr_handler.rs index f9e5442..9c70d9a 100644 --- a/src/pr_handler.rs +++ b/src/pr_handler.rs @@ -6,12 +6,33 @@ impl PrHandler { let directions = String::from(" change_type: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert + create a short PR title from this diff, with format (): . + - create an additional PR Description in markdown format to describe the changes made in this diff. + create a PR Description to describe the changes made in this diff using the commit messages for the body content. + + follow this format: + ## What? + [what_description] + #[ticket_number] + ## Why? + [why_description] + ## How? + [how_description] + ## Testing? + [testing_description] + ## Screenshots (optional) + [screenshots] + ## Anything Else? + [leftover_details] + + include signature at the end stating 'this is an ai generated pull request description'. + Only respond with the Pr title and Pr description. + Use Emojis in description body only. "); Some((directions, GitGrabber::generate_repo_desc())) }