RE

repo-commit-and-push

Follows standard conventions for git commits and pushes, maintaining repository history cleanliness.

Install

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

Installs to .claude/skills/repo-commit-and-push

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 committing or pushing changes in this repository. Create focused commits matching tpsp history, push only when requested, and push tags whenever pushing release work.
175 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Push changes only when explicitly requested
  • Keep commits focused on one coherent purpose
  • Avoid staging unrelated user changes
  • Use conventional commit prefixes
  • Push tags when pushing release branches or tag-related work

How it works

This skill guides the user through inspecting `git status`, grouping files by purpose, staging them, running validation, committing with a focused subject, and pushing only when explicitly requested, adhering to conventional commit formats.

Inputs & outputs

You give it
Changes in the repository and a user request to commit or push
You get back
Focused, conventionally formatted commits, and a push to the remote repository if requested

When to use repo-commit-and-push

  • Committing focused fixes or features
  • Pushing release branches with tags
  • Standardizing commit history

About this skill

Repo Commit And Push

Use this skill when the task includes committing or pushing changes.

Policy

  • Push only when the user explicitly asks.
  • Keep commits focused on one coherent purpose.
  • Do not stage unrelated user changes.
  • Do not edit or commit generated output such as bin/tpsp.
  • If pushing a release branch or tag-related work, push tags in the same work unit when appropriate.

Commit Format

Recent history mixes short imperative subjects with conventional prefixes such as fix: and build:. Prefer conventional commits when the type is clear:

fix: handle API decode errors
build: update GoReleaser config
docs: document CLI examples

Use an imperative summary and add a short body when the change is not obvious.

Workflow

  1. Inspect git status --short and recent history.
  2. Group files by purpose.
  3. Stage explicit paths for one group at a time.
  4. Run the validation relevant to that group before committing.
  5. Commit with a focused subject.
  6. Push only if requested by the user.

Never bypass hooks unless the user explicitly requests it.

When not to use it

  • When committing generated output like `bin/tpsp`
  • Bypassing hooks without explicit user request
  • Pushing without explicit user request

Limitations

  • Does not allow committing generated output
  • Does not bypass hooks without explicit user request
  • Does not push without explicit user request

How it compares

This skill enforces a structured commit and push policy, ensuring a clean, focused, and conventionally formatted commit history, unlike an unguided manual approach that might lead to inconsistent or unfocused commits.

Compared to similar skills

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

SkillInstallsUpdatedSafetyDifficulty
repo-commit-and-push (this skill)02moNo flagsBeginner
github-manage69moReviewBeginner
tmux203moReviewIntermediate
jira116moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry