skills/navanithans/agent-skill-kit/ask-commit-assistance

ask-commit-assistance

SKILL.md

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. ❌ NO git add . → stage specific files only. ❌ NO committing secrets/debug code without explicit user confirmation. ✅ 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>

<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

Option 1 (detailed): subject + body explaining why/what Option 2 (short): just subject line </commit_format>

Weekly Installs
11
GitHub Stars
1
First Seen
Feb 16, 2026
Installed on
gemini-cli11
qoder11
replit11
antigravity11
codebuddy11
qwen-code11