Official agent skill

Pushing Commits To The Repo

by pydantic in pydantic/pydantic-ai-harness

What to do when you open a PR and every time you push -- label the PR, watch CI to green, triage every review comment to a reply and a reaction, and escalate genuine design trade-offs to maintainers.

OfficialMITAuto-check passedDevelopment

Install Pushing Commits To The Repo

skills CLI
$ npx skills add pydantic/pydantic-ai-harness --skill pushing-commits-to-the-repo -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pydantic/pydantic-ai-harness pushing-commits-to-the-repo --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pydantic/pydantic-ai-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/pushing-commits-to-the-repo .claude/skills/pushing-commits-to-the-repo && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pushing-commits-to-the-repo
GitHub stars
952
Token cost
~566 tokens
SKILL.md length
300 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

What to do when you open a PR and every time you push -- label the PR, watch CI to green, triage every review comment to a reply and a reaction, and escalate genuine design trade-offs to maintainers.

  • Works in 4 steps: Watch CI to a terminal state. Don't… → Triage every comment (bots and humans… → Escalate real trade-offs, don't guess.… → …
  • Push a commit to one
  • SKILL.md covers When you open the PR, Before you push and After you push — the loop
  • Calls gh

What it does

Pushing Commits To The Repo is an agent skill from pydantic/pydantic-ai-harness, published by the product's own GitHub organization. What to do when you open a PR and every time you push -- label the PR, watch CI to green, triage every review comment to a reply and a reaction, and escalate genuine design trade-offs to maintainers. Use whenever you open a PR or push a commit to one.

Its SKILL.md is about 570 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Pull requests. The repository describes itself as: Your agent's favorite harness, built on Pydantic AI. The licence is MIT.

When your agent uses it

  • Push a commit to one
  • Tasks that involve Pull requests

Example prompts

  • “/pushing-commits-to-the-repo”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Watch CI to a terminal state. Don't idle. If it fails, diagnose: fix if the failure is
  2. Triage every comment (bots and humans alike). For each one
  3. Escalate real trade-offs, don't guess. If a comment needs a maintainer decision (a design
  4. Repeat until CI is green and no comment is outstanding.

What it can do on your machine

Read from SKILL.md and the folder at commit 4399efa. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pushing Commits To The Repo loads about 566 tokens when it runs. Until then it costs about 70 tokens; SKILL.md has 300 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~70
When it runs · the whole SKILL.md, loaded when a task matches
~566

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from pydantic/pydantic-ai-harness at commit 4399efa, republished under its MIT licence (© pydantic). 300 words, ~566 tokens.

Download SKILL.mdSave it as .claude/skills/pushing-commits-to-the-repo/SKILL.md (or your agent's skills folder).
name
pushing-commits-to-the-repo
description
What to do when you open a PR and every time you push -- label the PR, watch CI to green, triage every review comment to a reply and a reaction, and escalate genuine design trade-offs to maintainers. Use whenever you open a PR or push a commit to one.

pushing-commits-to-the-repo

Pushing starts a loop; it does not end the task. Work stops only when CI is green AND no comment is left unresolved.

When you open the PR

Apply a label -- the repo triages and filters by them. Fetch the real list first with gh label list --limit 100, because the set changes and a guessed label silently fails to apply. Pick the one naming what the PR is (bug, enhancement, documentation) and add a topic label where one fits (capability, primitive, agent-feature, core-change, code-mode, media, externalization, ...): gh pr edit <number> --add-label <label>.

Labelling needs triage permission on the repo. If it fails, quote the actual error rather than concluding you lack permission.

Before you push

  • Attempt the push. If it fails, read the real error — do not preemptively decide you lack permission from a flag or setting.
  • Leave nothing unstaged or uncommitted locally, unless the user's instructions override this.

After you push — the loop

  1. Watch CI to a terminal state. Don't idle. If it fails, diagnose: fix if the failure is yours; if it's a known flake or pre-existing on main, say so with evidence.
  2. Triage every comment (bots and humans alike). For each one:
    • Valid → fix it, then reply saying what changed, and react 👍.
    • Invalid → reply explaining concretely why (with code evidence), and react 👎.
    • Never silently ignore a comment, and never resolve a thread without a reply.
  3. Escalate real trade-offs, don't guess. If a comment needs a maintainer decision (a design choice, an API trade-off, a behavioral default), leave a comment containing: the background, your reasoning, the decision that needs making, the trade-offs (pros/cons of each option), and your recommendation. Then poll every 30 minutes for a reply and continue when it lands.
  4. Repeat until CI is green and no comment is outstanding.

© pydantic, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/pushing-commits-to-the-repo of pydantic/pydantic-ai-harness.

Open the folder on GitHubat commit 4399efa

Compare with similar skills

Pushing Commits To The Repo next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pushing Commits To The Repo compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pushing Commits To The Repo this skillpydantic/pydantic-ai-harness952—~566Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
PR Design DocOpenHands/OpenHands91k—~2.4kAutomated safety check: PassMIT
WooCommerce Code Reviewwoocommerce/woocommerce11k3 repos~1.1kAutomated safety check: PassCustom licence

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    91k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Record PR Demo

    payloadcms/payload

    A skill your agent uses when a Payload pull request needs a concise visual walkthrough for reviewers.

    45k GitHub stars~1k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from pydantic/pydantic-ai-harness

  • Adopt PR Branch Context

    pydantic/pydantic-ai-harness

    Official

    Fills in issue-brief.md and pr-decisions.md for an existing pull request, so you can pick up a PR mid-flight with its linked issue and past review decisions summarized.

    952 GitHub stars~1.8k tokensUpdated 8 days ago
    Auto-check passed
  • Branch Context Handoff

    pydantic/pydantic-ai-harness

    Official

    Keeps a branch-local issue brief, decision log and session handoffs so a pull request's context survives across separate agent sessions.

    952 GitHub stars~1.7k tokensUpdated 8 days ago
    Auto-check: notes

Categories

Questions about Pushing Commits To The Repo

What does Pushing Commits To The Repo do?

What to do when you open a PR and every time you push -- label the PR, watch CI to green, triage every review comment to a reply and a reaction, and escalate genuine design trade-offs to maintainers. Pushing Commits To The Repo is an agent skill from pydantic/pydantic-ai-harness, published by the product's own GitHub organization. What to do when you open a PR and every time you push -- label the PR, watch CI to green, triage every review comment to a reply and a reaction, and escalate genuine design trade-offs to maintainers.

When should I use Pushing Commits To The Repo?

Pushing Commits To The Repo fits situations like: push a commit to one; tasks that involve Pull requests.

How do I install Pushing Commits To The Repo in Claude Code?

Run `npx skills add pydantic/pydantic-ai-harness --skill pushing-commits-to-the-repo -a claude-code`. Or copy the skill folder (.agents/skills/pushing-commits-to-the-repo in pydantic/pydantic-ai-harness) into .claude/skills/pushing-commits-to-the-repo in your project. Claude Code loads it when a task matches its description.

How do I install Pushing Commits To The Repo in Codex?

Run `npx skills add pydantic/pydantic-ai-harness --skill pushing-commits-to-the-repo -a codex`. Or copy the skill folder (.agents/skills/pushing-commits-to-the-repo in pydantic/pydantic-ai-harness) into .agents/skills/pushing-commits-to-the-repo in your project. Codex loads it when a task matches its description.

Can I use Pushing Commits To The Repo in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pydantic/pydantic-ai-harness --skill pushing-commits-to-the-repo -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pushing-commits-to-the-repo, .gemini/skills/pushing-commits-to-the-repo, .github/skills/pushing-commits-to-the-repo and .opencode/skills/pushing-commits-to-the-repo in your project.

What does Pushing Commits To The Repo need to run?

Going by SKILL.md and its folder, Pushing Commits To The Repo needs the command-line tools its instructions call (gh).

Does Pushing Commits To The Repo access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Pushing Commits To The Repo safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pushing Commits To The Repo use?

Pushing Commits To The Repo is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pushing Commits To The Repo use?

About 566 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pushing Commits To The Repo?

Skills that share tags, products or a category with Pushing Commits To The Repo: Finishing a Development Branch (obra/superpowers, 297k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars) and PR Design Doc (OpenHands/OpenHands, 91k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pushing Commits To The Repo?

pydantic (a GitHub organization, an official publisher) maintains it in pydantic/pydantic-ai-harness, which has 952 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 2, 2026.

Source: pydantic/pydantic-ai-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.