/git-workflow:status [--html]from git-workflow
Shows current position in the git-workflow pipeline (branch, ticket, commits, PR status, release) and recommends the next step. Useful when asking "where am I?" or "what's the status of this branch/PR?"
Ships in git-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Cross-runtime: follow runtime compatibility for invocation, delegation, configuration precedence, state paths, and permissions.
You are reporting the current position in the git-workflow pipeline and the recommended next step. This is read-only — never modify Git state, never create branches/commits/PRs. Follow each step in order.
--html → also generate a self-contained HTML status report (see Step 6).Read the durable workflow context if present:
.git-workflow/pr-context.json — ticket id/title, branch, type, timestamps written by /start, /tdd, /commit..git-workflow/config.yaml — workflow.developmentBranch/productionBranch, issue tracker.If a canonical file is absent, read its matching legacy .claude/ fallback as defined in the compatibility reference. If neither form exists, fall back to live Git/GitHub state only.
git rev-parse --abbrev-ref HEAD # current branch
git status --porcelain # uncommitted changes?
git log --oneline origin/{devBranch}..HEAD # commits ahead of the dev branch
If gh is available and authenticated, also gather (skip gracefully on failure):
gh pr view --json number,title,state,reviewDecision,statusCheckRollup,url # PR for current branch, if any
gh release list --limit 1 # latest release
Infer which stage the work is in, in this order:
| Signal | Stage |
|---|---|
| On dev/prod branch, clean tree | Idle — no active feature |
| Feature branch, no commits ahead | Started — branch created, nothing committed |
| Feature branch, uncommitted changes | In progress — changes not yet committed |
| Commits ahead, no PR | Committed — ready to open a PR |
| PR open, checks pending/failing | In review (CI/{state}) |
PR open, CHANGES_REQUESTED | In review — changes requested |
PR open, APPROVED | Approved — ready to merge |
On a release/* branch | Releasing |
Output a compact, scannable summary and an explicit next step:
Workflow status
Branch: fix/proj-123-login-timeout (3 commits ahead of staging)
Ticket: PROJ-123 — Fix login timeout
Changes: clean working tree
PR: #42 (OPEN, CI passing, review required) — https://github.com/...
Stage: In review
Next: wait for review, or run /review 42 to self-review before requesting.
Map the stage to the recommended next command:
/start to begin a feature./commit./finish to open a PR./review <pr> to self-review; address feedback./release when ready./release-notes then /sync.--html)If --html was passed, resolve {SKILL_DIR} to the absolute, physical directory containing this
loaded SKILL.md, then generate a self-contained HTML status page with its bundled helper:
mkdir -p .git-workflow
node "{SKILL_DIR}/scripts/status-report.mjs" > .git-workflow/status.html
The script gathers the same git/gh state as JSON and injects it into the skill-local
assets/status-template.html. If the loaded skill path is unavailable, use PLUGIN_ROOT, then
CLAUDE_PLUGIN_ROOT, only to locate skills/status/SKILL.md; verify the helper exists and never
fall back to /scripts. Tell the user the file path (.git-workflow/status.html) and that it is a
single self-contained file they can open in a browser. If Node is unavailable, skip the HTML and
print the text report only.
| Scenario | Action |
|---|---|
| Not a git repository | Report that and stop |
gh unavailable / not authenticated | Skip PR/release sections, note it, show git-only status |
No .pr-context.json | Use live Git state; note context is not being tracked |
Node unavailable (with --html) | Print the text report, skip HTML generation |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
git-workflow, development-status, branch-summary, pr-overview
npx claudepluginhub rlajous/claude-code-commands --plugin git-workflow22 skills in this plugin
/change-briefTurn a pull request into a concise, self-contained HTML decision brief with business logic, diagrams when useful, conditional UI/mobile screenshots, API cURL request/response evidence, risks, verification, and representative before/after code. Use when the user asks to "explain this change as HTML", "before/after html", "change brief", "html explainer for a PR", "explain what changed", or wants a shareable, human-readable snapshot of a code change. Args a PR number/URL, or nothing to use the current branch's PR./clean-goneDelete local Git branches whose upstream was deleted on the remote ("[gone]"), and remove any worktrees attached to them. Use when the user asks to clean up merged/stale branches, prune gone branches, tidy local branches after merging PRs, or "delete branches that are gone on the remote"./close-customer-loopClose the loop with a customer or partner after their reported bug/request ships. Use whenever a customer/partner-reported fix reaches production, a ticket that came from a customer report is about to be marked Done/closed, or you're deciding whether follow-up is still owed. Enforces verify-in-prod-then-reply-in-the-original-thread, and adds the two acceptance-criteria lines when creating customer/partner tickets./commitStage and commit changes with proper formatting following repo conventions/finishCreate a pull request with comprehensive description following repo best practices/notificationsConfigure and diagnose opt-in desktop notifications for completed Claude Code or Codex turns and new reviews on pull requests you authored. Use when the user asks to enable agent-finished alerts, watch approvals or requested changes on their PRs, inspect notification configuration, or get the background daemon command.Other plugins' skills for the same job