Skip to content
Agentmart
Submit a tool

commit

Use this skill when asked to create or amend a commit.

Skill by szokeasaurusrex

IndexedMIT★ 2
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/szokeasaurusrex-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 this skill when asked to create or amend a commit.

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
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/commit

What's inside

Skill name
commit
Description
Use this skill when asked to create or amend a commit.
License
MIT
Instructions
44 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (3)

  • SKILL.md
  • commit-footer-from-issue.sh · scripts/
  • fetch-commit-guidelines.sh · scripts/

SKILL.md (first lines)

# Commit

Use this skill whenever creating or amending a commit.

## 1) Fetch and follow official commit guidelines

Run:

```bash
scripts/fetch-commit-guidelines.sh
```

Use that output as the source of truth for commit format/rules.

**Exception:** Never **manually wrap lines** or **enforce maximum line length**! Although the commit guidelines state that line length should be limited, the reasoning is not applicable to the workflows used where you are writing code. In our workflows, manually-wrapped lines make it harder to read commit messages, especially when these are converted to PR descriptions.

## 2) Write the commit body for maintainers

Commit messages are reused as PR descriptions, so optimize for skimmability:
- include brief context for why the change is needed
- include why this approach was chosen (when relevant)
- include Markdown links to relevant sources/issues/docs when useful
- be concise, human, and specific
- assume reviewers will skim the linked issue; do not restate it in depth

## 3) Generate and append commit footer lines

Run:

```bash
scripts/commit-footer-from-issue.sh <github-issue-number>
```

Or specify repo explicitly:

```bash
scripts/commit-footer-from-issue.sh <github-issue-number> owner/repo
```

Append the output at the end of the commit message.

The script always prints `Closes #<issue>`. If a Linear linkback comment exists on the GitHub issue, it also prints `Closes [ABC-123](https://linear.app/...)`.

From szokeasaurusrex/pi-agent, MIT.

More from szokeasaurusrex/pi-agent

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Sep 30, 2026 (29 days ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from szokeasaurusrex

Cite this page

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