🚀
AutomationHTML

Commit, PR, and Merge

by pedrohcgs

Commit, PR, and Merge is an Automation skill for Claude Code, published by pedrohcgs in claude-code-my-workflow.

1.5K stars2.9K forkson pedrohcgs/claude-code-my-workflowAdded 2026/08/19+1% in starsRepository updated 2026/06/10
academic-writingcausal-inferenceclaude-codeclaude-code-skillseconometricseconomicslatexquartoreproducible-researchresearch-workflow
Install in seconds
Install Commit, PR, and Merge
Copy Commit, PR, and Merge into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/pedrohcgs/claude-code-my-workflow/tree/main/.claude/skills/commit ~/.claude/skills/commit

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/pedrohcgs/claude-code-my-workflow.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
.claude/skills/commit/SKILL.md in pedrohcgs/claude-code-my-workflow
Installs to
~/.claude/skills/commit
Collection
One of 25 skills cataloged from this repository
Category
Automation1523 skills

What Commit, PR, and Merge does

Commit, PR, and Merge stages changes, verifies quality gates, commits with a descriptive message, creates a pull request, and merges to main when the user explicitly asks to commit or ship changes.

Commit, PR, and Merge is cataloged under Automation on DirSkills. Commit, PR, and Merge comes from a repository tagged academic-writing, causal-inference, claude-code, claude-code-skills and econometrics.

Documentation

README

Commit, PR, and Merge

Stage changes, verify quality gates, commit with a descriptive message, create a PR, and merge to main.

Steps

Step 0: Quality Gate (Pre-Commit)

Run before branching. For every changed .qmd, .tex, or .R file that has quality rubrics, run:

python3 scripts/quality_score.py <changed-file-paths>
  • If any file scores below 80, halt and report the findings. The user must either fix the issues or explicitly override with phrases like "commit anyway" or "skip quality gate".
  • If all files score 80+, continue.

Spawn the verifier agent (via Task with subagent_type=verifier) to run compilation/render checks on the changed files. Report pass/fail before committing.

Step 0b: Surface-Sync Gate (Pre-Commit)

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Commit, PR, and Merge

  • What else does pedrohcgs publish alongside Commit, PR, and Merge?

    Commit, PR, and Merge is one of 25 skills that DirSkills catalogs from pedrohcgs/claude-code-my-workflow, the repository it ships in. Its siblings there include Audit Reproducibility, Capture Environment and Checkpoint. Each one is a separate skill with its own page in this directory, installs the same way Commit, PR, and Merge does, and is maintained by pedrohcgs in that same repository. The rest of the collection is listed on the pedrohcgs/claude-code-my-workflow page.

  • How does Commit, PR, and Merge compare to other Automation skills?

    Commit, PR, and Merge ranks #590 by stars among the 1523 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Commit, PR, and Merge against them. Open each page to compare what they document and how they install.

More from pedrohcgs/claude-code-my-workflow

Commit, PR, and Merge is one of 25 skills cataloged on DirSkills from pedrohcgs/claude-code-my-workflow.

See all 25 skills
🔍
2w ago

Audit Reproducibility

Audit Reproducibility compares numeric claims in a manuscript against actual analysis outputs and reports PASS/FAIL per claim against tolerance thresholds. Use it before submission, before releasing a replication package, or after a major revision to catch mismatches between the paper and the code.
Quality
1.5K2.9K
🧰
2w ago

Capture Environment

Capture Environment snapshots a project’s software stack for a replication package, including language versions, package locks, seeds, and RNG settings. Use it before releasing or handing off analysis code so others can rebuild the same environment.
DevOps
1.5K2.9K
📌
2w ago

Checkpoint

Checkpoint saves a structured state snapshot before stopping or handing off, capturing the active plan, recent decisions, file pointers with line numbers, open questions, and next actions. Use it before a break, model switch, or collaborator handoff when you need to resume quickly.
AI Engineering
1.5K2.9K
🤝
2w ago

Coauthor Brief

Coauthor Brief generates a Markdown handoff brief for co-authors or future selves, summarizing git changes, artifact status, open questions, and local reproduction steps. Use it when onboarding a collaborator, sending a co-author the repo, or doing a periodic sync.
Automation
1.5K2.9K
📄
2w ago

Compile Beamer LaTeX Slides

Compile Beamer LaTeX Slides compiles Beamer LaTeX slide decks using XeLaTeX with a 3-pass build sequence (xelatex, bibtex, xelatex twice). Use it when the user asks to compile, build slides, rebuild PDF, run latex, or render tex files in Slides/*.tex.
Automation
1.5K2.9K
🗜️
2w ago

Compress Session

Compress Session distills the current Claude Code conversation into a structured note (decisions made, open questions, file pointers, next 1–3 actions) saved to quality_reports/session_logs/ before auto-compaction truncates context. Use when context is approaching the auto-compact threshold, after long pipelines, or when the user asks to compress or distill the session.
AI Engineering
1.5K2.9K