wp-github-flow

wp-github-flow is a skill for Claude Code, Codex from mralaminahamed/wp-dev-skills. It costs 290 tokens per session (4,643 once invoked), scanned A, original, MIT.

A workflow for taking software changes from a GitHub issue or an existing working folder to a reviewed pull request. GitHub is a service for hosting code and reviewing proposed changes.

In plain words
What is it for?
Use it to investigate GitHub issues, group changes into focused commits, create a branch, push changes, and open a pull request.
Why use it?
It reduces mistakes when tracing bugs, organizing commits, creating branches, and preparing pull requests.

Skill for Claude CodeCodex

Part of the wp-dev-skills plugin — 19 skills, 1 command shipped together

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/mralaminahamed/wp-dev-skills/wp-github-flow
Any agent
npx skills add mralaminahamed/wp-dev-skills --skill wp-github-flow
Clone the repo
git clone --depth 1 https://github.com/mralaminahamed/wp-dev-skills

Made for: Claude Code, Codex.

Or install wp-dev-skills, the plugin that ships this one along with the rest of its 19 skills, 1 command.

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 wp-github-flow

README.md
[![agentmods](https://agentmods.dev/badge/skills/mralaminahamed/wp-dev-skills/wp-github-flow.svg)](https://agentmods.dev/skills/mralaminahamed/wp-dev-skills/wp-github-flow)
Your own site
<a href="https://agentmods.dev/skills/mralaminahamed/wp-dev-skills/wp-github-flow"><img src="https://agentmods.dev/badge/skills/mralaminahamed/wp-dev-skills/wp-github-flow.svg" alt="Measured on agentmods" height="20"></a>
Per session 290 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,643 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00290 $0.04643
Opus 5 $0.00145 $0.02322
Sonnet 5 $0.00058 $0.00929
Haiku 4.5 $0.00029 $0.00464

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

Security

Grade A, and why

wp-github-flow 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 4d 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.

skills/wp-github-flow/SKILL.md · 342 lines

How it starts

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

GitHub Contribution Flow

Model note: Issue-driven mode (root-cause tracing + fix) requires sonnet or opus. Changes-driven mode (group + commit existing edits) is mechanical and works well on haiku.

Overview

Two entry modes that converge on the same shipping flow (branch → scoped commits → push → PR):

  • Issue-driven — fetch issue → trace root cause → fix → ship. Wraps superpowers:systematic-debugging. Root cause MUST be confirmed before any fix is written.
  • Changes-driven — read the working tree → group changes by conventional-commit scope → one commit per scope → ship. No issue required.

Both end at §6 Branch, Commit, PR, which is shared.

When to use

Issue-driven:

  • User says "analyze/debug/fix/investigate issue #NNN"
  • User pastes a GitHub issue URL and asks to debug it
  • User says "find the root cause of this bug" with an issue reference

Changes-driven:

  • "commit my changes", "commit these scope by scope", "commit by scope"
  • "create a branch and PR", "open a PR for these changes"
  • "read all changes from X and commit + create PR"
  • Any request whose end goal is commits/branch/PR from existing working-tree edits

Not for: Plugin version releases or WP.org SVN deploy — use wp-plugin-release and wp-org-submission. QA failure triage on an already-open PR — use wp-ci-qa.

Required Sub-Skill

Issue-driven only: Invoke superpowers:systematic-debugging before any fix. Do NOT skip Phase 1 (root cause investigation). Changes-driven mode skips this — the edits already exist.

References

  • references/gh-reference.mdgh CLI commands, branch naming rules, label discovery, PR template sections, common CI failures
  • references/project-entry-points.md — project layout template: repos, plugin dirs, entry-point files, and key conventions; copy and fill in for your project
  • references/conventional-commits.md — type/scope table, WP-specific scope list, summary rules, multi-commit PR rules, footer conventions, rebase reword

Read the full file on GitHub · 342 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 342 lines · 290 tokens per session scan A 01a18828c555

Subscribe to this mod's changes

wp-github-flow is a skill published in the GitHub repository mralaminahamed/wp-dev-skills (27 stars, last pushed 1mo ago), licensed MIT. It adds 290 tokens to every session and 4,643 once invoked, about $0.0014 per session on Opus 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-08-30.

Related

Other skills, from other repositories