accept-pr
Land one PR end-to-end (changelog + thanks, lint, merge, back to main).
Best use case
accept-pr is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Land one PR end-to-end (changelog + thanks, lint, merge, back to main).
Teams using accept-pr should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/accept-pr/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How accept-pr Compares
| Feature / Agent | accept-pr | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Land one PR end-to-end (changelog + thanks, lint, merge, back to main).
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Accept PR Input: PR number or URL (required). Default merge mode: rebase. 0) Guardrails - Must end on `main` (or repo default branch if no `main`). - `git status -sb` clean before/after. No uncommitted changes. - If PR is draft, has conflicts, or base branch != `main`: stop + ask. - If PR is from a fork and you can’t push: stop + ask. 1) Capture context - `START_BRANCH="$(git branch --show-current)"` - `gh pr view <PR> --json number,title,author,baseRefName,headRefName,isDraft,mergeable,maintainerCanModify` - Skim: `gh pr view <PR> --comments` and `gh pr diff <PR>` 2) Checkout + suggested fixes - `gh pr checkout <PR>` - Apply fixes (and tests if needed). Keep edits minimal; follow repo conventions. - Ensure change/feature/regression is well-tested. If no tests exist, do the manual checks the repo expects and note it. - Commit with explicit paths (no `git add .`), then push: `git push origin HEAD` 3) Changelog (and thank contributor) - Edit `CHANGELOG.md` (or project changelog file). - Add entry under the top “Unreleased”/latest section (match existing style). - Include PR + thanks, e.g.: `- <short change> (#<num>) — thanks @<author>` - Commit + push changelog if it changed. 4) Lint - Run repo linter/gate (prefer existing scripts; fix until green). - If there’s no obvious lint target, search: `rg -n "lint|biome|eslint|swiftlint|ruff" package.json Makefile scripts -S` 5) Merge (then delete PR branch) - Prefer rebase merge: `gh pr merge <PR> --rebase --delete-branch` - If rebase is disallowed, fallback to repo preference (`--merge` or `--squash`). 6) Sync `main` + exit clean - `git checkout main || git checkout "$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@')"` - `git pull --ff-only` - Verify merged: `gh pr view <PR> --json mergedAt,mergeCommit` - `git status -sb` (clean) + ensure you’re on `main`.
Related Skills
acceptance-testing
Plan and (when feasible) implement or execute user acceptance tests (UAT) / end-to-end acceptance scenarios. Converts requirements or user stories into acceptance criteria, test cases, test data, and a sign-off checklist; suggests automation (Playwright/Cypress for web, golden/snapshot tests for CLIs/APIs). Use when validating user-visible behavior for a release, or mapping requirements to acceptance coverage.
acceptance-tester
Execute systematic acceptance testing to verify implementations against acceptance criteria. Use this skill when tasks mention "驗收測試", "acceptance testing", "驗收", "validate implementation", or when Gherkin scenarios need to be executed.
acceptance-test-writing
Guide for writing high-quality acceptance criteria and acceptance tests using industry-standard BDD (Behavior-Driven Development) and ATDD (Acceptance Test-Driven Development) practices. Use this skill when creating acceptance criteria for user stories, writing Gherkin scenarios, or implementing acceptance test specifications following Given-When-Then format.
acceptance-criteria
检查Acceptance Criteria格式和完整性,验证是否符合Given-When-Then结构、覆盖正常流程/边界条件/异常场景。适合在为User Story编写AC后、准备测试用例前使用,当需要验收AC质量时。帮助不熟悉BDD的PM/BA确保AC明确、可测试、覆盖完整,避免遗漏关键场景。
acceptance-criteria-verification
Use after implementing features - verifies each acceptance criterion with structured testing and posts verification reports to the GitHub issue
acceptance-criteria-creator
Create acceptance criteria creator operations. Auto-activating skill for Enterprise Workflows. Triggers on: acceptance criteria creator, acceptance criteria creator Part of the Enterprise Workflows skill category. Use when working with acceptance criteria creator functionality. Trigger with phrases like "acceptance criteria creator", "acceptance creator", "acceptance".
acceptance-criteria-authoring
Write clear, testable acceptance criteria in Given-When-Then format following INVEST principles and BDD best practices.
accept-no-substitutes
This skill should be used when agents generate placeholder tokens like "pseudo-", "mock-", "temporary", "TODO", "demo-", or similar incompleteness markers. Detects substitution patterns in agent OUTPUT and triggers mandatory user interview instead of accepting incomplete work. Activates automatically on any output containing forbidden tokens.
chrome-debug
This skill empowers AI agents to debug web applications and inspect browser behavior using the Chrome DevTools Protocol (CDP), offering both collaborative (headful) and automated (headless) modes.
lets-go-rss
A lightweight, full-platform RSS subscription manager that aggregates content from YouTube, Vimeo, Behance, Twitter/X, and Chinese platforms like Bilibili, Weibo, and Douyin, featuring deduplication and AI smart classification.
whisper-transcribe
Transcribes audio and video files to text using OpenAI's Whisper CLI, enhanced with contextual grounding from local markdown files for improved accuracy.
ux
This AI agent skill provides comprehensive guidance for creating professional and insightful User Experience (UX) designs, covering user research, information architecture, interaction design, visual guidance, and usability evaluation. It aims to produce actionable, user-centered solutions that avoid generic AI aesthetics.