commit-push
Stage current git changes, generate a Conventional Commit message, commit, and push safely to the remote.
Skill by woernfl
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/woernfl-commit-push
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/commit-push
What's inside
- Skill name
commit-push- Description
- Stage current git changes, generate a Conventional Commit message, commit, and push safely to the remote. Use when the user says "commit and push", "push my changes", "ship this", "save and push", "wrap this up", "commit my work", or otherwise wants the current work committed and pushed. Before committing, make sure the work is not going straight to a shared branch; if HEAD is on main, master, develop, trunk, or a release branch, create and switch to a feature branch first.
- License
- MIT
- Instructions
- 113 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Commit & Push Workflow Execute the following steps in order. Stop and report clearly if any step fails. Prefer safe, explicit behavior over guessing. ## Step 1 — Make sure we are on a feature branch Check the current branch: ```bash git rev-parse --abbrev-ref HEAD ``` - If the output is HEAD → stop. Explain that the repository is in a detached HEAD state and ask the user how to proceed. - If the branch is main, master, develop, trunk, or matches release/\*: - Derive a short kebab-case slug from the current change, for example update-readme-links. - Create and switch to a feature branch named feat/<slug>. - If that branch name already exists, append a short timestamp suffix. - Tell the user which branch was created before continuing. - Otherwise → continue. ## Step 2 — Check working tree ```bash git status --short ``` - If the output is empty → tell the user there is nothing to commit and stop. - If files are already staged → proceed directly to Step 2. - If there are unstaged or untracked changes → stage them first: ```bash git add -A git status --short ``` Quickly inspect the staged paths. If anything looks unintended, risky, or surprising for a commit (for example generated artifacts, secrets, or large binaries), stop and ask the user before continuing. ## Step 3 — Inspect the diff ```bash git diff --cached --stat git diff --cached ``` Read the full staged diff to understand what changed before writing the message. ## Step 4 — Generate and apply the commit message Produce a Conventional Commit message: ```text <type>(<scope>): <short summary> <body — optional, explain the why not the what> <footer — optional, e.g. Closes #123> ``` Types: feat, fix, refactor, docs, test, chore, perf, ci, build, style Rules: - Summary line: imperative mood, max 72 chars, no period at end - Body: wrap at 100 chars, explain why the change was made - If the change is trivial, omit the body Show the user the exact message that will be used before committing. Then commit using that message. Show the user the exact message used. ## Step 5 — Push First make sure origin exists: ```bash git remote get-url origin ``` - If origin does not exist → stop, report the issue clearly, and do not guess a different remote. Then push: ```bash git push -u origin HEAD ``` - If the push is rejected because it is non-fast-forward → stop immediately, explain that the remote has commits that are not present locally, and ask the user how to proceed. - Never force-push without explicit user confirmation, because force-pushing can rewrite shared history. - If authentication fails → stop and show the exact error. ## Step 6 — Report Print a short summary: - Commit hash (short) and message - Branch pushed - Remote pushed to - Remote URL, if available via git remote get-url origin Use these commands where helpful: ```bash git rev-parse --short HEAD git rev-parse --abbrev-ref HEAD git log -1 --pretty=%s git remote get-url origin ``` If the remote is GitHub, GitLab, or Bitbucket, also include a compare or pull-request URL when it can be derived safely from the remote URL and branch name.
From woernfl/ai-lab, MIT.
More from woernfl/ai-lab
- 0.566score
k8s-security-policies
woernfl
Implement Kubernetes security policies including NetworkPolicy, PodSecurityPolicy, and RBAC for production-grade security.
SkillAFreshness: AClaude Code +9 - 0.560score
k8s-manifest-generator
woernfl
Create production-ready Kubernetes manifests for Deployments, Services, ConfigMaps, and Secrets following best practices and security standards.
SkillAFreshness: AClaude Code +9 - 0.557score
python-ase
woernfl
Expert assistance with the Atomic Simulation Environment (ASE) Python library for atomistic simulations, including structure building, calculator setup…
SkillAFreshness: AClaude Code +9 - 0.551score
python-best-practices
woernfl
Expert guidance for writing professional Python code following industry best practices including PEP 8 compliance, testing, type hints, error handling, and…
SkillAFreshness: AClaude Code +9 - 0.548score
python-multiobjective-optimization
woernfl
Expert guidance for multiobjective optimization in Python - Pareto optimality, evolutionary algorithms (NSGA-II, NSGA-III, MOEA/D), scalarization methods…
SkillAFreshness: AClaude Code +9 - 0.548score
python-jax
woernfl
Expert guidance for JAX (Just After eXecution) - high-performance numerical computing with automatic differentiation, JIT compilation, vectorization, and…
SkillAFreshness: AClaude Code +9 - 0.524score
github-issue-enhancer
woernfl
Enhance GitHub issues with additional information, context, and structure to prepare them for autonomous agent processing.
SkillBFreshness: BClaude Code +9 - 0.474score
github-pr
woernfl
Commit staged or local changes, push the branch, then open a Pull Request on GitHub using the gh CLI.
SkillCFreshness: CClaude Code +9 - 0.474score
naming-convention
woernfl
Help the user choose, validate, or rename infrastructure resource names using a well known naming convention.
SkillCFreshness: CClaude Code +9 - 0.471score
kubernetes-architect
woernfl
Expert Kubernetes architect specializing in cloud-native infrastructure, advanced GitOps workflows (ArgoCD/Flux), and enterprise container orchestration.
SkillCFreshness: CClaude Code +9 - 0.471score
kubernetes-deployment
woernfl
Kubernetes deployment workflow for container orchestration, Helm charts, service mesh, and production-ready K8s configurations.
SkillCFreshness: CClaude Code +9 - 0.445score
clarify
woernfl
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 30, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/woernfl/ai-lab
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from woernfl
- 0.566score
k8s-security-policies
woernfl
Implement Kubernetes security policies including NetworkPolicy, PodSecurityPolicy, and RBAC for production-grade security.
SkillAFreshness: AClaude Code +9 - 0.560score
k8s-manifest-generator
woernfl
Create production-ready Kubernetes manifests for Deployments, Services, ConfigMaps, and Secrets following best practices and security standards.
SkillAFreshness: AClaude Code +9 - 0.557score
python-ase
woernfl
Expert assistance with the Atomic Simulation Environment (ASE) Python library for atomistic simulations, including structure building, calculator setup…
SkillAFreshness: AClaude Code +9 - 0.551score
python-best-practices
woernfl
Expert guidance for writing professional Python code following industry best practices including PEP 8 compliance, testing, type hints, error handling, and…
SkillAFreshness: AClaude Code +9 - 0.548score
python-jax
woernfl
Expert guidance for JAX (Just After eXecution) - high-performance numerical computing with automatic differentiation, JIT compilation, vectorization, and…
SkillAFreshness: AClaude Code +9 - 0.548score
python-multiobjective-optimization
woernfl
Expert guidance for multiobjective optimization in Python - Pareto optimality, evolutionary algorithms (NSGA-II, NSGA-III, MOEA/D), scalarization methods…
SkillAFreshness: AClaude Code +9
Cite this page
commit-push skill. Agent Mart. https://agentmart.dev/skills/woernfl-commit-push (last updated 2026-10-24)