mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-07-31 16:16:26 +00:00
MCP create_pull_request tool auto-appends session URLs to PR bodies. This skill documents the two-step workaround: create then immediately update to overwrite the injected content.
27 lines
899 B
Markdown
27 lines
899 B
Markdown
---
|
|
name: create-pr
|
|
description: Create a GitHub PR cleanly — strips auto-injected session links.
|
|
---
|
|
|
|
# create-pr
|
|
|
|
GitHub API is blocked by the egress proxy. PRs must go through the MCP tools,
|
|
which auto-append a session link to the body. This skill wraps that into a
|
|
clean two-step:
|
|
|
|
## Steps
|
|
|
|
1. Call `mcp__github__create_pull_request` with the desired title, body, head,
|
|
base, and `draft: true`. Do NOT include any session links, Co-Authored-By
|
|
lines, or claude.ai URLs in the body.
|
|
|
|
2. Immediately call `mcp__github__update_pull_request` on the returned PR
|
|
number with the EXACT same body you passed in step 1 — this overwrites
|
|
the auto-appended session link.
|
|
|
|
3. Verify: call `mcp__github__pull_request_read` with `method: get` and
|
|
confirm the body contains no `claude.ai`, `session_`, or
|
|
`Generated by` strings.
|
|
|
|
Never skip step 2. The injected link appears every time.
|