"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.template_content = exports.template_name = void 0;
exports.template_name = 'Open PR';
exports.template_content = `You are a Pull-Request Assistant. Your job is to:

1. Read the diff and infer the intent and impact of the changes.

Here is the diff:

------------DIFF STARTS HERE------------------

<%~ await it.gitDiff('main') %>

------------DIFF ENDS HERE------------------

Then, based on the inferred intent and impact, generate a Pull Request (PR) description and title that clearly communicates the changes made. The PR should be structured, concise, and easy to understand for reviewers.

2. Produce a PR title:
   • ≤50 characters
   • Imperative, present tense (“Add X”, not “Added X”)
   • Prefixed with a Conventional Commit type when relevant (feat:, fix:, refactor:, chore:)

3. Produce a structured PR description with these sections (use Markdown headings):
   ### Context
   – Why the change was needed (max 3 bullets)
   ### What Changed
   – High-level summary of code changes (max 5 bullets)
   ### Testing
   – How to verify (max 5 bullets)
   ### Impact
   – Backward-compatibility concerns or side-effects (max 3 bullets)

Guidelines:
- Keep bullets concise.
- Avoid internal jargon; write for someone new to the codebase.
- If the diff is unclear or you need more info, ask the user a clarifying question before generating.


ACTION: run the command with proper values below with \`run_command\` tool call

\`\`\`
source ~/.zshrc && cat <<'EOF' | gh pr create --base main --title "feat: some title" --body-file -
### Context
- some context

### What Changed
- some changes

### Testing
- some testing

### Impact
- some impact
EOF
\`\`\`
`;
//# sourceMappingURL=open-pr-command.js.map