flow-next-make-pr · gmickel, codex — скилл для Claude Code: PR из спеки
Скилл flow-next-make-pr открывает пул-реквест через gh; тело брифинга рендерит flowctl из состояния спеки. Для репозиториев flow-next, где PR принято собирать по спеке.
MIT ★ 730 обновлён 2026-10-29
/plugin marketplace add gmickel/flow-next
/plugin install flow-next@flow-nextЧто делает flow-next-make-pr
Скилл открывает пул-реквест через gh. Тело брифинга собирает flowctl: проверяет объект-подсказку, сохраняет его и рендерит из состояния спеки. Отдельного подтверждения не будет — сам вызов уже разрешает push и создание PR.
Сначала скилл ищет flowctl: в ${CODEX_HOME:-$HOME/.codex}/scripts/flowctl, потом в scripts/ плагина, потом в .flow/bin/flowctl, и берёт первый исполняемый. Глобальную установку он не предполагает, поэтому репозиторий без одного из этих путей ничего не запустит. Позиционный токен задаёт SPEC_ID; дальше флаги --draft и --ready, --base <ref>, --memory, --update, --dry-run. Последний показывает прогон без записи в репозиторий, push и правок PR.
Если чего-то не хватает, скилл спрашивает обычным текстом: нумерованный список и последний пункт со своим вариантом ответа. PR открывается готовым к ревью, черновик — только с --draft или когда пункты ещё не закрыты. Мержа здесь нет.
Какие задачи решает
- открыть PR с телом, собранным из состояния спеки
- проверить план PR без push и записи в репозиторий
- обновить уже открытый PR после правок в спеке
- создать черновик PR, пока часть пунктов не закрыта
- сохранить память прогона вместе с PR
Примеры запросов агенту
- Открой PR по спеке
SPEC-12 - Сделай черновик PR по
SPEC-7с базойmain - Обнови открытый PR по спеке и запиши память прогона
Как установить flow-next-make-pr
1Через маркетплейс плагинов
/plugin marketplace add gmickel/flow-next/plugin install flow-next@flow-nextКоманда ставит плагин flow-next целиком, со всеми его скиллами
2Через Skills CLI (Vercel)
npx skills add gmickel/flow-next --skill flow-next-make-pr -a claude-code3Вручную: положить файлы
~/.claude/skills/flow-next-make-pr/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/flow-next-make-pr/
1Через Skills CLI (Vercel)
npx skills add gmickel/flow-next --skill flow-next-make-pr -a codex2Вручную: положить файлы
.agents/skills/flow-next-make-pr/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add gmickel/flow-next --skill flow-next-make-pr -a cursor2Вручную: положить файлы
.cursor/skills/flow-next-make-pr/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install gmickel/flow-next plugins/flow-next/codex/skills/flow-next-make-pr2Вручную: положить файлы
.github/skills/flow-next-make-pr/SKILL.md1Через Skills CLI (Vercel)
npx skills add gmickel/flow-next --skill flow-next-make-pr -a gemini-cli2Командой платформы
gemini skills install https://github.com/gmickel/flow-next --path plugins/flow-next/codex/skills/flow-next-make-prВручную: положить файлы
.devin/skills/flow-next-make-pr/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о flow-next-make-pr
Как установить flow-next-make-pr в Claude Code?
Через маркетплейс плагина: сначала /plugin marketplace add gmickel/flow-next, потом /plugin install flow-next@flow-next. Скилл приезжает в составе плагина flow-next.
Что делает flow-next-make-pr?
Открывает пул-реквест через gh, а тело брифинга рендерит flowctl из состояния спеки. Вызов скилла сразу разрешает push и создание PR.
Что даёт --dry-run?
Показывает прогон целиком и пропускает запись в репозиторий, push и правки PR.
Исходный текст
SKILL.md · MIT
---
name: flow-next-make-pr
description: Open a PR with a cognitive-aid body rendered from flow-next spec state via gh. Use whenever asked to make or open a PR in a flow-next repo.
user-invocable: false
allowed-tools: Read, Bash, Grep, Glob, Write, Edit, Task
---
# /flow-next:make-pr
The host authors one grounded aid object; flowctl validates, stores and renders the briefing. Read
[workflow.md](workflow.md), then its reached references. No extra model call or hand-assembled sections.
Invocation authorizes push and PR creation; `--dry-run` previews without repository writes, push, PR edits
or memory writes.
Read [working-rules.md](../../references/working-rules.md) first unless you already have this run; it holds for every step of this skill.
Define `FLOWCTL` from `${CODEX_HOME:-$HOME/.codex}/scripts/flowctl`, then
`<plugin-root>/scripts/flowctl` (two levels above this SKILL.md), then `.flow/bin/flowctl`, choosing the first
executable. Never assume a global install. Parse `$ARGUMENTS`: the positional token is `SPEC_ID`; reject
unknown flags and missing base values. Carry these values between prompt turns:
| Argument | Variable / effect |
| --- | --- |
| `--draft`, `--ready` | `DRAFT_FORCE=draft|ready`; default `auto`; last wins, note conflicts |
| `--base <ref>` or `--base=<ref>` | `BASE_REF`; default empty |
| `--memory` | `WRITE_MEMORY=1`; default 0 |
| `--dry-run` | `DRY_RUN=1`; default 0 |
| `--update` | `UPDATE_MODE=1`; default 0; refresh an existing open PR |
| `mode:autonomous` or `FLOW_AUTONOMOUS=1` | `AUTONOMOUS=1`; default 0 |
**Ask the user via plain text.** Render the options below as a numbered list `1.` … `N.`, followed by a final option `N+1. Other — type your own answer`. Print the question, then the numbered list, then **stop and wait for the user's next message before continuing**. Parse the reply as: a bare number `1`–`N+1` → that option; the literal text of an option label → that option; free text after `Other` → custom answer.
Keep this skill inline so `plain-text numbered prompt` remains available. Ask only for missing information, with a
recommended option; use a numbered prompt if the tool is unavailable. `NEED_INPUT:` means ask
outside Bash and rerun with the answer. Autonomous gaps hard-error instead. PRs open ready unless `--draft` or open items (rules in
create-and-finalize); a branch without a spec takes workflow.md's no-spec path. Never merge here. Evidence, paths and requirement attribution must be grounded in the export
and receipts, with unknowns explicit rather than invented.
© Gordon Mickel · MIT · gmickel/flow-next
Похожие скиллы
Все скиллы по теме «Git и GitHub» →Сначала — flow-next-make-pr от других авторов.