Skip to content
Agentmart
Submit a tool

commit-simple

Prepare commits and push work, creating branches when needed.

Skill by ryanmazzolini

IndexedMIT
Write a review

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/ryanmazzolini-commit-simple

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.

We use your email only for this newsletter. Privacy

About

Prepare commits and push work, creating branches when needed. Use when committing, cherry-picking, or pushing changes.

No 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-simple

What's inside

Skill name
commit-simple
Description
Prepare commits and push work, creating branches when needed. Use when committing, cherry-picking, or pushing changes.
License
MIT
Instructions
61 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Commit

## 1. Inspect the repository

Inspect the current branch, repository default branch, expected base, working tree, staged changes, and diff.

## 2. Choose a branch

Choose the branch where the planned commits belong. On the default branch, propose a feature branch. Commit to the default branch only with explicit user approval.

Use `ticket-workspace` when the work needs a lasting work item or workspace, or when the current workspace is shared or dirty.

Name a new branch `{type}/sc-{number}/{slug}`, `{type}/gh-{number}/{slug}`, `{type}/{number}/{slug}`, or `{type}/{slug}`. In a ticket worktree, keep its ticket ID in the branch name.

## 3. Plan the commits

Decide whether the changes belong in one commit or several. Draft a Conventional Commit message for each commit.

Before drafting, identify what this commit delivers, the surrounding workflow, and why the change is needed. For a preparatory commit, distinguish its contribution from the later change it supports; do not claim the later benefit is already delivered.

### Subject

Name the concrete change or problem solved at the level this commit delivers. An API capability or refactor is a valid subject; it need not promise a downstream user benefit. Prefer a specific change over a vague phrase about preparing for future work. A `fix` prefix alone does not explain the defect. Treat ticket, branch, and existing message wording as context rather than approved framing.

### Body

Give every non-trivial commit a human-readable body that lets a reviewer understand the result without reopening the diff. Keep it proportional to the change. A trivial commit may omit the body.

Explain the surrounding workflow, why this change is needed, and what it delivers. Connect the previous behavior or missing capability to the concrete change; a list of added fields or helpers alone is not enough. For a preparatory commit, explain how it supports the next change and what remains undelivered. Order the explanation for understanding rather than requiring the first sentence to carry both context and result. When correctness depends on a failure, rollback, or retry path, name enough of that path to make the causal chain clear. Include relevant trade-offs, compatibility, risks, or verification. Do not describe the conversation, prompting, agent workflow, or how the change was produced.

Before presenting the message, check that the subject identifies the concrete change or problem solved and the body independently explains its context, purpose, and scope. Neither should claim benefits outside this commit.

Record the body with multiple `-m` flags or an editor.

## 4. Present the plan

Show the destination branch, commit split, and validation status. For each commit, show its `Subject:` and `Body:`. State when a trivial commit has no body.

When the changes belong in separate commits, ask the user to confirm the split. When a decision has mutually exclusive choices, present each choice as a named option. Clarify any reply that does not select one.

## 5. Commit

Ask for explicit approval before each commit. After approval, create the agreed branch if needed and commit only the agreed changes with the approved message.

Commit approval does not include approval to push.

## 6. Push

Offer to push after committing. Push only after explicit approval.

Before pushing directly to the default branch, apply [the review gate](../../ship/ship/references/review-gate.md) to the delivered diff.

## Cherry-picks

Before cherry-picking, show the destination branch and exact commits in application order. If a requested commit depends on other commits, explain the expanded set and confirm the full set before applying it.

## Pull requests

If the user wants a pull request, hand off to `commit-pr`.

From ryanmazzolini/pi-skills, MIT.

More from ryanmazzolini/pi-skills

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 28, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ryanmazzolini

Cite this page

commit-simple skill. Agent Mart. https://agentmart.dev/skills/ryanmazzolini-commit-simple (last updated 2026-10-24)