git-commit-push
farm-fe/farm/.agents/skills/git-commit-push/SKILL.md
Commit and push repository changes safely. Use when user asks to commit, push, or verify and push current changes.
Skill5.6k starsChanged 5 months ago
- Commits and pushes
What's in it
- Steps
- Guardrails
--- name: git-commit-push description: Commit and push repository changes safely. Use when user asks to commit, push, or verify and push current changes. license: MIT compatibility: Requires git repository with remote configured. metadata: author: farm version: "1.0" --- Safely commit and push changes for the current branch. ## Steps 1. Check current branch and repo status - `git branch --show-current` - `git status --short` 2. Validate commit preconditions - If no changes: stop and report nothing to commit. - If merge conflicts exist: stop and ask user for conflict resolution direction. 3. Stage changes - Default: `git add -A` - If user specifies paths, only stage those. 4. Create commit - Use user-provided commit message. - If none is provided, draft a concise conventional message and ask for confirmation. - Run `git commit -m "<message>"`. 5. Push changes - Run `git push`. 6. Report result - Include branch name, commit hash, commit title, and push destination. - Include final `git status --short` result. ## Guardrails - Never use destructive git operations (force push, reset --hard, checkout --) unless explicitly requested. - Do not amend commits unless explicitly requested. - If hooks fail, surface the first failure and stop.
More agent context in farm-fe/farm
53 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
Skill
- a5c-ai-docusaurus.agents/skills/a5c-ai-docusaurus/SKILL.md
- agent-browser.agents/skills/agent-browser/SKILL.md
- brainstorming.agents/skills/brainstorming/SKILL.md
- building-farm-from-source.agents/skills/building-farm-from-source/SKILL.md
- creating-changesets.agents/skills/creating-changesets/SKILL.md
- dispatching-parallel-agents.agents/skills/dispatching-parallel-agents/SKILL.md
- executing-plans.agents/skills/executing-plans/SKILL.md
- farm-ready-gate.agents/skills/farm-ready-gate/SKILL.md
- find-skills.agents/skills/find-skills/SKILL.md
- finishing-a-development-branch.agents/skills/finishing-a-development-branch/SKILL.md
- rebase-commit-push-pr.agents/skills/rebase-commit-push-pr/SKILL.md
- receiving-code-review.agents/skills/receiving-code-review/SKILL.md
- requesting-code-review.agents/skills/requesting-code-review/SKILL.md
- rust-best-practices.agents/skills/rust-best-practices/SKILL.md
- rust-engineer.agents/skills/rust-engineer/SKILL.md
- self-improving-agent.agents/skills/self-improving-agent/SKILL.md
- subagent-driven-development.agents/skills/subagent-driven-development/SKILL.md
- systematic-debugging.agents/skills/systematic-debugging/SKILL.md
- test-driven-development.agents/skills/test-driven-development/SKILL.md
- using-git-worktrees.agents/skills/using-git-worktrees/SKILL.md
- using-superpowers.agents/skills/using-superpowers/SKILL.md
- verification-before-completion.agents/skills/verification-before-completion/SKILL.md
- writing-plans.agents/skills/writing-plans/SKILL.md
- writing-skills.agents/skills/writing-skills/SKILL.md
- a5c-ai-docusaurus.claude/skills/a5c-ai-docusaurus/SKILL.md
- agent-browser.claude/skills/agent-browser/SKILL.md
- brainstorming.claude/skills/brainstorming/SKILL.md
- creating-changesets.claude/skills/creating-changesets/SKILL.md
- dispatching-parallel-agents.claude/skills/dispatching-parallel-agents/SKILL.md
- executing-plans.claude/skills/executing-plans/SKILL.md
- farm-ready-gate.claude/skills/farm-ready-gate/SKILL.md
- find-skills.claude/skills/find-skills/SKILL.md
- finishing-a-development-branch.claude/skills/finishing-a-development-branch/SKILL.md
- gh-cli.claude/skills/gh-cli/SKILL.md
- git-commit-push.claude/skills/git-commit-push/SKILL.md
- rebase-commit-push-pr.claude/skills/rebase-commit-push-pr/SKILL.md
- receiving-code-review.claude/skills/receiving-code-review/SKILL.md
- requesting-code-review.claude/skills/requesting-code-review/SKILL.md
- rust-best-practices.claude/skills/rust-best-practices/SKILL.md
- rust-engineer.claude/skills/rust-engineer/SKILL.md
- self-improving-agent.claude/skills/self-improving-agent/SKILL.md
- subagent-driven-development.claude/skills/subagent-driven-development/SKILL.md
- systematic-debugging.claude/skills/systematic-debugging/SKILL.md
- test-driven-development.claude/skills/test-driven-development/SKILL.md
- using-git-worktrees.claude/skills/using-git-worktrees/SKILL.md
- using-superpowers.claude/skills/using-superpowers/SKILL.md
- verification-before-completion.claude/skills/verification-before-completion/SKILL.md
- writing-plans.claude/skills/writing-plans/SKILL.md
- writing-skills.claude/skills/writing-skills/SKILL.md
- e2e-example-acceptance.github/skills/e2e-example-acceptance/SKILL.md
- farmfe-guideskills/farmfe-guide/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

