AI Guard
v0.2.0AST-based analyzer that detects AI-generated code patterns like excessive comments, generic variable names, and AI-typical phrases. Works as CLI or programmatic API.
Install
npm install @promise-inc/ai-guardFeatures
AST-based analysis with ts-morph
5 built-in detection rules
CLI and programmatic API
Git staged files support
Configurable thresholds
TypeScript & JavaScript support