From 4db00b8f2ae808784910b89a5afa5a2d2a5c935c Mon Sep 17 00:00:00 2001 From: Abhi <43648792+abhipatel12@users.noreply.github.com> Date: Wed, 14 Jan 2026 15:23:04 -0500 Subject: [PATCH] docs(skills): use body-file in pr-creator skill for better reliability (#16642) --- .gemini/skills/pr-creator/SKILL.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gemini/skills/pr-creator/SKILL.md b/.gemini/skills/pr-creator/SKILL.md index db845b2dbc..d1fea8edf1 100644 --- a/.gemini/skills/pr-creator/SKILL.md +++ b/.gemini/skills/pr-creator/SKILL.md @@ -35,9 +35,15 @@ Follow these steps to create a Pull Request: - **Related Issues**: Link any issues fixed or related to this PR (e.g., "Fixes #123"). -4. **Create PR**: Use the `gh` CLI to create the PR. +4. **Create PR**: Use the `gh` CLI to create the PR. To avoid shell escaping + issues with multi-line Markdown, write the description to a temporary file + first. ```bash - gh pr create --title "type(scope): succinct description" --body "..." + # 1. Write the drafted description to a temporary file + # 2. Create the PR using the --body-file flag + gh pr create --title "type(scope): succinct description" --body-file + # 3. Remove the temporary file + rm ``` - **Title**: Ensure the title follows the [Conventional Commits](https://www.conventionalcommits.org/) format if the