.agents/skills/create-pr-description/SKILL.md
Use when you need a general pull request description outside phase-scoped OAT pull request flows. Generates a comprehensive pull request summary from git changes, planning artifacts, and project context.
npx skillsauth add tkstang/open-agent-toolkit create-pr-descriptionInstall 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.
Creates a comprehensive PR description document based on git changes, planning documents, and project context.
Parse the following from $ARGUMENTS:
Example: /create-pr-description user-auth-refactor --sha=abc123 --jira=JIRA-1234 --detail=max
If a project name/filename is provided in arguments, check if it matches an existing project directory under the configured projects root (or legacy .oat/projects/shared/).
Determine projects root:
PROJECTS_ROOT="${OAT_PROJECTS_ROOT:-$(oat config get projects.root 2>/dev/null || echo ".oat/projects/shared")}"
PROJECTS_ROOT="${PROJECTS_ROOT%/}"
If {project-name} exists under $PROJECTS_ROOT/, use that project's pr-description.md file.
If not found, fallback to checking .oat/projects/shared/{project-name}/.
If no location is provided, ask the user:
.oat/projects/shared/pr-descriptions/<filename>.md (standalone PRs)${PROJECTS_ROOT}/<project-name>/pr-description.md (existing project directory)Suggest filename based on context:
<project-name>.md (e.g., openapi-automation-workflow.md)<jira-ticket>.md (e.g., JIRA-1234.md)pr-description.md (if in project directory)Only prompt for information not provided in arguments:
--detail)--jira)--sha)https://github.com/org/repo) (for generating GitHub blob links)Get current branch automatically:
git branch --show-current to get the current branch nameIf commit SHA provided:
git diff <sha> to review all changesFor Standard Template Structure: Use these sections (matching PULL_REQUEST_TEMPLATE.md heading levels):
For Expanded Structure: Use these sections when standard template is insufficient:
# [Project Name]
## Overview
Brief summary and purpose
## Context & Background
- Jira link: [TICKET-NUMBER](https://vmproduct.atlassian.net/browse/TICKET-NUMBER)
- Background and motivation
- Problem statement
## Changes Summary
High-level overview
## Detailed Implementation
### Component/Feature 1
- What was changed
- Why it was changed
- How it works
[Repeat for each major component]
## Technical Details
- Architecture decisions
- Dependencies added/removed
- Configuration changes
- Database changes
## Testing Strategy
- Unit tests
- Integration tests
- Manual testing performed
## Deployment Considerations
- Migration steps
- Environment variables
- Feature flags
- Rollback plan
## QA Notes
- Test scenarios
- Edge cases
- Known limitations
## Follow-up Items
- Future improvements
- Technical debt
- Related tickets
https://github.com/org/repo/blob/<branch-name>/<file-path>https://github.com/voxmedia/warehouse/blob/feature/openapi-automation/src/workflows/openapi-update.ymlgit branch --show-current[filename](blob-url) or [descriptive text](blob-url)After creating the document:
/create-pr-description JIRA-1234
/create-pr-description openapi-automation --sha=def456 --detail=max
/create-pr-description user-auth-refactor --jira=DWP-123
Create a PR description for JIRA-1234 bug fix using the standard template
Create PR description for the OpenAPI automation workflow with maximum detail, starting from commit def456
Use the planning docs from the user-auth-refactor project to create the PR description
documentation
Use when OAT implementation changes and repository reference docs must be synchronized. Updates .oat/repo/reference to match current behavior.
business
Merge multiple analysis artifacts into a single coherent report with provenance tracking. Reads existing artifacts from /deep-research, /analyze, and /compare.
testing
Use when the user questions or suspects an agent claim is wrong. Adversarially gathers evidence to verify or refute the claim using the best sources available in the current environment.
tools
Use when prioritizing backlog work or evaluating a roadmap. Produces value-effort ratings, dependency mapping, and execution recommendations.