By gaupoit
Search for existing libraries, open-source tools, and SaaS alternatives before coding to avoid reinventing the wheel. Compare build-vs-buy options with token cost estimates and comparison tables.
A Claude Code skill that helps you make informed build vs. buy decisions before writing code.
This skill acts as a "Reinventing the Wheel" detector. When you describe something you want to build, it will:
# Add the marketplace
/plugin marketplace add gaupoit/programming-advisor
# Install the plugin
/plugin install programming-advisor
Clone this repository:
git clone https://github.com/gaupoit/programming-advisor.git
cd programming-advisor
# Install as local plugin
claude --plugin-dir .
Try the plugin with our sample project:
git clone https://github.com/gaupoit/dont-reinvent-the-wheel-demo.git
cd dont-reinvent-the-wheel-demo
claude
Then ask: "I want to add form validation to my LoginForm component"
The skill triggers automatically when you describe something you want to build:
Or invoke it directly:
/programming-advisor
"I want to add form validation to my LoginForm"
## 🔍 Existing Solutions Found
### Libraries/Packages
- **Zod**: TypeScript-first schema validation | 35K+ stars
- **React Hook Form**: Performant form library | 41K+ stars
## 📊 Build vs Buy Comparison
| Option | Type | Cost | Setup | Maintenance | Est. Tokens |
|--------|------|------|-------|-------------|-------------|
| Zod + RHF | Library | Free | 15 min | Updates | ~2K |
| Custom | Build | Free | 1-2 hrs | High | ~15-30K |
## 💡 Recommendation
Use Zod + React Hook Form...
"Let's use Zod with React Hook Form"
## 🚀 Integration Plan: Zod + React Hook Form
### Your Project Context
- **Detected**: Next.js 14, pnpm, TypeScript
- **Project structure**: src/app/, src/components/
### Step 1: Install Dependencies
pnpm add zod react-hook-form @hookform/resolvers
### Step 2: Create New Files
📁 src/schemas/login.ts
[starter code with your schema]
### Step 3: Update Existing Files
📝 src/components/LoginForm.tsx
[integration code matching your style]
### ⚠️ Notes
- React Hook Form v7+ requires React 16.8+ ✅
references/common-solutions.md - Exhaustive list of commonly reinvented wheelsreferences/token-estimates.md - Detailed token burn estimates by task typereferences/integration-patterns.md - Project detection and starter code patternsreferences/pricing-data.md - SaaS pricing and cost calculation dataWhen you accept a recommendation, the plugin:
For significant decisions (auth, payments, email), get TCO analysis:
| Option | Setup | Monthly | Year 1 | Year 3 | Notes |
|--------|-------|---------|--------|--------|-------|
| Auth0 | 10min | $35 | $420 | $1,260 | Free: 7.5K MAU |
| Clerk | 10min | $25 | $300 | $900 | Free: 10K MAU |
| DIY | 8hrs | $0 | ~$1,500 | ~$2,100 | + maintenance |
💡 Break-even: DIY only cheaper at >100K MAU
⚠️ Hidden costs: Security audits, compliance, on-call
Includes pricing data for: Auth, Email, Payments, Database, Storage, Search, Monitoring, Analytics, AI/LLM, Cron jobs
Before writing a single line of code, determine if the wheel already exists.
Vibe coding burns tokens, time, and creates maintenance burden. Existing solutions often provide:
MIT
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-3 --plugin gaupoit-programming-advisorMatt Pocock's agent skills for real engineering — grilling, spec/ticket flows, TDD, code review, domain modelling and more. Plug-and-play, not vibe coding.
Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
Design fluency for frontend development. 1 skill with 23 commands (/impeccable polish, /impeccable audit, /impeccable critique, etc.) and curated anti-pattern detection.
Harness-native ECC plugin for engineering teams - 67 agents, 279 skills, 94 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses
Lazy senior dev mode. Forces the simplest, shortest solution that actually works: YAGNI, stdlib first, no unrequested abstractions.