skills/pr-draft/SKILL.md
Create a draft PR with a validated body template and issue linkage.
npx skillsauth add lightforgelabsstudio/aide pr-draftInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create a draft PR using a consistent template. Validate body locally before opening.
Base branch (default main), head branch (default current), PR title, issue number, summary bullets (1-4), implementation checklist items, validation checklist items.
Confirm branch state — Verify not on main. Verify at least one commit exists. Push if needed:
git push -u origin <branch>
Build PR body — Write a temporary markdown file:
Fixes #<number>
## Summary
- <bullet>
## Implementation Plan
- [ ] <step>
## Validation
- [ ] <criterion>
Validate body — Run:
powershell -ExecutionPolicy Bypass -File tools/validate_pr_body.ps1 -Body (Get-Content -Raw <tmpfile>)
Fix and re-run until green.
Create draft PR — Run:
gh pr create --draft --base <base> --head <head> --title "<title>" --body-file <tmpfile>
Verify & cleanup — Run gh pr view --json number,url,body. Confirm formatting persisted. Delete the temporary body file.
PR URL, linked issue number, validation result.
testing
Skeptical gap analysis for issues, ADRs, plans, and docs. Use when the user wants a second-pass check for missing decisions, contradictions, edge cases, hidden dependencies, scope drift, or readiness before implementation.
tools
Sync branch with remote and confirm a clean end-of-session state.
testing
Create or update an AIDE skill in .aide/skills with valid frontmatter and a concise workflow.
tools
Decompose an accepted spec (and its ADR, if one exists) into GitHub issues using the issue-creator tool.