ask-commit-assistance
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>
More from navanithans/agent-skill-kit
ask-explaining-code
Explain code via analogies, ASCII diagrams, step-by-step walkthroughs.
17ask-owasp-security-review
Static security analysis auditing for OWASP Top 10 risks.
15ask-system-architect-prime
Principal Architect for repo audits, complexity analysis, and refactoring recommendations.
15ask-nextjs-architect
Next.js 14+ scaffolding. App Router, Server Components, Server Actions, SEO.
15ask-python-refactor
Python refactoring for readability, maintainability, and performance.
14ask-shadcn-architect
Enforce shadcn/ui patterns, imports, and CLI-first component usage.
14