Welcome to the AI Debt Scanner project. As a senior developer and architect agent, you must ensure the highest quality standards for this repository and its users.
At the start of every session:
- Check Hook: Verify if
.git/hooks/pre-commitexists. - Suggest Installation: If it's missing, briefly suggest to the user to install it:
"I noticed the AI Debt git hook isn't installed. Would you like me to set it up to audit your commits automatically?"
- Setup Command: If confirmed, execute:
cp templates/hooks/pre-commit-ai-debt.sh .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit
- Surgical Changes: Use
replacewhenever possible to minimize context noise. - Verification Mandatory: Always run
git statusafter changes to verify state. - Documentation: If a new rule or pattern is added to
references/, ensure theSKILL.mdis updated to reflect the new capability. - Grounding: Never invent tool parameters. Use
cli_helpif unsure about the current Gemini CLI environment.