AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Create Pr Description

skill-tomzx-agents-create-pr-description · by tomzx

Generate a PR description based on changes. If a repository/issue is provided, use its description to assess issue completeness.

No reviews yet
0 installs
29 views
0.0% view→install

Install

$ agentstack add skill-tomzx-agents-create-pr-description

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-tomzx-agents-create-pr-description)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 →
Are you the author of Create Pr Description? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

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 repository
  • gh CLI authenticated (required only when $1 and $2 are 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

  1. Compute the diff:

`` git diff $(gt parent)..HEAD ``

  1. If $1 (repository) and $2 (issue number) are provided, fetch the issue:

`` gt issue view $2 --repo $1 ``

  1. Resolve agents attribution per [github-post-attribution/SKILL.md](../github-post-attribution/SKILL.md): compute SKILL_COMMIT, SKILL_SHORT_SHA, SKILL_FILE_URL, and {BASE} for SKILL_DIR = create-pr-description.
  2. Generate the PR description following the output format below, substituting the resolved SKILL_FILE_URL and SKILL_SHORT_SHA into the footer.
  3. 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.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.