about-me
Use this skill when the user wants to create a founder profile, establish their personal…
Use this skill when the user's app feels slow, the codebase feels bloated, or after significant development work. Also use when the user says 'my app is slow,' 'clean up my code,' 'reduce bundle size,' 'my hosting bill is too high,' or 'everything feels sluggish.' Optimizes
$ npx -y skills add whawkinsiv/solo-founder-skills --skill optimize --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/optimizeContext preview
The summary Claude sees to decide when to auto-load this skill.
Use this skill when the user's app feels slow, the codebase feels bloated, or after significant development work. Also use when the user says 'my app is slow,' 'clean up my code,' 'reduce bundle size,' 'my hosting bill is too high,' or 'everything feels sluggish.' Optimizes
name: optimize description: "Use this skill when the user's app feels slow, the codebase feels bloated, or after significant development work. Also use when the user says 'my app is slow,' 'clean up my code,' 'reduce bundle size,' 'my hosting bill is too high,' or 'everything feels sluggish.' Optimizes across four dimensions: Speed (page load, API response), Code (unused files, dead code), Database (orphaned data, schema hygiene), and Dependencies (package bloat, bundle size)."
Reduce waste and improve efficiency. **Only optimize after you have real users and real problems** — premature optimization is the most common waste of founder time.
**This skill is for making existing things faster and leaner.** For building features, use **build**. For fixing bugs, use **debug**. For monitoring performance in production, use **monitor**. For database schema design, use **database**.
Optimize your app: - [ ] Measure first — get actual numbers (page load, API speed, bundle size) - [ ] Speed — fix the slowest page or API endpoint - [ ] Dependencies — update packages, remove unused ones - [ ] Database — clean orphaned data, optimize slow queries - [ ] Code — remove dead code and unused files - [ ] Re-measure — verify improvements with numbers
**Don't optimize when:**
**Optimize when:**
**Rule:** Make it work → get users → measure → THEN make it lean.
---
When multiple things need work:
1. **Speed** — Users feel this immediately. Slow = churn. 2. **Dependencies** — Security vulnerabilities are urgent. Bundle bloat affects speed. 3. **Database** — Affects long-term performance and hosting costs. 4. **Code** — Affects maintainability. Lowest user impact.
---
| Metric | Good | Bad | |--------|------|-----| | Page load | < 3s | > 5s | | API response | < 500ms | > 1s | | Time to interactive | < 5s | > 8s |
**Claude Code** (can measure directly):
Audit app performance: - Measure page load times for the 3 most important pages - Log API response times for the 5 most-used endpoints - Identify the slowest database queries - Check total bundle size Report findings with specific numbers.
**Lovable / Replit / Cursor** (measure manually first): 1. Open your app in Chrome → Right-click → Inspect → Network tab → Reload 2. Note the "Load" time at the bottom — that's your page load time 3. Click a button that calls your API — note the request time in Network tab 4. Then paste findings into chat:
My app's performance numbers: - Homepage loads in [X] seconds - [Main feature] API takes [X] seconds - [Other page] loads in [X] seconds What's slow and how do I fix it?
**Tell AI:**
Optimize these performance issues: [paste audit findings] Apply fixes in this order: 1. Add caching for slow API calls 2. Add database indexes for slow queries 3. Optimize and lazy-load images 4. Code split large bundles Run build and tests after each fix.
**Tell AI:**
Add performance monitoring: - Log API calls > 500ms - Log database queries > 100ms - Alert if page load > 3s
See [PERFORMANCE-CHECKS.md](PERFORMANCE-CHECKS.md) for detailed testing methods.
---
The most relevant optimization at any stage — even pre-launch.
**Tell AI:**
Audit dependencies: - List packages not imported anywhere in code - List packages with security vulnerabilities - Analyze bundle size by package - Find packages with lighter alternatives Report: package name, size impact, and recommendation.
**Tell AI:**
Clean up dependencies: [paste audit findings] Steps: - Remove unused packages from package.json - Update packages with security vulnerabilities - Replace heavy packages with lighter alternatives After changes: delete node_modules, fresh npm install, run build and tests.
**Common replacements:**
| Heavy | Light Alternative | |-------|-------------------| | moment.js | date-fns or dayjs | | lodash (full) | lodash-es (tree-shakeable) | | axios | fetch (built-in) |
**Tell AI:**
Set up dependency hygiene: - Add npm audit to CI pipeline - Configure Dependabot for automatic security updates
See [DEPENDENCIES.md](DEPENDENCIES.md) for detailed patterns.
---
**When this matters:** After months of real usage, when queries slow down or hosting costs climb.
**Tell AI:**
Audit database for optimization opportunities: - Find missing indexes on frequently queried columns - Find slow queries (> 100ms) - Find orphaned records (foreign keys pointing to deleted rows) - Find tables with no recent reads/writes For each issue, apply the fix: - Add indexes for slow queries - Set up ON DELETE CASCADE for dependent records - Create cleanup job for orphaned/soft-deleted records (> 90 days) Always backup before making schema changes.
---
**When this matters:** After your codebase has grown significantly through AI-assisted iteration. Multiple rounds of "build feature, rebuild feature" leave dead code.
**Tell AI:**
Audit codebase for unused cod
59 expert skills for non-technical founders building SaaS with AI tools (Claude Code, Lovable, Replit, Cursor). Covers the full lifecycle of planning, building, launching, and growing a software business — actionable guides, checklists, and copy-paste prompts.
Use this skill when the user wants to create a founder profile, establish their personal…
Use this skill when the user needs to set up bookkeeping, track revenue and expenses, prepare…
Use this skill when the user needs to run Google Ads, write ad copy, select keywords,…
Use this skill when the user needs to add AI-powered features to their SaaS product,…
Use this skill when the user needs to set up analytics, design event tracking, define key…
Use this skill when the user wants to make their app look better, says it looks like a…