pr

Solid

Analyzes branch changes and opens a draft pull request. Detects the base branch from where this one was cut, refines the body through a prose review before it goes up, and captures a screenshot and attaches it to the PR when the change touches the UI.

AI & Automation 12 stars 1 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
37
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# /pr - Pull Request Creator The manual counterpart of build's Ship stage. Both write the body from the same rules. ## Input `$ARGUMENTS` is an Issue reference or context. If empty, generate from the current branch only. ## Phase 1: Preparation If there are no commits, the directory is not a git repository, or gh auth fails, report the error and abort. 1. Detect the base branch (§ Base Branch Detection) 2. Run the § Analysis Sources commands in parallel 3. Decide whether the change touches the UI (§ UI Change Detection). Phase 2 and Phase 3 both read this decision ## Phase 2: Generation 1. Choose the skeleton and write the body per ${CLAUDE_SKILL_DIR}/references/pr-writing.md. Fill Design Decisions per § Design Decisions Detection 2. When the change touches the UI and the repository's skeleton was taken, supply the two items § Pageshot Integration requires. The bundled skeleton carries both already, so nothing is needed there 3. Give it a title per § Title in ${CLAUDE_SKILL_DIR}/references/pr-writing.md 4. Refine the body inline against ${CLAUDE_SKILL_DIR}/references/prose-review.md ## Phase 3: Creation 1. If UI changes, invoke `use-workflow-pageshot` via Skill with the PR body (§ Pageshot Integration) 2. Push the current branch with `git push -u origin HEAD` 3. Write the body to a temp file and create the PR with `gh pr create --draft --title "<title>" --body-file <path>` (§ Creation Constraints). If a pageshot artifact exists, add the `--attach` from § Pageshot In...

Details

Author
thkt
Repository
thkt/dotclaude
Created
1 years ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category