github-pr-formatting/SKILL.md
Open clean draft PRs and post correctly formatted comments/bodies without escaped newline artifacts.
npx skillsauth add supercorks/agent-skills github-pr-formattingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill whenever creating PRs, editing PR descriptions, or posting multi-line PR comments.
Ensure PR titles, bodies, and comments render as proper Markdown and never appear with literal escaped sequences like \n.
--body-file / --body-file -)."line1\nline2").## Summary## Validation## Scope / Notes (optional)cat > /tmp/pr-body.md <<'EOF'
## Summary
- change 1
- change 2
- change 3
## Validation
- npm run lint
- npm test -- <focused-tests>
## Scope / Notes
- out-of-scope note (if needed)
EOF
--body-filegh pr create \
--draft \
--base develop \
--head feature/my-branch \
--title "feat(scope): concise title" \
--body-file /tmp/pr-body.md
For multi-line PR comments:
cat > /tmp/pr-comment.md <<'EOF'
## Update
- addressed X
- deferred Y (reason)
EOF
gh pr comment <pr-number-or-url> --body-file /tmp/pr-comment.md
If a body/comment is truly one line, --body "..." is acceptable.
If content is more than one line, use --body-file.
\n in command body argumentgh pr create --body "## Summary\n- item"gh pr comment --body "line1\nline2"If a PR body/comment was posted with literal \n:
gh pr edit <pr-number-or-url> --body-file /tmp/pr-body.md
--body-file.## Summary
- <what changed>
- <what changed>
## Validation
- <command>
- <command>
tools
Read local coding-agent thread/session history for Codex, Codex CLI, Copilot CLI, Copilot Chat local VS Code threads, and Claude Code. Use when asked to find, inventory, summarize, search, or inspect local agent conversations, session subjects, transcript files, or agent thread storage.
tools
Operate Google Workspace (Drive, Gmail, Calendar, Sheets, Docs, Slides, Chat, Admin, Forms, Tasks…) via the @googleworkspace/cli (`gws`) Rust CLI distributed on npm. Use for any read/write task across Workspace APIs — list/search/upload Drive files (incl. shared drives), send/read mail, manage calendar events, sheets cell ops, etc.
development
Find useful Agent Skills in curated public skill repositories for a user query. Searches official and community skill repos, ranks matching SKILL.md files, and recommends candidates with source trust notes.
tools
Use Browserbase and the browse CLI for browser automation, Fetch/Search API work, authenticated remote browsing, UI QA, debugging, tracing, and Browserbase platform or Functions workflows with multi-account support.