CO

Automates the commit, push, and PR process for IntexuraOS, bypassing manual issue ID requirements.

Install

mkdir -p .claude/skills/commit-push-pbuchman && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18680" && unzip -o skill.zip -d .claude/skills/commit-push-pbuchman && rm skill.zip

Installs to .claude/skills/commit-push-pbuchman

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use when the user says "commit push", "commit and push", "push a PR", or asks Codex to finalize IntexuraOS changes by committing, pushing, and opening a pull request against development.
186 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • Commit current changes to a feature branch
  • Push a feature branch to origin
  • Open a pull request against `development`
  • Run `pnpm run ci:tracked` before commit and push
  • Update feature branch with `origin/development`
  • Report branch name, commit SHA, and PR URL

How it works

The skill finalizes IntexuraOS work by committing changes, pushing a feature branch, and opening a pull request against `development`, while adhering to specific repository rules.

Inputs & outputs

You give it
Staged changes in a local IntexuraOS repository
You get back
Pushed feature branch and an opened pull request on GitHub

When to use commit-push

  • Finalizing feature development
  • Pushing updates to development branch
  • Automating PR creation for IntexuraOS

About this skill

Commit Push

Overview

Finalize IntexuraOS work by committing the current intended changes, pushing a feature branch, and opening a pull request against development.

This skill is an IntexuraOS-specific exception to the normal Linear issue ID requirement. Do not ask for a Linear issue ID when this skill is invoked. GitHub automation will create or link the Linear issue after the PR is opened.

When invoked as direct finalization, do not ask for confirmation before commit, push, or PR creation unless a blocker requires user input.

Scope Guard

Use this skill only in the IntexuraOS repo.

Before any mutation:

  1. Confirm the repo root has .claude/CLAUDE.md, pnpm-workspace.yaml, and package.json.
  2. Confirm package.json has "name": "intexuraos".
  3. Confirm git remote get-url origin points to pbuchman/intexuraos.
  4. If any check fails, stop and report that $commit-push is repo-specific.

After the scope check:

  1. Read .claude/CLAUDE.md and every concrete file it requires, as usual.
  2. Preserve the .claude/CLAUDE.md Git CLI rule: use gh for PR and GitHub operations it supports; use git only for local worktree, branch, staging, commit, and push operations where gh has no equivalent.

Linear ID Exception

Only this rule is overridden:

  • Do not stop to ask for an INT-XXX issue ID.
  • Do not fabricate an INT-XXX issue ID.
  • Do not create or update a Linear issue manually.
  • Use a descriptive branch, commit message, PR title, and PR body without INT-XXX.
  • Include this PR body note:
Linear: omitted by `$commit-push`; GitHub automation will create or link the Linear issue after PR creation.

This exception does not apply to release finalization, ordinary GitHub workflows, or any other skill.

All other project rules still apply, especially:

  • pnpm run ci:tracked must pass before commit.
  • Never commit directly to main or development.
  • Open the PR against development.
  • Do not use forbidden ownership language around CI failures.
  • Do not revert user changes unless explicitly requested.

Workflow

1. Inspect Worktree

Run:

git status --short
git diff --stat
git diff

Identify the intended change set. If there are unrelated or risky changes, stage only the intended files and mention exclusions in the final response.

If there are no changes to commit, stop and report that the worktree has nothing to finalize.

2. Ensure Feature Branch

Check the current branch:

git branch --show-current

If on main or development, create a feature branch before committing:

BRANCH="codex/<short-change-slug>-$(date +%Y%m%d-%H%M)"
git switch -c "$BRANCH"

If already on a non-protected branch, keep using it unless the branch name is clearly wrong for the work.

3. Run Commit Gate

Run from repo root:

pnpm run ci:tracked

If CI fails:

  • Capture and inspect the failure.
  • Fix failures that block the accepted work, then rerun pnpm run ci:tracked.
  • Do not commit until CI passes.
  • If the failure cannot be resolved without user input or a risky scope change, stop and report the exact blocker.

4. Stage And Commit

Stage only intended files:

git add <files>
git status --short

Commit with a concise message and no fake issue ID:

git commit -m "<type>: <clear summary>"

Use conventional prefixes when they fit: feat, fix, docs, chore, refactor.

5. Update With Latest Development

Before pushing or opening a PR, update the feature branch with the latest base branch:

git fetch origin development
git rebase origin/development

If the branch is already shared remotely and rebasing would require a force push, merge instead:

git merge --no-edit origin/development

Resolve conflicts if needed. After the branch includes the latest origin/development, rerun the final commit gate:

pnpm run ci:tracked

Do not push or create a PR until this final CI run passes.

6. Push And Open PR

Push the feature branch:

git push -u origin HEAD

Open the pull request against development:

cat > /tmp/commit-push-pr-body.md <<'PR_BODY'
## Summary

- <what changed>

## Verification

- `pnpm run ci:tracked`

## Linear

Linear: omitted by `$commit-push`; GitHub automation will create or link the Linear issue after PR creation.
PR_BODY

gh pr create --base development --head "$(git branch --show-current)" \
  --title "<clear PR title without INT-XXX>" \
  --body-file /tmp/commit-push-pr-body.md

If an open PR already exists for the branch, do not create a duplicate. Use the existing PR and report its URL.

PR body format:

## Summary

- <what changed>

## Verification

- `pnpm run ci:tracked`

## Linear

Linear: omitted by `$commit-push`; GitHub automation will create or link the Linear issue after PR creation.

Final Response

Report:

  • branch name
  • commit SHA
  • PR URL
  • pnpm run ci:tracked result
  • any files intentionally left unstaged

Do not commit, push, or open a PR if the user only asked for a plan, review, or explanation.

When not to use it

  • When not working in the IntexuraOS repository
  • When committing directly to `main` or `development`
  • When a Linear issue ID is required for the PR

Limitations

  • Only for use in the IntexuraOS repository
  • Does not require a Linear issue ID for PRs
  • Requires `pnpm run ci:tracked` to pass before commit

How it compares

This skill automates the entire commit, push, and PR creation workflow for IntexuraOS, including specific checks and Linear ID handling, unlike manual Git operations.

Compared to similar skills

commit-push side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
commit-push (this skill)01moReviewIntermediate
github-workflow-automation112moReviewAdvanced
testing-workflow169moReviewIntermediate
github-actions-templates73moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

Search skills

Search the agent skills registry