diff --git a/.claude/skills/create-pr/SKILL.md b/.claude/skills/create-pr/SKILL.md new file mode 100644 index 0000000..a4258b1 --- /dev/null +++ b/.claude/skills/create-pr/SKILL.md @@ -0,0 +1,26 @@ +--- +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.