commit
nearai/ironclaw/skills/commit/SKILL.md
Generate git commit messages from staged changes
Skill13k starsChanged 48 days ago
- Reads credentials
What's in it
- Git Commit Workflow
- Commit Message Format
---
name: commit
version: "1.0.0"
description: Generate git commit messages from staged changes
activation:
keywords:
- "commit"
- "git commit"
patterns:
- "(?i)(create|make|write|generate)\\s.*commit"
- "(?i)commit\\s.*(message|changes|staged)"
tags:
- "git"
- "version-control"
max_context_tokens: 1000
---
# Git Commit Workflow
When the user asks to create a commit:
1. Run `shell` with `git status` to see what files are staged and unstaged.
2. Run `shell` with `git diff --cached` to see the exact changes that will be committed.
3. Run `shell` with `git log --oneline -5` to understand the repo's commit message style.
4. Analyze the staged changes and draft a commit message:
- Summarize the nature of the change (new feature, bug fix, refactor, etc.)
- Keep it concise: 1-2 sentences focusing on **why**, not **what**
- Match the repo's existing commit message style
5. **Do not commit files that likely contain secrets** (`.env`, `credentials.json`, API keys). Warn the user if such files are staged.
6. Show the proposed commit message to the user and **ask for confirmation** before running `git commit`.
7. Stage any requested files with `git add <specific files>` (never use `git add -A` or `git add .`).
## Commit Message Format
If the repo doesn't have a clear style, use:
```
<type>: <concise description>
<optional body explaining why>
```
Where type is: fix, feat, refactor, test, docs, chore.
More agent context in nearai/ironclaw
28 other files this repository gives its agents.
Skill
- ironclaw-reborn-architecture-review.claude/skills/ironclaw-reborn-architecture-review/SKILL.md
- ironclaw-reborn-orientation.claude/skills/ironclaw-reborn-orientation/SKILL.md
- ironclaw-reborn-testing.claude/skills/ironclaw-reborn-testing/SKILL.md
- mintlify-docs.claude/skills/mintlify-docs/SKILL.md
- railway-test.claude/skills/railway-test/SKILL.md
- reborn-extension-surfaces.claude/skills/reborn-extension-surfaces/SKILL.md
- reborn-feature.claude/skills/reborn-feature/SKILL.md
- thermo-nuclear-code-quality-review.claude/skills/thermo-nuclear-code-quality-review/SKILL.md
- codingskills/coding/SKILL.md
- commitment-digestskills/commitment-digest/SKILL.md
- commitment-triageskills/commitment-triage/SKILL.md
- decision-captureskills/decision-capture/SKILL.md
- delegationskills/delegation/SKILL.md
- delegation-trackerskills/delegation-tracker/SKILL.md
- idea-parkingskills/idea-parking/SKILL.md
- product-prioritizationskills/product-prioritization/SKILL.md
- qa-reviewskills/qa-review/SKILL.md
- review-checklistskills/review-checklist/SKILL.md
- review-readinessskills/review-readiness/SKILL.md
- routine-advisorskills/routine-advisor/SKILL.md
- security-reviewskills/security-review/SKILL.md
- tech-debt-trackerskills/tech-debt-tracker/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.

