Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

create-pr

БесплатноБез исполняемых скриптовНе проверен

This skill should be used when user asks to "create a PR", "make a pull request", "open PR for this branch", "submit changes as PR", "push and create PR", or…

fcakyonот fcakyon★ 1 223 звезды на GitHub

Об этом скилле

Create PR

Open a pull request a reviewer can understand and check without reading the chat history. Follow the target repository's rules and template.

These rules apply to pull requests. For problem reports, use create-issue.

Workflow

  1. Inspect repository rules, scope, and base

    • Read AGENTS.md, CONTRIBUTING.md, and .github/pull_request_template.md when present.
    • Check git status, staged changes, and the current branch. Honor staged-only requests and preserve unrelated changes.
    • Before branching from main or master, fetch the target remote and fast-forward (git merge --ff-only <remote>/<base>). Stop rather than discarding dirty local work.
    • Never push commits directly to the default branch. Keep each PR focused on one coherent change.
  2. Finish and verify the branch

    • Commit staged work per commit-staged. When /code-review is installed and you are pushing to or targeting the default branch (or repo rules require it), run /code-review --fix across git diff <remote>/<base>...HEAD. Feature-branch commits do not require it.
    • Update docs only when the branch changes documented behavior or setup.
    • Read the full diff against the intended base. Exercise the changed behavior on the final head and save the output or captures while you have them. For a regression, use the same input on the base when feasible.
  3. Draft and sanitize the body

    • Write the PR body to a temporary file outside the repository and pass --body-file. Never interpolate multi-line Markdown directly in shell flags.
    • Remove leftover HTML template comments (<!-- ... -->).
    • Redact tokens, credentials, Bearer headers, file:// URIs, and personal home directories (/Users/<name>/, /home/<name>/) to ~/ or <repo>/.
  4. Publish across supported clients

    • Push the branch, then create with an explicit base, --title, --body-file, and -a @me. Check reviewer conventions (gh pr list --author @me --limit 5 --json reviewRequests) before tagging reviewers.
    • In T3 Code, use pull_request_create and link_pull_request for text-only PRs. Whenever screenshots or videos are attached, create or update with gh pr create|edit --body-file ... --attach ... and call link_pull_request with the resulting URL.
    • Read back the published body and open the evidence links. Confirm a reviewer can see the result without access to your workspace.

Title and Body Rules

  • Title starts with a capitalized verb naming concrete behavior, such as Fix pasted commands losing line breaks. Use a Conventional Commit prefix when the repo squash-merges and recent merged titles use one.
  • Open with the user action, the observed problem and the expected outcome. Explain the change that accounts for the result. When several components changed, say why the fix needs each one.
  • Give the shortest reproduction a reviewer can repeat. Name the relevant platform or version, supply the fixture or link, and show the command or clicks. For a feature, use its normal entry point. For a prose or metadata correction, a rendered before/after or a single relevant validator invocation and its output can cover both reproduction and proof.
  • Put inspectable proof beside the claim. For a visual change, use the captures below. For a CLI, API, or backend change, paste the decisive redacted output or link to the exact log step. For docs or prompts, show the rendered example, a sample response to the same input, or the relevant validator output for the claim being made.
  • Say how you verified the result. Label base and head observations and keep the input comparable. Include the workload and sample count for performance claims. Name any environment or path you could not exercise. Follow the repository's body format.

Reviewer check

Before publishing, read the body as a reviewer seeing the change for the first time. Can you reproduce the trigger, inspect the visual or log, and tell what changed from that evidence? If the proof is only a command, a code excerpt, a test count, or “verified,” run the relevant check and include what it showed. A fixture proves the behavior exercised by that fixture. A claim about the live product needs a check through its actual entry point. When a check was unavailable, say which claim remains unverified.

Visual Proof

  • UI, layout, stylesheet, or plot changes need Before/After images or short video/GIF recordings in a two-column | Before | After | table using matching viewports and scenarios.
  • Never commit screenshots or assets into the repo (including .github/pr-assets/) and never upload visuals to GitHub releases (releases/download/).
  • Verify gh --version is 2.99.0 or newer (upgrade gh first when possible). Pass local image or video paths via --attach <path> (up to 50 files per command) and reference the exact local path inline in --body-file (such as `![Before](./before.p
Полный SKILL.md на GitHub

Установить create-pr в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл create-pr?

This skill should be used when user asks to "create a PR", "make a pull request", "open PR for this branch", "submit changes as PR", "push and create PR", or explicitly invokes "create-pr".

Как установить скилл create-pr?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл create-pr запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить create-pr с