Skip to content
Agentmart
Submit a tool

workflow-commit

Use when the user asks to run workflow:commit, create a commit, make a git commit, stage changes, write a commit message, or prepare local changes for shipping.

Skill by fimoklei

IndexedMIT★ 42
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/fimoklei-workflow-commit

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

Use when the user asks to run workflow:commit, create a commit, make a git commit, stage changes, write a commit message, or prepare local changes for shipping.

Use cases: writing, productivity

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/workflow-commit

What's inside

Skill name
workflow-commit
Description
Use when the user asks to run workflow:commit, create a commit, make a git commit, stage changes, write a commit message, or prepare local changes for shipping.
License
MIT
Instructions
64 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • security.md

SKILL.md (first lines)

# Workflow Commit

Create a safe, intentional git commit from the current worktree.

## Trigger Phrases

- `workflow:commit`
- `commit workflow`
- `make a commit`
- `create a commit`
- `stage and commit this`
- `commit these changes`

## Process

1. Inspect repository state:
   - Run `git status --short --branch`.
   - Run `git diff --staged`.
   - If nothing is staged, inspect `git diff` and `git status --short`, then propose what should be staged.

2. Protect user work:
   - Never revert, reset, discard, or overwrite user changes.
   - If unrelated changes are present, leave them untouched and stage only the files needed for the commit.
   - If the intended commit scope is ambiguous, ask before staging.

3. Honor main-branch policy:
   - Run `git branch --show-current` and `git rev-parse --show-toplevel`.
   - If on `main` or `master` and `.claude/allow-main-commits` is absent at the repo root, stop and create a feature branch before committing.
   - If on `main` or `master` and `.claude/allow-main-commits` exists, allow content-only commits but block commits touching `.claude/` or `06-system/`.
   - Check both already staged files and any files being staged for this commit before deciding.
   - If protected paths are involved, stop and create a feature branch before committing.

4. Run pre-commit checks:
   - Always run `git diff --check`.
   - If `package.json` exists, inspect scripts before choosing checks.
   - Prefer existing repo scripts in this order when present: lint, typecheck, test.
   - Do not invent missing scripts. If no check command is discoverable, say so clearly.
   - If checks fail, stop and help fix the issue before committing.

5. Review security gates:
   - Read the bundled `security.md` in this skill's directory before proposing the commit.
   - If the checklist reveals a blocker, stop and help resolve it.

6. Propose the commit:
   - Choose one conventional commit type: `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, or `chore`.
   - Use a concise subject: `<type>: <description>`.
   - Add a body only when the change is complex or the why is not obvious.
   - Suggest splitting into multiple commits when the staged changes contain unrelated concerns.

7. Ask for approval before creating the commit:
   - Offer to use the message as-is, modify it, add a body, or stage different files.
   - After approval, create the commit.
   - Show the resulting commit hash and subject.

8. Offer the next step:
   - Ask whether to push, open a PR, or ship the branch.

## Command Notes

- Follow the active agent and project shell rules.
- Use non-interactive git commands whenever possible.
- Do not run destructive commands unless the user explicitly asks for them.

From fimoklei/pm-ai-playbook, MIT.

More from fimoklei/pm-ai-playbook

Signals

Stars
42
Forks
8
Open issues
0
Last commit (this folder)
May 17, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from fimoklei

Cite this page

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