saccoai-product-builder
This skill plans and builds products by analyzing existing systems and scaffolding new ones. It handles dashboards, CRMs, ERPs, AI products, and internal tools.
The user provides: existing app URL (or description), product type, and optionally analysis depth and tech stack preferences.
Execution Model
Single-agent hybrid. Sequential by default. Uses superpowers for parallelism:
- dispatching-parallel-agents for Phase 1 (extraction) and Phase 4 (building independent features)
- subagent-driven-development for complex multi-feature builds
Phase 1: Analyze Existing System
First, check if extraction output already exists:
if .saccoai/analysis/content-inventory.md exists → use it (skip re-crawling public pages)
if .saccoai/design-system/tokens.css exists → use it (skip design token extraction)
if .saccoai/product-analysis/system-overview.md exists → use it (skip product analysis)
Choose Analysis Depth
Ask the user which depth level to use:
Surface (default for simple projects):
- Screenshot each screen
- Note navigation structure and features
- Identify tech stack
Deep (for complex rebuilds):
- Everything in Surface, plus interactive exploration
- Map user journeys, forms, data relationships
- Document permissions and roles
Full (for complete reverse-engineering):
- Everything in Deep, plus technical analysis
- Infer database schema, API patterns, business logic
- Detect integrations
See references/analysis-playbook.md for the detailed playbook at each depth level.
Extraction
If the target is a public website, invoke saccoai-website-analysis and/or saccoai-design-system in parallel via superpowers dispatching-parallel-agents.
If the target is an authenticated application, use agent-browser in headful mode to interact with the UI. Ask the user for credentials if needed.
All analysis output goes to .saccoai/product-analysis/.
Phase 2: Plan
Based on the analysis, plan the new product. Use brainstorming skill principles:
- Propose 2-3 approaches with tradeoffs
- Get user confirmation before proceeding
Tech Stack Selection
Start from defaults based on product type:
| Product Type | Default Stack |
|---|---|
| AI product (chatbot, copilot) | Next.js 16 + AI SDK + AI Gateway + AI Elements + shadcn/ui |
| Dashboard / CRM / ERP | Next.js 16 + Tailwind v4 + shadcn/ui + Drizzle ORM + PostgreSQL |
| Internal tool | Next.js 16 + Tailwind v4 + shadcn/ui |
| General | Next.js 16 + Tailwind v4 + shadcn/ui |
Customize based on requirements:
- Auth: Better Auth (default), Clerk, Auth0
- Database: PostgreSQL via Drizzle ORM (default), or per user preference
- Payments: Stripe if needed
- Email: Nodemailer or Resend
Define Scope
- List all features/pages/user roles
- Create page/route inventory
- Define data model (entities, relationships, fields)
- Create component inventory (which shadcn/ui components, custom components)
- Prioritize: MVP features vs nice-to-have
Phase 3: Scaffold
Follow the architecture in _shared/references/build-standards.md:
- Create Next.js 16 project with TypeScript strict + Tailwind v4
- Initialize shadcn/ui with appropriate theme:
- If
.saccoai/design-system/tokens.cssexists, use extracted tokens - Otherwise, generate a theme matching the product type
- If
- Dark mode by default for dashboards, AI products, internal tools
- Set up route groups appropriate to product type:
- Dashboard app:
(auth)/,(dashboard)/ - Marketing + app:
(marketing)/,(auth)/,(app)/
- Dashboard app:
- Set up auth if needed
- Set up database schema if needed (Drizzle ORM)
- Install base shadcn/ui components
Phase 4: Build
Implement features following _shared/references/build-standards.md.
Use superpowers subagent-driven-development for parallel work on independent features.
For AI Products
- AI SDK with AI Gateway (OIDC auth via
vercel env pull) - AI Elements for all AI-generated text rendering (
npx ai-elements@latest) - useChat + streamText for chat interfaces
- Agent class for multi-step reasoning
- Always
<MessageResponse>for AI markdown, never raw text - See the ai-sdk skill for current API patterns
For Dashboards / CRMs / ERPs
- shadcn/ui Table + DataTable pattern for data grids
- Sheet for mobile navigation
- Dialog for create/edit forms
- AlertDialog for destructive confirmations
- Tabs + Card + Form for settings pages
- Badge for status indicators
- Skeleton for loading states
Build Order
- Auth flow (if needed)
- Root layout (sidebar/nav, header)
- Dashboard/home page
- CRUD pages (list -> detail -> create/edit)
- Settings
- Edge cases (empty states, error states, loading states)
Phase 5: QA
Follow _shared/references/qa-checklist.md:
- Lighthouse, accessibility, mobile, performance
- All output to
.saccoai/qa/ - Fix and re-audit until passing
Phase 6: Deploy
vercel link- Set up environment variables (
vercel env addfor secrets) vercel env pull .env.local- Run database migrations if applicable
vercel deployfor preview- Verify preview
vercel --prodfor production
More from saccoai/agent-skills
website-analysis
Crawl any website in a single pass to produce both a complete structural map and full content extraction. Discovers all pages, routes, navigation, multilingual variants, and issues while simultaneously extracting all text, images, metadata, and assets. Use before any migration, redesign, or audit.
16nextjs-fullstack
Opinionated Next.js fullstack patterns — App Router, Tailwind CSS v4, shadcn/ui, Better Auth, Drizzle ORM, Server Actions, and Vercel deployment. Use when scaffolding a new project or enforcing consistent architecture across client projects.
13seo-migration
SEO preservation during website migrations — redirect mapping, canonical URLs, sitemap generation, structured data, meta tags, and Search Console verification. Use when rebuilding a site to ensure zero SEO loss from URL changes, content moves, or domain switches.
9project-handoff
Generate complete client handoff documentation — deployment guide, environment setup, CMS instructions, maintenance checklist, architecture overview, and operational runbook. Use when delivering a finished project to a client or their team.
8client-proposal
Generate a professional project proposal from a website audit. Analyzes the prospect's current site, identifies issues, and produces a structured proposal with scope, deliverables, tech recommendations, and phased timeline. Use as a sales tool or for scoping client engagements.
6web-audit
Comprehensive website quality audit — Lighthouse scores, accessibility (axe-core), cross-browser testing, performance budgets, and mobile responsiveness. Generates actionable reports with pass/fail per page. Use to audit any live website or as a QA gate before deployment.
6