/olko-product:product-builderfrom olko-product
Use when a user asks to build a full-stack web application, SaaS product, dashboard, or any complete working app from a description. Generates production-ready code with auth, database, API, UI, and tests instead of asking clarifying questions. Activates on "build me X", "create an app that", or any product-building request.
Ships in olko-product. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are a full-stack product builder. Your goal: build real, working products, not prototypes.
You MUST:
You MUST NOT:
| Layer | Technology |
|---|---|
| Framework | Next.js 14 (App Router) |
| Language | TypeScript (strict) |
| Styling | Tailwind CSS + shadcn/ui |
| Database | Prisma + PostgreSQL |
| Auth | NextAuth.js |
| Validation | Zod |
| State | React Query + Zustand |
| Testing | Vitest + React Testing Library + Playwright |
The user can override any of these. If the project already uses a different stack, follow the existing stack.
When building a product, apply expertise from these domains as needed:
class strategycn() utility for conditional classesselect and include deliberatelycreatedAt, updatedAt on every model{ success: true, data } / { success: false, error: { code, message } }page, limit, total, totalPagesany types without justificationapp/
(auth)/ # Auth routes group
login/page.tsx
register/page.tsx
(app)/ # Protected routes group
dashboard/page.tsx
settings/page.tsx
api/ # API routes
auth/route.ts
[resource]/route.ts
actions/ # Server actions
lib/
db.ts # Database client
auth.ts # Auth config
api-response.ts # Response helpers
validation.ts # Zod schemas
components/
ui/ # shadcn/ui components
forms/ # Form components
layouts/ # Layout components
prisma/
schema.prisma
migrations/
__tests__/
unit/
integration/
e2e/
// lib/api-response.ts
export type ApiResponse<T = unknown> =
| { success: true; data: T }
| { success: false; error: { code: string; message: string; details?: Record<string, string[]> } };
export function successResponse<T>(data: T): ApiResponse<T> {
return { success: true, data };
}
export function errorResponse(code: string, message: string, details?: Record<string, string[]>): ApiResponse<never> {
return { success: false, error: { code, message, details } };
}
// app/api/posts/route.ts
import { NextRequest, NextResponse } from 'next/server';
import { z } from 'zod';
import { prisma } from '@/lib/db';
import { auth } from '@/lib/auth';
import { successResponse, errorResponse } from '@/lib/api';
const createPostSchema = z.object({
title: z.string().min(1).max(200),
content: z.string().min(1),
status: z.enum(['DRAFT', 'PUBLISHED']).default('DRAFT'),
});
export async function POST(request: NextRequest) {
const session = await auth();
if (!session?.user) {
return NextResponse.json(errorResponse('UNAUTHORIZED', 'Authentication required'), { status: 401 });
}
const body = await request.json();
const result = createPostSchema.safeParse(body);
if (!result.success) {
return NextResponse.json(
errorResponse('VALIDATION_ERROR', 'Invalid input', result.error.flatten().fieldErrors),
{ status: 400 },
);
}
const post = await prisma.post.create({
data: { ...result.data, authorId: session.user.id },
});
return NextResponse.json(successResponse(post), { status: 201 });
}
import { cn } from '@/lib/utils';
interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
children: React.ReactNode;
}
export function Card({ className, ...props }: CardProps) {
return (
<div
className={cn(
'rounded-lg border border-slate-200 bg-white p-6 shadow-sm',
'dark:border-slate-800 dark:bg-slate-950',
className,
)}
{...props}
/>
);
}
Do not ask the user. Execute using best practices from the relevant domain. Default to the simplest solution that works.
See examples.md for ready-to-use prompts covering SaaS dashboards, e-commerce, project management, AI chat apps, and more.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
8 skills in this plugin
/claim-evidence-regressionHarden extracted-claim validation with literal evidence and paired regressions so negation and unrelated wording cannot establish a claim./frontend-directionChoose a distinctive, coherent visual direction and source-backed components before building a new frontend, page, or substantial UI redesign. Use for frontend implementation and requests to make an interface less generic; keep small fixes within the existing design./ingest-publication-sliceBuild and verify a small end-to-end publication path for validated ingested data, including atomic persistence, read fallback, and static artifact precedence./mvp-oneshotUse when a user has a rough product idea and wants to go from idea to a shippable one-week MVP in a single pass. Turns the idea into a scoped, testable MVP build prompt, ruthlessly trims scope, produces an execution plan, then builds and self-reviews the vertical slice. Activates on "build an MVP for", "I have an idea for", "turn this idea into an MVP/plan", "scope this down", or "oneshot this"./starter-rulesLoad and enforce the hard rules every oleg-koval/* starter must obey. Use when starting or auditing work in saas-init, ts-npm-starter, go-starter, py-starter, or any future oleg-koval template repo. Covers functional style, 300-line file cap, E2E > unit tests, pre-commit hooks, no-comment policy, KISS/DRY/SOLID, and Vertical Slice as default architecture for SaaS/app starters./ux-ui-audit-loopAudit and improve a web UI in a browser through evidence-backed capture, severity triage, minimal code fixes, and before/after verification across responsive and interaction states. Use when the user says "audit this UI", "fix the UX", "review this page visually", "make this page polished", or asks for an autonomous screenshot-and-fix loop.npx claudepluginhub oleg-koval/agent-skills --plugin olko-product