By gaupoit
Before coding new features, search for libraries, open-source tools, and SaaS alternatives to decide build vs buy. Get comparison tables and token cost estimates to avoid reinventing the wheel and inform efficient development choices.
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
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-3 --plugin gaupoit-programming-advisorUse this agent when evaluating new development tools, frameworks, or services for the studio. This agent specializes in rapid tool assessment, comparative analysis, and making recommendations that align with the 6-day development cycle philosophy. Examples:\n\n<example>\nContext: Considering a new framework or library
Make AI agents research comparable projects, tradeoffs, costs, and failure conditions before giving build advice.
SaaS Builder Guide - Build production-ready SaaS from design to deployment with 11 skill guides, 5 AI agents, and beginner-friendly FAQ
Curated skills for Claude Code and Codex power users - tool selection, workflow optimization, and productivity
Debate implementation approaches with structured pros and cons analysis
Development agents, skills, hooks, and commands for Claude Code workflows