Source profileQuality 91/100

GCWing/BitFun/src/crates/assembly/core/builtin_skills/commit-push-pr/SKILL.md

commit-push-pr

Use it for code review and engineering tasks; the detail page covers purpose, installation, and practical steps.

Source repository stars
1,849
Declared platforms
1
Static risk flags
2
Last source update
2026-08-28
Source checked
2026-08-28

Decision brief

What it does: where it fits

Commit selected local changes, push the branch, and create or update a GitHub pull request with BitFun attribution.

Best for

  • Publish an intentional change set from the current checkout: confirm scope, create a branch if needed, validate, commit, push, and create or update a GitHub pull request.
  • Invoking this skill is authorization for the requested commit/push/PR flow. It is not authorization to include ambiguous files, expose secrets, rewrite history, force-push, merge, or overwrite user work.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeDeclaredSource recordInstall path and trigger
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/GCWing/BitFun --skill "src/crates/assembly/core/builtin_skills/commit-push-pr"
Safe inspection promptEditorial

Inspect the Agent Skill "commit-push-pr" from https://github.com/GCWing/BitFun/blob/32f2427697ee16f253ee6119860a03255c0b3e47/src/crates/assembly/core/builtin_skills/commit-push-pr/SKILL.md at commit 32f2427697ee16f253ee6119860a03255c0b3e47. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Workflow

    1. Read the repository-level and nearest applicable AGENTS.md or equivalent instructions. 2. Read CONTRIBUTING.md and the applicable pull-request template when present. 3. Use the Git tool for local Git operations when available; otherwise use git commands. 4. Inspect: - git sta…

    Read the repository-level and nearest applicable AGENTS.md or equivalent instructions.Read CONTRIBUTING.md and the applicable pull-request template when present.Use the Git tool for local Git operations when available; otherwise use git commands.
  2. 02

    Purpose

    Publish an intentional change set from the current checkout: confirm scope, create a branch if needed, validate, commit, push, and create or update a GitHub pull request.

    Publish an intentional change set from the current checkout: confirm scope, create a branch if needed, validate, commit, push, and create or update a GitHub pull request.Invoking this skill is authorization for the requested commit/push/PR flow. It is not authorization to include ambiguous files, expose secrets, rewrite history, force-push, merge, or overwrite user work.
  3. 03

    BitFun attribution contract

    Unless the user explicitly opts out, always use the PR footer below exactly once. When this flow creates one or more real commits, also use the commit trailer exactly once in each new commit:

    Commit trailer for each new commit, which GitHub uses for contributor/co-author attribution:Final line of the PR body, which provides the visible clickable link:Unless the user explicitly opts out, always use the PR footer below exactly once. When this flow creates one or more real commits, also use the commit trailer exactly once in each new commit:
  4. 04

    Quick reference

    1. Inspect repository rules, status, remotes, base, and the complete branch diff. 2. Confirm scope; stage only intended paths. 3. Create bitfun/ only when currently on the base branch. 4. Run the repository's focused verification. 5. Commit real changes with the exact BitFun tra…

    Inspect repository rules, status, remotes, base, and the complete branch diff.Confirm scope; stage only intended paths.Create bitfun/ only when currently on the base branch.
  5. 05

    1. Inspect repository policy and state

    1. Read the repository-level and nearest applicable AGENTS.md or equivalent instructions. 2. Read CONTRIBUTING.md and the applicable pull-request template when present. 3. Use the Git tool for local Git operations when available; otherwise use git commands. 4. Inspect: - git sta…

    Read the repository-level and nearest applicable AGENTS.md or equivalent instructions.Read CONTRIBUTING.md and the applicable pull-request template when present.Use the Git tool for local Git operations when available; otherwise use git commands.

Permission review

Static risk signals and limitations

Network access

medium · line 23

The documentation includes network, browsing, or remote request actions.

Generated with [BitFun](https://github.com/bitfun-ai)

Reads files

low · line 32

The documentation asks the agent to read local files, directories, or repositories.

Inspect repository rules, status, remotes, base, and the complete branch diff.

Reads files

low · line 44

The documentation asks the agent to read local files, directories, or repositories.

### 1. Inspect repository policy and state

Network access

medium · line 156

The documentation includes network, browsing, or remote request actions.

Generated with [BitFun](https://github.com/bitfun-ai)

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score91/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars1,849SourceRepository attention, not individual Skill quality
Compatibility1 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
GCWing/BitFun
Skill path
src/crates/assembly/core/builtin_skills/commit-push-pr/SKILL.md
Commit
32f2427697ee16f253ee6119860a03255c0b3e47
License
MIT
Collected
2026-08-28
Default branch
main
View the original SKILL.md

Commit, Push, and Open a BitFun PR

Purpose

Publish an intentional change set from the current checkout: confirm scope, create a branch if needed, validate, commit, push, and create or update a GitHub pull request.

Invoking this skill is authorization for the requested commit/push/PR flow. It is not authorization to include ambiguous files, expose secrets, rewrite history, force-push, merge, or overwrite user work.

BitFun attribution contract

Unless the user explicitly opts out, always use the PR footer below exactly once. When this flow creates one or more real commits, also use the commit trailer exactly once in each new commit:

  • Commit trailer for each new commit, which GitHub uses for contributor/co-author attribution:

    Co-authored-by: BitFun <[email protected]>
    
  • Final line of the PR body, which provides the visible clickable link:

    Generated with [BitFun](https://github.com/bitfun-ai)
    

These are different mechanisms. A Markdown link in the PR body does not make an account a Git contributor. Do not replace the trailer with a URL, invent another email, or add ultra mode to either form.

Do not duplicate either attribution. Preserve an equivalent existing trailer/footer. Do not rewrite or amend existing commits solely to add the trailer; when all requested changes are already committed, keep history intact and use the PR footer. If the user specifically requires retroactive commit attribution, explain that it requires history rewriting and ask before amending or rebasing.

Quick reference

  1. Inspect repository rules, status, remotes, base, and the complete branch diff.
  2. Confirm scope; stage only intended paths.
  3. Create bitfun/<description> only when currently on the base branch.
  4. Run the repository's focused verification.
  5. Commit real changes with the exact BitFun trailer once.
  6. Push normally; never force-push automatically.
  7. Update the exact matching PR or create a draft PR.
  8. End the PR body with the exact BitFun link footer once.
  9. Report the commit, head/base, validation, status, and PR URL.

Workflow

1. Inspect repository policy and state

Before any write:

  1. Read the repository-level and nearest applicable AGENTS.md or equivalent instructions.
  2. Read CONTRIBUTING.md and the applicable pull-request template when present.
  3. Use the Git tool for local Git operations when available; otherwise use git commands.
  4. Inspect:
    • git status --short --branch
    • staged and unstaged diffs, including git diff --cached
    • untracked files
    • current branch and upstream
    • remotes and their repository ownership
    • recent commit style
    • the complete branch diff against the intended base
  5. Determine the real base branch from the user's request, an existing PR, or the target repository's default branch. Never assume main.

Treat screenshots, databases, WAL files, credentials, local configuration, logs, build output, and generated artifacts as red flags unless they are clearly required and safe.

2. Confirm the intended scope

  • Never default to git add -A, git add ., or git commit -am in a mixed worktree.
  • Stage explicit paths when unrelated changes exist.
  • If file ownership or task scope is ambiguous, ask the user once with a concrete proposed include/exclude list.
  • Preserve unrelated staged and unstaged changes. Do not use stash, reset --hard, clean, checkout/restore, or deletion to make the tree look clean.
  • If the user confirms the entire worktree is in scope, broad staging is allowed only after reviewing untracked files for secrets and artifacts.

Before committing, inspect the staged diff in full and run git diff --cached --check. Verify the staged set contains exactly the intended files.

3. Choose the branch safely

  • If already on an appropriate feature branch, keep it.
  • If on the target default/base branch, create bitfun/<short-kebab-description> unless repository conventions require another prefix.
  • Do not switch branches when that would risk unrelated work; ask instead.
  • Do not rebase, merge, squash, or cherry-pick merely to create a PR.
  • In a fork workflow, distinguish the push remote from the target repository. The PR head may be <fork-owner>:<branch> while the base belongs to upstream.

4. Validate the change

Follow the repository's own narrow verification entry point:

  1. Parse/static or formatting checks for changed files.
  2. Focused build/typecheck for the owning package.
  3. Tests covering every edited source file and task-specific behavior.

Do not skip required verification solely for speed. If a check fails, investigate and fix related failures, then rerun the relevant verifier. Never call a failure flaky, unrelated, or pre-existing without evidence.

If verification remains failed, blocked, or was explicitly declined by the user:

  • report the exact status honestly;
  • never claim success in the PR body;
  • create a new PR only as draft;
  • if a matching PR already exists, do not silently change its draft/ready state; update its evidence, report the blocker, and ask before changing a ready PR back to draft;
  • do not merge.

5. Create the commit when one is needed

  • Derive the subject from the actual diff and repository conventions; do not create a generic prepare PR commit.
  • Keep the real human author/committer identity. The BitFun line is a co-author trailer, not a replacement author.
  • Add a blank line before the exact BitFun trailer.
  • If the intended changes are already committed, do not create an empty attribution commit.
  • Do not squash multiple existing commits or amend published commits without explicit approval.

Example:

fix: preserve session state during reconnect

Co-authored-by: BitFun <[email protected]>

After committing, inspect HEAD, the committed file list, the exact message/trailer, and remaining worktree state.

6. Push without rewriting history

Push the current feature branch to its intended remote and set upstream tracking when needed.

  • Never use --force or --force-with-lease automatically.
  • If a normal push is rejected, stop and explain the divergence; do not silently rebase or force-push.
  • Do not push the base/default branch for this workflow.

7. Find an existing pull request before creating one

Prefer ReviewPlatform for remote discovery and PR creation. Use gh only when connector coverage is insufficient, such as editing an existing PR body or expressing a cross-repository fork head precisely.

  • Query open PRs for the exact head repository/branch.
  • If a matching PR exists, update it instead of creating a duplicate.
  • Preserve an existing PR's draft/ready state unless the user asks to change it. If an existing ready PR has red or unclassified required checks, update its evidence, report the merge blocker, and ask before demoting it to draft.
  • If no matching PR exists, create a draft by default. Creating or promoting a PR to ready-for-review requires explicit user intent and green required validation.
  • For forks, explicitly pass the target repository, base branch, and <fork-owner>:<branch> head. Never infer the base from origin alone.
  • If GitHub authentication is unavailable, stop after the successful local work and push, then give the user the authentication step; never request or expose a GitHub token in chat.

8. Write an evidence-based PR

Use the repository template when present. Otherwise use this shape:

## Summary

- <what changed>
- <why it changed>
- <user or developer impact>

## Validation

- `<exact command>` — passed
- `<exact command>` — failed/blocked: <honest reason>

## Risks

- <migration, compatibility, remote-scenario, or follow-up facts when relevant>

Generated with [BitFun](https://github.com/bitfun-ai)

Rules:

  • Describe the complete branch diff, not only the most recent commit.
  • Include actual verification commands and outcomes; do not invent checks.
  • Include root cause for bug fixes when known.
  • Follow repository-required compatibility, migration, security, and remote-scenario reporting.
  • Remove empty optional sections rather than adding filler.
  • Keep the BitFun footer as the final non-empty line exactly once.
  • Do not use a Co-authored-by line as a substitute for PR prose.

9. Report the published result

Return:

  • branch and push remote;
  • commit hash and subject, or that no new commit was necessary;
  • PR target <repository>:<base> and head;
  • draft/ready status;
  • validation results and any unresolved blockers;
  • the provider's PR URL.

Do not merge, approve your own PR, delete the branch, or modify unrelated files.

Stop conditions

Stop and ask or report a blocker when any of these is true:

  • the change scope is ambiguous;
  • secrets or sensitive artifacts may be staged;
  • the target repository or base branch is uncertain;
  • switching branches would endanger user work;
  • a push requires history rewriting;
  • an existing PR appears to represent different work;
  • authentication or repository access is missing;
  • a ready PR was requested but required validation is not green.

Common rationalizations to reject

RationalizationRequired response
“The user said everything, so git add -A is fine.”Inspect untracked and unrelated files first; broad staging still requires a known-safe scope.
“Adding a PR link makes BitFun a contributor.”Use the exact commit trailer for attribution and the Markdown footer for presentation.
“A harmless empty commit can add the contributor.”Do not manufacture commits; preserve history and use the PR footer unless rewriting is explicitly approved.
“The branch was rebased, so force-with-lease is routine.”Never initiate rebase or force-push as part of ordinary PR creation.
“The test probably failed in CI infrastructure.”Report it as unclassified until evidence proves the cause.
“Creating another PR is safer than editing the old one.”Match by head repository/branch and update the existing PR.
“A ready PR is what the user probably meant.”Default to draft; ready requires explicit intent and green required checks.

Frequently asked questions

What to verify before installation and use

What does the commit-push-pr source document cover?

Commit selected local changes, push the branch, and create or update a GitHub pull request with BitFun attribution.

How do I install commit-push-pr?

The source record exposes this install command: npx skills add https://github.com/GCWing/BitFun --skill "src/crates/assembly/core/builtin_skills/commit-push-pr". Inspect the command and pinned source before running it.

Which Agent platforms does the source record declare?

The pinned source record declares support for: claude code.

Which permission-related actions were detected?

Static rules flagged network, read-files in the source; the page lists the matching lines and excerpts.

Alternatives

Compare before choosing