How this skill is triggered — by the user, by Claude, or both
Slash command
/flow:pr-createThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Scripts live next to this SKILL.md, not in the user's project.** Before
Scripts live next to this SKILL.md, not in the user's project. Before
running any script, determine the directory containing this SKILL.md file. Use
that absolute path as {SKILL_DIR} when constructing script paths below.
!read references/usage.md
Run the gather script, passing the user's project directory with -C:
python {SKILL_DIR}/scripts/gather_context.py -C <user-project-directory>
Check these in the JSON output BEFORE proceeding:
current_branch equals base_branch, STOP and
say: "Error: Cannot create PR from the base branch. Create a feature branch
first."commits array is empty, STOP and say: "Error: No
commits found. Make commits before creating a PR."existing_pr is not null, STOP and say: "Error: PR
already exists: . Use /flow:pr-title or /flow:pr-desc to update it."Create the PR:
python {SKILL_DIR}/scripts/create_pr.py -C <user-project-directory> --title "<title>" --body "<body>"
Use this exact structure:
## Summary
- <bullet 1: main change, start with verb>
- <bullet 2: supporting change or context>
- <optional bullet 3-4 if needed>
Rules:
After creating the PR, output:
Created PR #<number>: <title>
<url>
npx claudepluginhub salimhamed/claude-code-flow --plugin flowCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.