Always edit/create GitHub PR bodies from a markdown file; never inline escaped newlines.
Use this skill when creating or editing pull requests.
\n.--body-file.f pr open edit when available for local file-driven PR editing.Inline escaped newlines are fragile and can produce literal \n text in GitHub PR descriptions.
--body-file is deterministic and reviewable.
cat > /tmp/pr-body.md <<'EOF'
## Summary
- ...
## Scope
- ...
EOF
gh pr create --title "..." --body-file /tmp/pr-body.md
cat > /tmp/pr-body.md <<'EOF'
## Summary
- ...
EOF
gh pr edit <number> --body-file /tmp/pr-body.md
f pr open edit
This opens a local markdown file and syncs title/body on save.
gh pr view <number> --json body -q .body
\n.