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. 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.
✅ 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>
More from navanithans/agent-skill-kit
ask-explaining-code
Explain code via analogies, ASCII diagrams, step-by-step walkthroughs.
18ask-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-shadcn-architect
Enforce shadcn/ui patterns, imports, and CLI-first component usage.
15ask-python-refactor
Python refactoring for readability, maintainability, and performance.
14