Install
$ agentstack add skill-tomzx-agents-create-pr-description ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Generate PR Description
Generates a structured PR description from the current branch's diff against its Graphite parent, optionally cross-referencing a GitHub issue to assess acceptance criteria coverage.
Prerequisites
gt(Graphite CLI) installed and authenticated in a git repositoryghCLI authenticated (required only when$1and$2are provided)- Current branch must have commits relative to its parent
> Note: This skill uses the Graphite CLI (gt) and diffs against the Graphite parent branch. For a gh-based workflow that diffs against the git merge base and creates the PR directly, use /create-pr instead.
Skill attribution (GitHub)
Before returning the PR description, read [github-post-attribution/SKILL.md](../github-post-attribution/SKILL.md) and append the Generated with footer for SKILL_DIR = create-pr-description to the end of the description body. This footer travels with the description when the user posts it to GitHub via gh pr create or gh pr edit.
Workflow
Compute diff (gt parent -> HEAD)
|
v
Issue provided? ($1 $2)
/ \
Yes No
| |
v v
Fetch issue Skip issue
details lookup
| |
v |
Assess |
acceptance |
criteria |
| |
+------+------+
|
v
Generate PR description markdown
Steps
- Compute the diff:
`` git diff $(gt parent)..HEAD ``
- If
$1(repository) and$2(issue number) are provided, fetch the issue:
`` gt issue view $2 --repo $1 ``
- Resolve agents attribution per [
github-post-attribution/SKILL.md](../github-post-attribution/SKILL.md): computeSKILL_COMMIT,SKILL_SHORT_SHA,SKILL_FILE_URL, and{BASE}forSKILL_DIR=create-pr-description. - Generate the PR description following the output format below, substituting the resolved
SKILL_FILE_URLandSKILL_SHORT_SHAinto the footer. - Return the result inside a markdown code block with each sentence on its own line. Do not line wrap the description; each paragraph/bullet should be a single long line.
Output Format
# What
# Why
# How to test
# Acceptance criteria covered
# References
- https://github.com/$1/issues/$2
---
Generated with [create-pr-description](SKILL_FILE_URL) (`SKILL_SHORT_SHA`)
Substitute SKILL_FILE_URL and SKILL_SHORT_SHA per [github-post-attribution/SKILL.md](../github-post-attribution/SKILL.md).
Example Usage
Scenario 1: PR without issue
/create-pr-description
Diffs current branch vs parent, produces description with "To be filled by the user" in the References section.
Scenario 2: PR linked to an issue
/create-pr-description owner/myrepo 42
Fetches issue #42 from owner/myrepo, maps its acceptance criteria to the changes, and includes the issue link in References.
Scenario 3: Partial implementation
/create-pr-description owner/api-service 100
Issue has 5 acceptance criteria; this PR covers 3. "Acceptance criteria covered" lists only the 3 addressed and notes the remaining 2 are out of scope.
Useful Commands Reference
| Command | Description | |---|---| | git diff $(gt parent)..HEAD | Diff current branch against its Graphite parent | | gt issue view --repo | Fetch issue details via Graphite CLI | | gh issue view --repo | Fetch issue details via gh CLI |
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: tomzx
- Source: tomzx/agents
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.