.claude/skills/describe-pr/SKILL.md
Generate PR Description in CI (no user input)
npx skillsauth add harivansh-afk/rpi describe-prInstall 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.
You are tasked with generating a comprehensive pull request description using the repository's standard template with rich linking and deviation analysis.
Read the PR description template:
Read({SKILLBASE}/references/pr_description_template.md)
Identify the PR to describe:
gh pr view --json url,number,title,state,headRefName 2>/dev/nullgh pr list --limit 10 --json number,title,headRefName,authorGather PR metadata:
gh pr view {number} --json url,number,title,state,baseRefName,headRefName,commits,filesgh repo view --json owner,nameDiscover task directory and ticket:
headRefName from step 2/, e.g., dexter/eng-2612-feature -> eng-2612-feature)ENG-2612 or LL-25 from the slug)ls .humanlayer/tasks/ | grep -i "{ticket-id}"linear get-issue-v2 {TICKET_ID} --fields url 2>/dev/null
TASK_DIRGenerate diff URLs:
scripts/pr_diff_urls.sh {pr_number}Gather comprehensive PR information:
gh pr diff {number}Analyze for plan deviations (if plan file exists):
ls .humanlayer/tasks/{task-dir}/*-plan.md 2>/dev/nullsubagent_type=implementation-reviewer:
Analyze deviations between the plan at .humanlayer/tasks/{task-dir}/{plan-file}
and the current implementation. Compare against the base branch.
Determine output path:
.humanlayer/tasks/{task-slug}/pr-description.md.humanlayer/tasks/pr-{number}/description.mdGenerate the description: Fill out each section from the template:
Save the description:
Update the PR:
gh pr edit {number} --body-file {output-path}Update the user:
Read({SKILLBASE}/references/describe_pr_final_answer.md){SKILLBASE}/references/pr_description_template.mdscripts/pr_diff_urls.sh for consistencyimplementation-reviewer agent for deviation analysis when a plan existsRemember, you must respond to the user according to the output template at {SKILLBASE}/references/describe_pr_final_answer.md
testing
facilitate pre-implementation setups for worktree setup
documentation
iterate on structure outline based on user feedback. if given a path to a document in .humanlayer/tasks/*/*-structure-outline.md, use this skill.
documentation
iterate on research document based on user feedback. This skill requires a path to a document and feedback from the human
documentation
iterate on .humanlayer/tasks/*/*-research-questions.md doc based on user feedback.