submit-pr
БесплатноЗапускает вложенные скриптыНе проверенSubmits the orchestrated PR object to GitHub, or validates it without creating anything in dry-run mode. Use as the final step, once orchestrate-pr-creation…
от lightspeedwp★ 20 звёзд на GitHubОб этом скилле
submit-pr
Submits a PR to GitHub using the orchestrated PR object.
When to use this skill
As the final step, once orchestrate-pr-creation and validate-and-apply-labels have produced a complete PR object (title, body, head, base, labels).
Input
{
pr: object, // { title, body, head, base, labels }
githubContext: object, // { owner, repo, token }
dryRun: boolean, // optional, default false — validate only, don't create
}
Behaviour
- Validates the PR object (title, body length, branch fields, label format) before submitting.
- In dry-run mode, returns a preview without creating anything on GitHub.
- Otherwise creates the PR and returns its URL, number, and ID.
Output
PR validation failures return:
{
valid: false,
error: "PR validation failed",
validationErrors: string[],
warnings: string[],
submitted: false,
prUrl: null,
}
A successful dry run returns a preview without submission identifiers:
{
valid: true,
dryRun: true,
submitted: false,
prUrl: null,
prPreview: {
title: string,
body: string,
head: string,
base: string,
labels: string[],
},
warnings: string[],
message: string,
}
A successful submission returns the GitHub identifiers and applied labels:
{
valid: true,
submitted: true,
prUrl: string,
prNumber: number,
prId: string,
message: string,
labels: string[],
warnings: string[],
}
Invalid input, GitHub submission failures, and caught errors return an error variant. Missing-field input errors add
missingFields; GitHub submission errors add details:
{
valid: false,
error: string,
submitted: false,
prUrl: null,
missingFields?: string[],
details?: { missingFields: string[] },
}
Usage
import { submitPr } from './scripts/submit-pr.js';
const result = await submitPr({ pr, githubContext, dryRun: true });
Установить submit-pr в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл submit-pr?
Submits the orchestrated PR object to GitHub, or validates it without creating anything in dry-run mode. Use as the final step, once orchestrate-pr-creation and validate-and-apply-labels have produced a complete, valid PR object.
Как установить скилл submit-pr?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл submit-pr запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic