workflow-commit-and-pr

Community

Commit and open PRs with safe discipline

Authorlugassawan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Prevents risky or inconsistent git/PR actions by enforcing a disciplined commit→push→PR workflow, including correct commit-message formats, doc-only [no ci] handling, branch naming checks, and a draft-vs-ready PR decision flow.

Core Features & Use Cases

  • Trigger-phrase discipline: Uses your exact wording to decide between preview-only, commit-only, one-shot ship (commit→push→PR), push-only, or PR-only—avoiding accidental pushes or PR creation.
  • Commit message and safety checks: Detects the host repo’s commit-message convention (via commit-msg hook or git history inference) and blocks questionable staged files by filename heuristics for potential secrets.
  • PR creation guardrails: Detects existing OPEN PRs for the branch before running gh pr create, prompts Draft vs Ready, and fills PR body using template detection and validation-aware behavior.
  • Doc-only CI optimization: Applies [no ci] conservatively when all staged changes are doc-only (with load-bearing exclusions for plugin-runtime directories).

Quick Start

Ask the assistant to ship a branch by saying: ship this branch — commit, push, and open the GitHub PR using our PR template.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: workflow-commit-and-pr
Download link: https://github.com/lugassawan/swe-workbench/archive/main.zip#workflow-commit-and-pr

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.