pr-creation

pr-creation is a skill for Claude Code from hamzaPixl/pixl-ai. It costs 36 tokens per session (684 once invoked), scanned A, original, MIT.

A pull-request workflow that prepares code changes, commits them, updates the changelog, and opens a pull request for review.

In plain words
What is it for?
Use it when changes are ready to ship and need staging, rebasing, conventional commits, changelog entries, and a structured pull request.
Why use it?
It reduces the manual work of packaging changes correctly and helps keep commits and pull requests organised.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the pixl-crew plugin — 93 skills, 14 agents, 6 hooks shipped together

Good fit Use it when changes are ready to ship and need staging, rebasing, conventional commits, changelog entries, and a structured pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hamzapixl/pixl-ai/pr-creation
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.

Any agent
npx skills add hamzaPixl/pixl-ai --skill pr-creation
Clone the repo
git clone --depth 1 https://github.com/hamzaPixl/pixl-ai

Made for: Claude Code.

Or install pixl-crew, the plugin that ships this one along with the rest of its 93 skills, 14 agents, 6 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pr-creation

README.md
[![agentmods](https://agentmods.dev/badge/skills/hamzapixl/pixl-ai/pr-creation/github.svg)](https://agentmods.dev/skills/hamzapixl/pixl-ai/pr-creation)
Your own site
<a href="https://agentmods.dev/skills/hamzapixl/pixl-ai/pr-creation"><img src="https://agentmods.dev/badge/skills/hamzapixl/pixl-ai/pr-creation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pr-creation

Your own site · 80×15
<a href="https://agentmods.dev/skills/hamzapixl/pixl-ai/pr-creation"><img src="https://agentmods.dev/badge/skills/hamzapixl/pixl-ai/pr-creation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 684 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00036 $0.00684
Opus 5.5 $0.00014 $0.00274
Sonnet 5.5 $0.00007 $0.00137
Haiku 4.5 $0.00004 $0.00068

Measured 1mo ago against content hash 299bce4c45a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr-creation scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/crew/skills/pr-creation/SKILL.md · 76 lines

How it starts

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

Overview

Complete PR creation workflow: analyze changes, wrap into conventional commits, rebase on base branch, generate changelog entries, and create the pull request with a structured description.

Why small, well-described PRs matter: PRs under 400 lines get reviewed 3x faster and receive higher-quality feedback. A clear description that explains why (not just what) helps future readers understand intent when git-blaming months later.

Required References

Before starting, read these files:

  • references/standards/commit-conventions.md — commit message format and conventions
  • references/standards/pr-best-practices.md — PR description structure and review guidelines

Step 1: Discovery

  1. Analyze git diff (staged + unstaged changes)
  2. Identify the base branch (main/master/develop)
  3. Check for existing changelog file
  4. Determine commit convention (conventional commits)
  5. Identify related issues or tickets

Step 2: Wrap Changes

  1. Group related changes into logical units
  2. Stage files that belong together
  3. Ensure no unrelated changes are included
  4. Check for files that shouldn't be committed (.env, credentials)

Step 3: Commit

  1. Create conventional commit messages (feat/fix/refactor/docs/test/chore)
  2. Include scope and description
  3. Add body with details if commit is non-trivial
  4. Reference issues in footer

Step 4: Rebase

  1. Fetch latest base branch
  2. Rebase feature branch on base
  3. Resolve any merge conflicts
  4. Verify tests still pass after rebase

Step 5: Changelog (Conditional)

Only if changelog file exists.

  1. Generate changelog entries from commits
  2. Follow existing changelog format
  3. Group by type (Added, Changed, Fixed, Removed)

Step 6: Create PR

  1. Push branch to remote
  2. Create PR with structured description:
    • Summary (1-3 bullet points)
    • Changes made
    • Test plan
    • Screenshots (if UI changes)
  3. Add labels and reviewers if configured

Gotchas

  • Always rebase onto the target branch before creating the PR — stale branches cause merge conflicts that block reviewers and CI
  • gh pr create fails silently if the branch has not been pushed — always push with -u first to set the upstream tracking branch
  • Use draft PRs (--draft) for work-in-progress — this prevents accidental review requests and signals the PR is not yet ready for feedback
  • Changelog updates should go in a separate commit from code changes — mixing them makes reverts harder and pollutes the diff reviewers need to focus on
  • Never force-push after PR review has started — it destroys review comments and makes it impossible for reviewers to see what changed since their last review

Read the full file on GitHub · 76 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. 1mo ago First seen · 76 lines · 36 tokens per session scan A 299bce4c45a5

Subscribe to this mod's changes

pr-creation is a skill published in the GitHub repository hamzaPixl/pixl-ai (2 stars, last pushed 6mo ago), licensed MIT. It adds 36 tokens to every session and 684 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.