Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
shopify avatar

Raise Pr

  • 14 installs
  • 7.2k repo stars
  • Updated August 4, 2026
  • shopify/flash-list

raise-pr opens human-style FlashList PRs after tests pass.

About

The raise-pr skill creates FlashList pull requests after review-and-test passes. Rules forbid pushing to main, ban Claude or AI mentions and Co-Authored-By AI lines in commits or PR bodies, and require explicit user request except on CI fix workflow. Step zero kills port 8081 processes on CI. Branch names use fix/issue-number-slug, feat/slug, or refactor/slug. Commits follow fix(scope): description with Fixes #number footer without AI attribution. Self-review greps console.log, localhost debug fetches, and forceRTL(true) leftovers. PR creation uses gh with --body-file from Write tool, title under 70 chars matching commit format, and test plan sections.

  • Requires review-and-test skill completion first.
  • Bans AI attribution in commits and PR bodies.
  • Uses fix/issue-N-slug branch naming pattern.
  • Self-reviews debug leftovers before push.
  • Creates PR via gh --body-file template.

Raise Pr by the numbers

  • 14 all-time installs (skills.sh)
  • Ranked #404 of 733 Git & Pull Requests skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

raise-pr capabilities & compatibility

Capabilities
rules never push main no ai mention · branch naming and commit format · self review grep checks
Works with
github
Use cases
code review · testing
npx skills add https://github.com/shopify/flash-list --skill raise-pr

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs14
repo stars7.2k
Last updatedAugust 4, 2026
Repositoryshopify/flash-list

How do I raise a flash-list PR correctly?

Open FlashList GitHub PRs without AI attribution following repo conventions.

Who is it for?

Contributors submitting FlashList fixes after local verification.

Skip if: Skip before review-and-test completes successfully.

When should I use this skill?

User asks to raise PR for flash-list branch or CI fix completion.

What you get

GitHub PR on feature branch without AI attribution with test plan.

Files

SKILL.mdMarkdownGitHub ↗

Raise a FlashList PR

Prerequisite: Run the review-and-test skill first. All checks must pass and device testing must be done before raising a PR. DO NOT SKIP.

Rules

1. NEVER push directly to `main` — always create a branch and open a PR. 2. NEVER mention Claude, AI, or any AI tool in commit messages, PR title, PR body, or comments. No Co-Authored-By AI lines. The PR must read as if written entirely by a human. 3. Only raise a PR when explicitly asked by the user (exception: on CI, raise directly as part of the fix workflow).

---

Step 0 — Kill Background Processes (MANDATORY on CI)

Before creating the branch and PR, kill any background processes you started (Metro, emulators, etc.). On CI, leftover processes prevent the GitHub Actions job from exiting.

lsof -ti:8081 | xargs kill -9 2>/dev/null || true

---

Step 1 — Create Branch and Commit

Branch naming

fix/issue-<number>-<short-slug>
feat/<short-slug>
refactor/<short-slug>

Commit message format

fix(<scope>): <concise description>

Fixes #<number>

Scope examples: layout, hooks, scroll, sticky-headers, recycling, viewability.

Do NOT include:

  • Co-Authored-By lines
  • Any mention of Claude, AI, Anthropic, or automated tools
  • Generated by or Assisted by attributions

Commands

git checkout -b fix/issue-<number>-<short-slug>
git add <specific files>
git commit -m "$(cat <<'EOF'
fix(<scope>): <description>

Fixes #<number>
EOF
)"
git push -u origin fix/issue-<number>-<short-slug>

---

Step 2 — Self-Review

Run git diff HEAD~1 and check for:

  • Leftover debug codeconsole.log, fetch("http://localhost:..."), temporary comments
  • Unrelated changes — files or hunks that aren't part of the fix
  • `Co-Authored-By` lines — check with git log -1 --format=full
  • Fixture `index.js` left with `forceRTL(true)` — always revert before committing

Quick check:

grep -r "console\.\(log\|warn\)\|localhost:9876\|forceRTL(true)" src/ fixture/react-native/index.js --include="*.ts" --include="*.tsx" --include="*.js"

Fix any issues found, then amend the commit before proceeding.

---

Step 3 — Create the PR

PR title

  • Under 70 characters
  • Same format as commit: fix(<scope>): <description>

PR body template

Always use `--body-file` — inline --body with markdown # headers triggers Claude Code permission checks and wastes turns. Use the Write tool to create the file (not cat, echo, or touch, which may be blocked by sandbox on CI).

Write the following to /tmp/pr-body.md using the Write tool:

## Description

<1-3 sentences: what the bug was and how the fix works>

Fixes #<number>

## Reviewers' hat-rack :tophat:

<What reviewers should focus on — layout logic, hook behavior, edge cases, etc.>

## Screenshots or videos

<Before/after screenshots if applicable>

## Test plan

- [ ] Unit tests pass (`yarn test`)
- [ ] Type check passes (`yarn type-check`)
- [ ] Lint passes (`yarn lint`)
- [ ] Verified on iOS simulator
- [ ] No regressions on related screens
      EOF

GH_TOKEN="$AGENT_PR_TOKEN" gh pr create \
 --title "fix(<scope>): <description>" \
 --body-file /tmp/pr-body.md
CRITICAL — TOKEN VERIFICATION (read this before running `gh pr create`)

>

1. First, verify the token is available: [ -n "$AGENT_PR_TOKEN" ] && echo "token ok" || echo "TOKEN MISSING" — do NOT echo the token value itself.
2. You MUST use GH_TOKEN="$AGENT_PR_TOKEN" gh pr create ... — never bare gh pr create.
3. PRs created with the default GITHUB_TOKEN show as app/github-actions and cannot be merged.
4. After creating the PR, verify the author: gh pr view --json author --jq '.author.login' — it must NOT be app/github-actions.

>

If AGENT_PR_TOKEN is empty, try SHOPIFY_GH_ACCESS_TOKEN as fallback: GH_TOKEN="${AGENT_PR_TOKEN:-$SHOPIFY_GH_ACCESS_TOKEN}" gh pr create ...

Before running gh pr create, double-check:

  • [ ] Token is verified (see above)
  • [ ] No mention of Claude, AI, Anthropic, or any AI tool anywhere
  • [ ] Description explains the "what" and "why" clearly
  • [ ] Test plan is specific to the change

---

Step 4 — Post-Creation

Return the PR URL to the user.

If the user asks to update the PR (interactive only — not available on CI):

git add <files>
git commit --amend --no-edit
git push --force-with-lease

On CI, create a new commit instead of amending — force-push is not permitted.

Related skills

FAQ

What does raise-pr do?

raise-pr opens human-style FlashList PRs after tests pass.

When should I use raise-pr?

User asks to raise PR for flash-list branch or CI fix completion.

Is this skill safe to install?

Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.