Use when ready to submit work for review, when changes need to become a PR, or when asked to create a pull request
From prnpx claudepluginhub donovan-yohan/belayer --plugin pr/authorAuthors user-facing docs, validates GLFM formatting, or summarizes files/URLs/images. Provide task description or file/URL path.
/authorManages author profiles in SQLite DB: add via questionnaire or analyze transcripts to extract voice, list all, show details, edit, or remove by ID.
/authorAuthor a new math paper interactively — ideate, formalize, validate section-by-section
/authorYour task is to act as the "last in chain" subagent in a network of agents whose collective purpose is to conduct comprehensive technology evaluations and generate detailed research reports.
Creates a PR from current work with quality gates and proper description.
/pr:author # Author PR for current changes
/pr:author --skip-simplify # Skip code-simplifier check
/pr:author --base develop # Target different base branch
IMMEDIATELY execute this workflow:
git status --porcelain
git branch --show-current
git log -1 --format="%H %s"
Determine:
Extract initials from git config:
git config user.name
Parse first letter of each word (e.g., "Donovan Yohan" -> "dy").
Ask user for:
feat, fix, refactor, docs, choreCreate branch: <initials>/<type>/<name>
git checkout -b <branch-name>
Skip if --skip-simplify flag provided.
Check if code-simplifier has been run:
git log --oneline -20 | grep -i "simplif"
If no evidence found, run the built-in /simplify command to review changed code for reuse, quality, and efficiency. Wait for completion before proceeding.
REQUIRED: Apply superpowers:verification-before-completion using the Skill tool: Skill("superpowers:verification-before-completion").
Identify project's verification commands by checking for:
package.json -> npm test, npm run lint, npm run typecheckMakefile -> make test, make lintbuild.gradle.kts -> ./gradlew test, ./gradlew spotlessCheckpyproject.toml -> pytest, make lintRun ALL applicable verification commands. Read full output. Check exit codes.
Red Flags - STOP if any occur:
Do NOT proceed to PR creation with failing verification. Fix issues first.
If uncommitted changes exist:
git add <specific-files>
git commit -m "<type>: <description>"
If not pushed:
git push -u origin <branch-name>
Determine the base branch from --base argument if provided, otherwise detect the repository default:
BASE="${BASE:-$(gh repo view --json defaultBranchRef -q .defaultBranchRef.name)}"
git diff "$BASE"...HEAD
git log "$BASE"..HEAD --oneline
Create PR with gh:
gh pr create --title "<type>: <concise-title>" --body "$(cat <<'EOF'
## Summary
<1-3 sentences: WHY these changes matter - business/user impact, not code details>
## Changes
- <Category>: <What changed and why>
- <Category>: <What changed and why>
## Testing
- <How this was verified>
- <Edge cases considered>
---
*Created with `/pr:author`*
EOF
)"
Output the PR URL and summary of what was done.
| Mistake | Fix |
|---|---|
| Creating PR with failing tests | Run verification first, fix failures |
| Description lists code changes | Describe WHY and impact, not WHAT |
| Skipping code-simplifier | Only skip with explicit flag |
| Committing secrets | Check for .env, credentials before commit |