git-pr-creator

A workflow for opening pull requests, which are requests for teammates to review and merge code changes. It can connect those requests with GitHub or GitLab and optionally update JIRA, a system for tracking development work.

In plain words
What is it for?
Use it after finishing a feature or fix to create a pull request, format its title, apply major/minor/patch labels, attach diagrams or images, add JIRA comments, and optionally change the ticket status after a manual merge.
Why use it?
It reduces the repeated work of formatting a pull request, applying change-size labels, and keeping the related JIRA ticket current. It also handles image files that need to be attached to JIRA.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/darellchua2/opencode-config-template/git-pr-creator
Any agent
npx skills add darellchua2/opencode-config-template --skill git-pr-creator
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

Made for: Claude Code, Codex.

Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,917 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00037 $0.04917
Opus 5 $0.00018 $0.02459
Sonnet 5 $0.00007 $0.00983
Haiku 4.5 $0.00004 $0.00492

Measured 2d ago against content hash ef8ce19eb6f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

git-pr-creator scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

if curl -s -o /dev/null -w "%{http_code}" "$image_path" | grep -q "200"; then
opencode_app/.opencode/skills/_archived/git-pr-creator/SKILL.md · 639 lines

How it starts

The opening of the file, as written. The whole thing — 639 lines — stays where its author put it; the contents beside it link to each section on GitHub.

What I do

I implement a complete Git PR creation workflow with optional JIRA integration:

  1. Check JIRA Integration: Ask user if JIRA is used for the project
  2. Create Pull Request: Create a GitHub/GitLab PR with comprehensive description
  3. Use git-semantic-commits: Format PR title following Conventional Commits specification
  4. Apply Semantic Versioning Label: Auto-apply major/minor/patch label based on PR title
  5. Scan for Diagrams/Images: Search for workflow-related images and diagrams
  6. Attach Images to JIRA: Upload local/temporary images directly to JIRA (not just links)
  7. Add JIRA Comments: Use git-issue-updater to create comments with PR details and attachments
  8. Update JIRA Status (Optional): Delegate to jira-status-updater to transition ticket status after manual merge

When to use me

Use this workflow when:

  • You've completed work on a feature or fix and need to create a PR
  • You want to update JIRA tickets with PR information
  • You have diagrams or images that need to be attached to JIRA (not just linked)
  • You need to ensure JIRA tickets are updated with actual image files for visibility
  • You want to maintain traceability between PRs and JIRA tickets

Prerequisites

  • Git repository with commits to push
  • GitHub CLI (gh) or GitLab CLI (glab) installed and authenticated
  • If using JIRA: Atlassian account with appropriate permissions
  • JIRA cloud ID and project key
  • Existing JIRA ticket(s) to update

Steps

Step 1: Check Git Status

  • Verify current git status:
    git status
    
  • Ensure all changes are committed
  • Check for uncommitted changes that need attention

Step 2: Ask About JIRA Integration

  • Prompt the user: "Is JIRA used for this project? (yes/no)"
  • If yes, proceed with JIRA integration steps
  • If no, skip JIRA-related steps and only create the PR

Step 3: Get JIRA Ticket Information (if JIRA is used)

  • Ask the user for the JIRA ticket ID (e.g., "IBIS-101")
  • Verify the ticket exists using Atlassian MCP tools
  • Get the cloud ID if not provided

Read the full file on GitHub · 639 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 639 lines · 37 tokens per session scan A ef8ce19eb6f1

Subscribe to this mod's changes

git-pr-creator is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2d ago), licensed Apache-2.0. It adds 37 tokens to every session and 4,917 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

git-workflow-and-versioning

Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, opening or reviewing a pull request (PR), pushing to a remote, or when you need to organize work across multiple parallel streams. Use when cutting a release, choosing a semantic version bump…

addyosmani/agent-skills · 74 tokens

release

Cut a Symphony release by bumping the committed version, landing it, tagging the merged commit, and verifying the Burrito release workflow. Use when asked to release, tag, or retag Symphony.

openai/symphony · 42 tokens

release-notes

Draft concise release notes.

ollama/ollama · 9 tokens

greptimedb-release

Runbook for publishing a new GreptimeDB version (tag + GitHub release + docs release-note PR) on the upstream GreptimeTeam/greptimedb repo. Use when asked to "release" / "publish" a GreptimeDB version (e.g. v1.1.0, v1.0.3).

GreptimeTeam/greptimedb · 75 tokens

refresh-arm-sdk-release

WORKFLOW SKILL — Prepares Azure.ResourceManager SDK refresh pull requests in azure-sdk-for-net. WHEN: "prepare sdk refresh", "refresh Azure.ResourceManager package", "update ARM SDK from autorest tag", "refresh changelog dependencies". INVOKES: git and GitHub pull request tools for branch, commit, push, and PR…

Azure/azure-sdk-for-net · 91 tokens

store-update

在 CCX Desktop 发布后下载 Store MSIX 并生成发布公告。用户提到 Store 上架、MSIX、从 GitHub Release 下载 store.msix、发布后同步 Windows Store、从 release 填写商店更新内容时必须使用此技能。该技能会下载最新 GitHub Release 的 amd64/arm64 MSIX,校验 sha256,从 Release body 生成 Store listing releaseNotes 预览,并输出手动上传指引。.

BenedictKing/ccx · 100 tokens