galaxyrepowatch
v1.0.13
Published
AI-powered Git pre-commit guard. Blocks bad code, detects secrets, runs Gemini AI review on every commit.
Maintainers
Readme
🛡️ Galaxy Repo Watch — AI Guard
Enterprise-grade AI Git Review Guard powered by Gemini.
⚠️ DO NOT RUN npm install ⚠️
This package is an automated installer. To set up AI Guard in your project, simply run the init command:
npx galaxyrepowatch initWhat this does:
Running the command above will automatically:
- Install the required dependencies.
- Initialize Husky in your project.
- Configure a
pre-commithook to automatically review your code before every commit. - Ask for your Gemini API key (only once) and save it locally.
- Create a
.repowatchrcconfiguration file for custom rules.
How it works:
Every time you run git commit, the AI Guard will:
- Check your code for critical syntax errors.
- Scan for hardcoded secrets and passwords.
- Run a Gemini 2.5 Flash AI code review on your staged changes.
- Block the commit if the code exceeds the risk threshold (75/100).
