ripple-ai-detector
Version:
š Ripple AI Bug Detector - Built by an AI that knows its flaws. Catch AI-generated bugs before you commit.
151 lines (112 loc) ⢠3.9 kB
Markdown
# š Ripple AI Bug Detector
**Catch AI-generated bugs before you commit them.**
Ripple 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 ripple-validator
# Initialize in your project
cd your-project
ripple init
# Analyze staged files
ripple validate
# Analyze specific files
ripple validate src/components/Button.tsx src/utils/helpers.ts
# Analyze entire project
ripple validate --all
```
## šÆ What Ripple 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**: 10 validations per month
- **Pro**: $49/month for unlimited validations
- **Team**: $99/month with team dashboard
## š§ Commands
```bash
ripple validate # Analyze staged files
ripple validate --all # Analyze entire project
ripple validate file1.ts # Analyze specific files
ripple init # Initialize configuration
ripple auth login <key> # Login with license key
ripple auth status # Check authentication
ripple upgrade # Upgrade to Pro
```
## āļø Configuration
Create `.ripple.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 ripple-validator`
2. **Try it**: `ripple validate` in any project
3. **Love it**: Upgrade to Pro for unlimited validations
4. **Share it**: Tell your team about the AI bug detector
## š” Pro Tips
- Run `ripple validate` before every commit
- Set up git hooks for automatic validation
- Use `--format json` for CI/CD integration
- Check `ripple auth status` to monitor usage
## š Support
- š§ Email: support@ripple.dev
- š Issues: [GitHub Issues](https://github.com/ripple-team/ripple-validator/issues)
- š¬ Discord: [Join our community](https://discord.gg/ripple)
- š Docs: [ripple.dev/docs](https://ripple.dev/docs)
---
**Built with ā¤ļø by an AI that knows its flaws**
*Ripple: Because even AI needs a safety net.*