commit is agent-read markdown (skill) from pedrohcgs/claude-code-my-workflow: Stage, commit, push, open a PR, and merge to main. Use ONLY on explicit commit intent — user says "commit", "ship it", "push this", "open a PR", "merge to main", "let's commit this", or prefixes with `/commit`. Do NOT auto-invoke on vague end-of-task phrases ("we're done", "wrap up") — those require explicit confirmation first. Runs the standard commit-PR-merge cycle; never force-pushes or skips hooks..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified before it reaches your agent: the main file against the SHA-256 recorded here, the others against the git hashes of its source commit. The deterministic audit below grades the latest version, and the same checks always give the same file the same grade.
What the file says
# 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:
```bash
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 the `Agent` tool with `subagent_type=verifier`) to run compilation/render checks on the changed files. Report pass/fail before committing.
### Step 0b: Consistency Gate (Pre-Commit)
**Runs unconditionally.** The full backtest suite — all ten gates (surface-sync count claims like `"18 agents, 60 skills, 37 rules, 9 hooks"` and marked tables, skill integrity, model currency, links, spec conformance, staleness, repo hygiene, derived counts, ledger coverage, hook battery):
```bash
./scripts/backtest.sh
```
- **Exit 0:** all gates green — continue.
…
Pin to a label to follow the author's releases, or to a sha256 for exact bytes. Either way the resolved hash is written to mdr.lock, and mdr install fetches those bytes again and checks them, so it installs them exactly or fails.
GET https://markdownregistry.com/api/v1/artifacts/art_aaw6kmmee6h2ncy4
GET https://markdownregistry.com/api/v1/resolve?ref=pedrohcgs/claude-code-my-workflow/commit
GET https://markdownregistry.com/api/v1/blob/abbe0285d0719e9e3835e9e263df39ad307d8acea031c0119340d7c45e3c76ef
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
pedrohcgs/claude-code-my-workflow · .claude/skills/adjudicate-review/SKILL.md · Turn an incoming set of findings — from an AI reviewer, a referee report, a code review, a linter, or a second model —…
pedrohcgs/claude-code-my-workflow · .claude/skills/audit-reproducibility/SKILL.md · Enforce the replication-protocol.md rule by cross-checking numeric claims in a manuscript against the actual R / Stata…
pedrohcgs/claude-code-my-workflow · .claude/skills/blast-radius/SKILL.md · Before and after changing anything shared — a function's return value, a signature, a schema, a label set, a config…
pedrohcgs/claude-code-my-workflow · .claude/skills/capture-environment/SKILL.md · Snapshot the computational environment for a replication package — detects the analysis stack (R / Stata / Python) and…
pedrohcgs/claude-code-my-workflow · .claude/skills/challenge/SKILL.md · Stress-test a finding against the choices you did not make. Enumerates the discrete forks a competent analyst could…
pedrohcgs/claude-code-my-workflow · .claude/skills/checkpoint/SKILL.md · Save a structured state snapshot before stopping or handing off. Captures the active plan, recent decisions, file…
pedrohcgs/claude-code-my-workflow · .claude/skills/coauthor-brief/SKILL.md · Generate a co-author / collaborator handoff brief for a multi-author, multi-machine project — summarizing what changed…
pedrohcgs/claude-code-my-workflow · .claude/skills/compile-latex/SKILL.md · Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex). Use when user says "compile", "build the slides"…
pedrohcgs/claude-code-my-workflow · .claude/skills/compress-session/SKILL.md · Distill the current conversation into a structured note (decisions made, open questions, file pointers with line…
pedrohcgs/claude-code-my-workflow · .claude/skills/context-status/SKILL.md · Show current context status and session health.
Use to check how much context has been used, whether auto-compact…
pedrohcgs/claude-code-my-workflow · .claude/skills/create-lecture/SKILL.md · Create a new Beamer lecture `.tex` from source papers and materials, with notation consistency checks and the project's…
pedrohcgs/claude-code-my-workflow · .claude/skills/credible-claims/SKILL.md · Research-brief + claim-record discipline for delegated or AI-assisted research work. Use when starting any substantive…
openonion/connectonion · connectonion/useful_skills/commit/SKILL.md · Create git commits with good messages. Use when user says "commit", "create commit", or asks to commit changes.
greenfield-inc/pane · .codex/skills/commit/SKILL.md · Selectively stages and commits only the changes related to the current session, skipping unrelated modifications.
greenfield-inc/pane · .claude/skills/commit/SKILL.md · Selectively stages and commits only the changes related to the current session, skipping unrelated modifications.
dcouple/pane · .codex/skills/commit/SKILL.md · Selectively stage and commit only the changes related to the current session while leaving unrelated work untouched…
dcouple/pane · .claude/skills/commit/SKILL.md · Selectively stages and commits only the changes related to the current session, skipping unrelated modifications.
aiskillstore/marketplace · skills/0xmsc/commit/SKILL.md · Helps write conventional commit messages, create atomic commits, and follow git best practices. Use when the agent…