К основному содержанию
скилл CX Codex

task-to-pr — скилл для Claude Code: задачи в проверенные PR

Доводит спеку или решённую задачу до протестированного пул-реквеста с независимым ревью. Чинит CI и замечания, пока все проверки не пройдут.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add owainlewis/blueprint --skill task-to-pr -a claude-code
Открыть на GitHub

Что делает task-to-pr

task-to-pr берёт на вход Markdown-спеку, GitHub issue или задачу с критериями приёмки и превращает каждую в один отдельный PR. Второй формулировки задачи не создаёт — тикетом считается сама спека. Если не хватает важного решения, скилл возвращается к /spec или сообщает, чего не хватает, вместо того чтобы достраивать требования за вас.

Работа идёт по циклу. Скилл читает репозиторные инструкции, архитектуру и тесты, заводит изолированную ветку и worktree, пишет код и тесты, прогоняет /test. Дальше коммит в Conventional Commit, пуш и PR по шаблону репозитория. Ревью делает свежий субагент, который изменения не писал. Найденные проблемы исправляются, поток повторяется, пока CI и авторевью не станут чистыми. Инструкции вспомогательных скиллов скилл читает прямо из их SKILL.md, потому что вызов через команду клиент может блокировать.

По умолчанию прошедшие PR остаются открытыми для человека. Слияние разрешено только при явной передаче полномочий через /factory или /codex-issue-coordinator либо по прямой просьбе. Автовыбор скилла такого права не даёт, слияние без него — блокер, а не сбой реализации.

Какие задачи решает

  • превратить спеку в отдельный pull request с доказательствами приёмки
  • запустить цикл починки CI и замечаний ревью до зелёного состояния
  • получить независимое ревью от субагента, который не писал код
  • связать PR с исходным тикетом и обновить статус доставки
  • выстроить зависимые задачи в стек веток по порядку

Примеры запросов агенту

  • Возьми спеку specs/billing-export.md и доведи её до PR
  • Разбей эту задачу на подзадачи через /plan и веди каждую до зелёного CI
  • Исправь замечания ревью в текущем PR и дождись свежего /review

Как установить task-to-pr

1Через Skills CLI (Vercel)

npx skills add owainlewis/blueprint --skill task-to-pr -a claude-code

2Вручную: положить файлы

~/.claude/skills/task-to-pr/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/task-to-pr/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о task-to-pr

Как установить task-to-pr в Claude Code?

Выполните npx skills add owainlewis/blueprint --skill task-to-pr -a claude-code. Файл скилла окажется по пути ~/.claude/skills/task-to-pr/SKILL.md.

Что делает task-to-pr?

Ведёт задачу от спеки до готового к ревью PR: пишет код и тесты, гоняет проверки, чинит замечания и CI. Прошедшие пул-реквесты оставляет открытыми, если слияние не разрешено явно.

Когда скилл сливает PR сам?

Только при явном использовании /factory или /codex-issue-coordinator либо по прямой просьбе пользователя. Автоматический выбор скилла права на слияние не даёт.

Исходный текст

SKILL.md · MIT
---
name: task-to-pr
description: "Delivers specs or decided tasks as tested, independently reviewed pull requests. Runs the CI and review repair loop, then leaves passing pull requests open unless merging was explicitly authorized."
user-invocable: true
argument-hint: "<specs, tasks, issues, PRs, or milestone>"
disable-model-invocation: true
---

# Task to PR

Deliver each task as one focused pull request with proof. The spec is the ticket;
accept a Markdown spec, GitHub issue, or decided task with acceptance checks.
Do not create a second work definition.

Read required skills directly from their `SKILL.md` files as instructions for this workflow. Do not invoke them through a skill command that the client blocks.

## Prepare

1. Read the source, repository instructions, relevant requirements and architecture, code, and tests. Reuse an existing branch, worktree, and pull request when continuing work.
2. Confirm the outcome, scope, decisions, and checks are sufficient. If a consequential choice is missing, return to `/spec` or report the needed decision before implementing. Do not write specs for small, decided work.
3. Split larger specs with `/plan` when useful. Each task delivers one working result. Identify dependencies and start independent work together when useful.

## Deliver and repair

1. Create or reuse an isolated branch and worktree. Start independent work from the latest remote default branch. Follow repository naming and worktree rules.
2. Implement the task and meaningful tests for changed behavior and affected failures. Update requirements, architecture, and the spec when the change affects them. Keep intended architecture and implementation status accurate.
3. Use `/test` to prove acceptance and affected rules. Fix failures before committing.
4. Create a Conventional Commit, push, and open or update the pull request. Follow the repository PR template. Lead with the problem and result; include proof and the source link. Mark it ready for review and move a tracker ticket to Review when supported.
5. Use `/review` with a fresh subagent that did not implement the change. Wait for configured CI and automated review on the current commit.
6. Fix valid findings and failures caused by the change. Reply to review findings with the fix or evidence for making no change. Resolve a thread only when fully addressed.
7. After changing the implementation, repeat affected `/test` checks and fresh `/review`, commit, push, and wait for CI and automated review again. Update PR proof. Continue until all available checks pass and no actionable finding remains.
8. Report a blocker when progress requires a missing decision, permission, unavailable check, or external repair. Do not weaken tests, bypass repository rules, or claim unrun checks passed.
9. Record final proof and the PR link in the source spec or task. Update delivery status to reflect the actual result, including whether the PR is open or merged. Update the original tracker item when one exists. Leave passing PRs open for human review by default. Pending human approval is a merge blocker, not a failed implementation check.

## Dependencies

Start dependent work only after each prerequisite has an open PR, a fresh
`Approve` review, and no known blocking finding. Stack its branch on the reviewed
prerequisite. If there are several prerequisites, combine them in dependency
order. Keep each PR diff focused on its own task.

When a prerequisite changes or merges, update dependent branches and PR bases.
Repeat affected tests, independent review, and CI against the new base.

## Merge only with authority

Explicit `/factory` or `/codex-issue-coordinator` use grants their scoped merge
authority. Otherwise merge only when the user asks. Automatic skill selection
does not grant it. Before merging, require:

- Complete scope and acceptance proof on the final commit.
- Passing tests, required CI, and a fresh `/review` verdict of `Approve`.
- No unresolved actionable review finding or consequential decision.
- Every repository-required approval.
- A ready, mergeable PR current with its required base.

Merge in dependency order using the repository's preferred method. Never bypass
branch protection. Confirm GitHub reports the merge, then update delivery status in the source
spec or task and update the original issue and project state. Remove manually created worktrees after merge or close;
use the host's lifecycle tools for managed worktrees. Keep open-PR worktrees.
Merge authority does not authorize deployment or release publication.

## Return

Report each PR, tests, review verdict, CI state, and blocker. Stop with passing
PRs open unless scoped merge authority was given. In merge mode, report verified
merges and any work that still needs human action.

© owainlewis · MIT · owainlewis/blueprint

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

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
setup-matt-pocock-skills Matt Pocock Скилл настраивает репозиторий для инженерных скиллов Matt Pocock: задаёт трекер задач, метки триажа и расположение доменной документации. Запустите его перед первым использованием остальных скиллов. 1 052 851установок ask-matt Matt Pocock Помогает выбрать подходящий скилл или рабочий поток из набора Matt Pocock. Пригодится, когда непонятно, с чего начать задачу: от идеи до разбора бага. 766 587установок to-tickets Matt Pocock Разбивает план, спецификацию или переписку на небольшие сквозные задачи и отмечает, какие из них блокируют остальные. Пригодится, когда нужно согласовать порядок работы до публикации задач в трекере. 711 230установок writing-plans Jesse Vincent Скилл превращает требования к многошаговой задаче в подробный план реализации до начала работы с кодом. Пригодится, когда исполнителю нужно зафиксировать файлы, интерфейсы и проверки. CX Codex 282 859установок caveman-review JuliusBrussee Пишет замечания к коду одной строкой: место, проблема, исправление. Пригодится, когда ревью диффа или PR надо пройти быстро и без воды. CX Codex +1 411 800установок caveman-compress JuliusBrussee Сжимает CLAUDE.md, списки задач и другие текстовые файлы в краткий формат, сохраняя читаемую резервную копию. CX Codex +1 411 500установок

Из того же набора5

Спонсоры проекта

Компании, которые помогают держать аналитику открытой