Command Palette

Search for a command to run...

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

create-pr

БесплатноЗапускает вложенные скриптыНе проверен

"Create pull request with automatic Linear integration. **ALWAYS use when** the user says 'create a PR', 'open a pull request', 'ship this', 'ready for…

coalesce-labsот coalesce-labs★ 20 звёзд на GitHub

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

Create Pull Request

Orchestrates the complete PR creation flow: commit → rebase → push → create → describe → link Linear ticket.

Paths. Commands below name files inside this skill's own directory as ${CLAUDE_SKILL_DIR}/…. Claude Code fills that in. On any other harness, set CLAUDE_SKILL_DIR to the absolute directory that contains this SKILL.md before running them. If you cannot, stop and report skill_dir_unresolved.

Prerequisites

# Thoughts must exist for this skill's documents. CTL-2306: the full host setup check (daemon,
# registry, house rules) belongs to the setup-catalyst skill, not to a skill that must run anywhere.
-e thoughts/shared || echo "⚠️ thoughts/shared is missing in $(pwd) — run \`humanlayer thoughts init\` or the setup-catalyst skill; if the prompt names an output path, write there" >&2

No Claude attribution

The PR is authored solely by the git user. Never add "Generated with Claude Code", "Co-Authored-By: Claude", or any AI-assistance reference to its title or body.

Process overview

  1. Preflight — uncommitted changes, not on main/master, detect base branch, rebase if behind, check for an existing PR, extract the ticket from the branch name. See preflight.md.
  2. Title, push, create, link Linear — title prefers the first commit subject via git log --no-merges and draft_pr_title (the <type>(<scope>): <ticket> convention, CTL-783); the no-commit fallback runs tr '-' ' ' on the branch slug. Push goes through draft_pr_push_verify (git fetch-verified, --force-with-lease retry, CTL-1051). The PR body gets the CTL-623/633 sibling-skip guard via linear-pr-skip.sh's linear_sibling_skip_block_from_branch — siblings are referenced by PR number, never a bare token; full rationale: the describe-pr skill's linear-sibling-guard reference. Then auto-call /describe-pr and update Linear (skip the transition under CATALYST_PHASE). See push-and-create.md.
  3. Monitor to a clean merge state — CI, automated reviewers, blocker resolution; this is NOT optional. See monitoring-loop.md.
  4. Report the real outcome, not just "PR created." See outcomes-and-errors.md, which also covers error handling, examples, and integration with /commit//describe-pr//merge-pr.

Configuration

Uses .catalyst/config.json (linear.teamKey, linear.stateMap.inReview). State names have sensible defaults — the linearis skill's single-source stateMap transition table is the canonical list; not restated here.

Load on demand

Situation Reference
Uncommitted changes, branch/base checks, existing-PR prompt, ticket extraction preflight.md
Title generation, guarded push, PR creation + sibling-skip guard, Linear link push-and-create.md
Event-driven CI/reviewer wait, blocker diagnosis loop, re-poll criteria monitoring-loop.md
Final-state reports, error handling, worked examples, command integration outcomes-and-errors.md

Remember

  • Never stop at "PR created" — monitor through to a clean or genuinely human-blocked state.
  • For Linearis CLI syntax, see the linearis skill reference.
Полный SKILL.md на GitHub

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

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

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

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

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

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

Bash(linearis *)
Bash(git *)
Bash(gh *)
Read
Task

Вложенные файлы

agents/vendor.lock.jsonagents/vendor.yamlassets/references/merge-blocker-diagnosis.mdassets/references/review-thread-resolution.mdreferences/monitoring-loop.mdreferences/outcomes-and-errors.mdreferences/preflight.mdreferences/push-and-create.mdscripts/lib/catalyst-secret-contract.shscripts/lib/draft-pr.shscripts/lib/linear-pr-skip.shscripts/lib/linear-team-keys.sh

FAQ

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

"Create pull request with automatic Linear integration. **ALWAYS use when** the user says 'create a PR', 'open a pull request', 'ship this', 'ready for review', or wants to push changes and create a GitHub PR. Handles commit, rebase, push, PR creation, description generation, and Linear ticket update."

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

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

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

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

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