GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add an AI skill and slash command for generating PR descriptions by atakavci · Pull Request #4587 · redis/jedis

Conversation

@atakavci

@atakavci atakavci commented Jul 1, 2026 •
edited by cursor Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Summary

Adds a reusable Claude Code skill that generates a GitHub PR title and description from the diff between two local branches, plus a /createPRDescription slash command that invokes it. Output is written to prDescription.md at the repo root. This is agent tooling only and does not touch any Jedis library code.

Key Decisions & Assumptions

  • The skill definition lives under .agents/skills/ and is exposed to Claude Code via a symlink at .claude/skills/, keeping a single source of truth while satisfying the .claude discovery path.
  • Branch resolution defaults are baked in: with no arguments, base falls back to main (then master), and target defaults to the current branch. Only those two base names are checked — no broader branch scanning.
  • The skill relies only on standard git commands, so it is portable across agents and environments.

Behavioral / Conceptual Changes

  • A new /createPRDescription [base-branch] [target-branch] command is available; both positional arguments are optional and resolved per the documented defaulting rules.
  • Running the skill overwrites prDescription.md in the repo root and, if gh is available, offers to open the PR after confirmation.

Notes

  • This is the only commit on the branch and introduces tooling/config files exclusively.

Note

Low Risk
Documentation and agent configuration only; no runtime, auth, or product code paths change.

Overview
Introduces agent-only tooling so contributors can draft GitHub PR titles and bodies from local branch diffs without touching application/library code.

A new skill under .agents/skills/creating-description-for-gh-pr defines the workflow: resolve base/target branches (defaults: main or master → current branch), run standard git diff / git log, analyze the change, and overwrite prDescription.md at the repo root using a fixed section template. It ends by optionally suggesting gh pr create after user confirmation.

.claude/commands/createPRDescription exposes this as /createPRDescription [base] [target], passing positional args into the skill’s branch rules without redefining the steps.

.claude/skills/creating-description-for-gh-pr symlinks to the .agents skill so Claude Code discovers a single source of truth.

Reviewed by Cursor Bugbot for commit 266c8af. Bugbot is set up for automated code reviews on this repo. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
atakavci added 3 commits June 30, 2026 14:37
@atakavci
- adding pr description creation skill
a7e05a3
@atakavci
Merge branch 'redis:master' into ali/aiSkills
c6b59b1
@atakavci
- fix skill name
b06c5c5
@atakavci
atakavci requested a review from ggivo July 1, 2026 13:34
@atakavci atakavci self-assigned this Jul 1, 2026
@atakavci atakavci added the maintenance label Jul 1, 2026
@atakavci
atakavci requested a review from Copilot July 1, 2026 13:34
cursor[bot]
cursor Bot reviewed Jul 1, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

Reviewed by Cursor Bugbot for commit b06c5c5. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .agents/skills/creating-description-for-gh-pr/SKILL.md

## 5. Confirm

After writing, give a short confirmation (don't reprint the file) and offer to run `gh pr create --title "..." --body-file prDescription.md` if `gh` is available. Include the provided/resolved base and target branch names into the suggested command as part of the suggestion. At the end, ask if the user wants to open the PR now and wait for confirmation before proceeding. If the user declines, stop and say the PR description is ready in `prDescription.md`.

@cursor cursor Bot Jul 1, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gh suggest omits base head

Medium Severity

Step 5’s example gh pr create only shows --title and --body-file, while asking to add resolved base and target names without naming --base or --head. gh pr create ignores bare branch names, so a PR opened from that suggestion can use the repo’s default base instead of the branches used for the diff.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit b06c5c5. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
ggivo added 3 commits July 8, 2026 09:36
@ggivo
Merge branch 'master' into ali/aiSkills
7378ff9
@ggivo
Merge branch 'master' into ali/aiSkills
168f4d8
@ggivo
Merge branch 'master' into ali/aiSkills
266c8af
@ggivo
ggivo merged commit 7aef6e8 into redis:master Jul 24, 2026
9 of 13 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ggivo ggivo Awaiting requested review from ggivo
Copilot code review Copilot Reviewing
1 more reviewer
@cursor cursor[bot] cursor[bot] left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@atakavci atakavci

Labels

maintenance

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@atakavci @ggivo
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.