commit-and-push
FreeNo executable scriptsNot checkedCreates atomic conventional git commits using git-agent and pushes changes to the remote repository. Use when the user asks to "commit and push", "commit with…
by FradSer★ 598 GitHub starsAbout this skill
CRITICAL:
- Do NOT run
git status,git diff,git log, or any other read commands beforegit-agent commit. - Execute
git-agent commitdirectly.git-agent(v0.7.0+) automatically detects active model attribution from session environment variables (PI_MODEL, etc.).
Execution
- Derive a concise one-sentence intent from the conversation or
$ARGUMENTS. - Pass
--co-author "<co-author>"if explicitly specified in$ARGUMENTSor user instructions. - Run primary commit command:
git-agent commit --intent "<intent>" - If specific files are already staged, pass
--no-stage:git-agent commit --no-stage --intent "<intent>" - On auth error (401), retry with
--free:git-agent commit --free --intent "<intent>" - Fallback (if
git-agentbinary is not found): report the error and ask the user to install git-agent or run git commands manually. - Push to remote repository:
(If upstream is not set, usegit pushgit push -u origin <branch>).
CLI Reference: ../../references/cli.md
Attribution & retry-ladder reference: ../../references/coauthor-attribution.md (covers --no-attribution and the --free retry)
Deterministic messages: When an exact commit message is required (e.g. version bump
chore: bump version to 0.11.0), pass the full conventional message as the--intentvalue. The intent is used as the commit subject verbatim.
Install commit-and-push in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
Bash(git-agent:*)Bash(git:*)FAQ
What does the commit-and-push skill do?
Creates atomic conventional git commits using git-agent and pushes changes to the remote repository. Use when the user asks to "commit and push", "commit with git-agent", or wants an atomic AI-generated commit followed by a push.
How do I install the commit-and-push skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the commit-and-push skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic