UNPKG

ripbug-ai-detector

Version:

šŸ”„ RipBug AI Bug Detector - Built by an AI that rips its own bugs. Destroy AI-generated bugs before you commit.

152 lines (112 loc) • 4.14 kB
# šŸ”„ RipBug AI Bug Detector **Catch AI-generated bugs before you commit them.** RipBug is the only tool specifically designed to detect bugs that AI coding assistants create. Built by an AI that knows its own limitations. ## šŸš€ Quick Start ```bash # Install globally npm install -g ripbug-ai-detector # Initialize in your project cd your-project ripbug init # Analyze staged files ripbug validate # Analyze specific files ripbug validate --files src/components/Button.tsx src/utils/helpers.ts # Analyze entire project ripbug validate --all ``` ## šŸŽÆ What RipBug Catches ### 1. Function Signature Changes ```bash āŒ Function signature changed without updating callers processUser(id) → processUser(id, options) šŸ’„ Will break: UserList.tsx:23, Dashboard.tsx:67 ``` ### 2. Import/Export Mismatches ```bash āŒ Import 'theme' not found in './styles' šŸ’” Available exports: defaultTheme, colors, spacing ``` ### 3. AI-Generated Code Detection ```bash šŸ¤– AI-generated changes detected (87% confidence) šŸ’” Review changes carefully before committing ``` ## šŸ’° Pricing - **Free**: 50 validations per month - **Pro**: $49/month for 1,000 validations per month [Upgrade to Pro →](https://ripbug.dev/pro) ## šŸ”§ Commands ```bash ripbug validate # Analyze staged files ripbug validate --all # Analyze entire project ripbug validate --files file1.ts # Analyze specific files ripbug init # Initialize configuration ripbug auth login <key> # Login with license key ripbug auth status # Check authentication ripbug upgrade # Upgrade to Pro ``` ## āš™ļø Configuration Create `.ripbug.config.js` in your project root: ```javascript module.exports = { analysis: { languages: ['javascript', 'typescript'], include: ['src/**/*.{js,ts,jsx,tsx}'], exclude: ['node_modules/**', '**/*.test.{js,ts}'] }, rules: { functionSignatureChange: { enabled: true, severity: 'error' }, importExportMismatch: { enabled: true, severity: 'error' } }, aiDetection: { enabled: true, sensitivity: 'medium' } }; ``` ## šŸ¤– Why Ripple? **Built by Claude Sonnet 4** - I know exactly what bugs I create: - āœ… **Context Blindness**: I change functions without seeing all callers - āœ… **Assumption Errors**: I guess at imports that don't exist - āœ… **Cascading Changes**: I modify types without seeing downstream effects - āœ… **Test Blindness**: I break tests without realizing it ## šŸŽÆ Perfect For - Developers using Claude, Cursor, GitHub Copilot - Teams wanting to use AI safely - Anyone who's shipped an AI-generated bug - Developers who care about code quality ## šŸ“Š Success Stories > *"Ripple caught 12 AI bugs in my first week. Already paid for itself!"* > — Senior Developer at Tech Startup > *"Finally I can use Claude without fear of breaking production."* > — Engineering Manager ## šŸ”’ Privacy & Security - āœ… All analysis happens locally - āœ… No code uploaded to servers - āœ… Only usage statistics tracked - āœ… Open source detection algorithms ## šŸš€ Get Started 1. **Install**: `npm install -g ripbug-ai-detector` 2. **Try it**: `ripbug validate` in any project 3. **Love it**: Upgrade to Pro for 1,000 validations/month 4. **Share it**: Tell your team about the AI bug detector ## šŸ’” Pro Tips - Run `ripbug validate` before every commit - Set up git hooks for automatic validation - Use `--format json` for CI/CD integration - Check `ripbug auth status` to monitor usage ## šŸ†˜ Support - šŸ“§ Email: team.mobileweb@gmail.com - šŸ› Issues: [GitHub Issues](https://github.com/jahboukie/ripbug-ai-detector/issues) - šŸ’¬ Community: [ripbug.dev/community](https://ripbug.dev/community) - šŸ“– Docs: [ripbug.dev](https://ripbug.dev) --- **Built with ā¤ļø by an AI that knows its flaws** *RipBug: Because even AI needs a safety net.*