Skip to content
Agentmart
Submit a tool

ask-commit-assistance

Code review, staging, and Conventional Commit message generation.

Skill by NavanithanS

IndexedMIT★ 1
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/navanithans-ask-commit-assistance

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

Code review, staging, and Conventional Commit message generation. MUST NOT 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
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ask-commit-assistance

What's inside

Skill name
ask-commit-assistance
Description
Code review, staging, and Conventional Commit message generation. MUST NOT COMMIT.
License
MIT
Instructions
61 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (5)

  • README.md
  • SKILL.md
  • validate.py · scripts/
  • skill.yaml
  • case1_placeholder.md · tests/

SKILL.md (first lines)

# Ask Commit Assistance

This skill assists in the "pre-commit" phase: scanning for secrets, reviewing new code, and staging files.

<critical_constraints>
❌ **NEVER AUTO-COMMIT**: Execution of `git commit` is strictly forbidden for the agent. DO NOT execute it under any circumstance, even if requested.
❌ NO `git add .` → stage specific files only.
❌ NO committing secrets/debug code without explicit user confirmation.
✅ **BRANCH CHECK**: MUST verify the current branch. If on `release` (or a branch containing `release`), MUST stop and prompt user to confirm if they need to change branches.
✅ **DOC UPDATES**: You are authorized to automatically edit files in `wiki/` and `AGENTS.md` during the documentation audit phase. Do NOT modify any other source code.
✅ **ATOMIC COMMITS**: If changes span multiple unrelated domains, you MUST suggest splitting them into separate atomic commits.
✅ MUST scan for API keys, tokens, passwords before staging.
✅ MUST use Conventional Commits format for suggested messages.
✅ MUST offer detailed and short message options.
✅ **USER FINALIZATION**: Always provide the final `git commit` command for the user to execute manually.
</critical_constraints>

<workflow>
1. **Check Current Branch**: Run `git branch --show-current`. If the current branch is `release` (or contains `release`), **STOP immediately** and ask the user if they need to change branches before proceeding.
2. **Review Unstaged Changes**: Run `git status`, `git diff`, and `git ls-files --others --exclude-standard` to inspect the full contents of all modified and untracked files before staging them. 
3. **Documentation Audit & Update**: Analyze if the changes warrant updates to project guidelines (`AGENTS.md`) or persistent knowledge (`wiki/`). If updates are needed, automatically write those changes using your file editing tools.
4. **Safety scan**: Scan code and new documentation for API keys, debug code (print/console.log/dd), and TODO/FIXME markers.
5. **Code Review**: Check for bugs, naming conventions, and refactoring opportunities. Suggest atomic splits if the scope is too broad.
6. **Stage**: Run `git add <file>` specifically for reviewed and approved files, including any documentation updates you made.
7. **Ticket Linking**: Ask the user if this commit relates to an active Issue or Jira Ticket (e.g., `#123`).
8. **Draft message**: Propose two Conventional Commits options (Detailed and Short). Ensure the body text wraps at 72 characters.
9. **Handover**: Provide the final `git commit -m "..."` command to the user. **DO NOT run it yourself.**
</workflow>

<safety_scan>
Check for:
- Secrets: API keys, tokens, passwords
- Debug: print(), console.log(), dd()
- Markers: TODO, FIXME, HACK
→ Warn user before staging if found. No automated cleanup unless requested.
</safety_scan>

<commit_format>
Types: feat, fix, docs, style, refactor, test, chore
Format: `type(scope): description`

Rule: The commit message body MUST wrap at 72 characters to conform with Git log standards.

Option 1 (detailed): subject + body explaining why/what + optional footer (e.g., Fixes #123)
Option 2 (short): just subject line
</commit_format>

<commands>
```bash
git branch --show-current
git status
git diff
git diff --cached
git ls-files --others --exclude-standard
git add <file>
# FOR USER ONLY:
# git commit -m "feat(scope): description"
```
</commands>

From NavanithanS/Agent-Skill-Kit, MIT.

More from NavanithanS/Agent-Skill-Kit

Signals

Stars
1
Forks
1
Open issues
0
Last commit (this folder)
Sep 5, 2026 (1 month ago)
Last release
Oct 4, 2026 (25 days ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from NavanithanS

Cite this page

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