wasintoh/toh-framework/premium-experience

Claude Code and agent skill by wasintoh/toh-framework

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Premium app generation that creates WOW-factor experiences. Multi-page apps with smooth animations, zero TypeScript errors, and production-ready quality. Lovable-style experience: one prompt, complete app, instant delight. MUST be used alongside vibe-orchestrator for new projects.

Install

npx vskill@latest install wasintoh/toh-framework/premium-experience

SKILL.md

Premium Experience Skill

"One prompt. Complete app. Instant WOW."

Transform any idea into a premium, production-ready application with multiple pages, smooth animations, and zero errors - all in a single prompt.


🎯 Core Philosophy

PREMIUM = COMPLETE + POLISHED + DELIGHTFUL
User says: "Create expense tracker"
❌ Basic output:
- 1 page
- No animations
- Basic styling
- "Add more pages later"
βœ… Premium output:
- 5+ pages (Dashboard, Transactions, Reports, Settings, Auth)
- Smooth page transitions
- Micro-interactions everywhere
- Loading skeletons
- Empty states designed
- Ready to use immediately

πŸ“± Multi-Page Generation (MANDATORY!)

Minimum Page Set by App Type

Every new project MUST generate these pages based on app type:

yaml
saas-app:
required_pages:
- "/" (Landing/Marketing page)
- "/dashboard" (Main dashboard)
- "/[feature]" (Core feature page)
- "/settings" (User settings)
- "/auth/login" (Authentication)
optional_pages:
- "/auth/register"
- "/auth/forgot-password"
- "/profile"
- "/pricing"
- "/help"
ecommerce:
required_pages:
- "/" (Homepage with hero + featured)
- "/products" (Product listing)
- "/products/[id]" (Product detail)
- "/cart" (Shopping cart)
- "/checkout" (Checkout flow)
optional_pages:
- "/auth/login"
- "/orders"
- "/wishlist"
- "/search"
ai-chatbot:
required_pages:
- "/" (Landing page)
- "/chat" (Main chat interface)
- "/chat/[id]" (Chat history)
- "/settings" (Preferences)
- "/auth/login"
optional_pages:
- "/prompts" (Saved prompts)
- "/history"
food-restaurant:
required_pages:
- "/" (Homepage with hero)
- "/menu" (Full menu)
- "/menu/[category]" (Category view)
- "/cart" (Order cart)
- "/checkout" (Order placement)
optional_pages:
- "/orders" (Order tracking)
- "/locations"
- "/about"
education:
required_pages:
- "/" (Landing page)
- "/courses" (Course listing)
- "/courses/[id]" (Course detail)
- "/learn/[id]" (Learning interface)
- "/dashboard" (Progress dashboard)
optional_pages:
- "/certificates"
- "/profile"
- "/leaderboard"
generic:
required_pages:
- "/" (Landing/Home)
- "/dashboard" (Main interface)
- "/[main-feature]" (Primary feature)
- "/settings" (Settings)
- "/auth/login" (Authentication)
Page Generation Order
1. LAYOUT FIRST
└── app/layout.tsx (with providers, fonts, metadata)
└── components/layout/Navbar.tsx
└── components/layout/Sidebar.tsx (if dashboard-style)
└── components/layout/Footer.tsx (if marketing pages)
2. SHARED COMPONENTS
└── components/ui/ (shadcn components)
└── components/shared/ (app-specific shared)
3. FEATURE COMPONENTS
└── components/features/[feature]/ (feature-specific)
4. PAGES (parallel if possible)
└── app/page.tsx
└── app/dashboard/page.tsx
└── app/[feature]/page.tsx
└── ...etc
5. AUTH PAGES (last)
└── app/auth/login/page.tsx
└── app/auth/register/page.tsx

✨ Animation System (MANDATORY!)

Required Animations

Every premium app MUST have these animations:

typescript
// 1. PAGE TRANSITIONS
// Every page should fade in smoothly
// components/motion/PageTransition.tsx
"use client";
import { motion } from "framer-motion";
import { ReactNode } from "react";
const pageVariants = {
initial: { opacity: 0, y: 20 },
animate: { opacity: 1, y: 0 },
exit: { opacity: 0, y: -20 },
};
export function PageTransition({ children }: { children: ReactNode }) {
return (
<motion.div
variants={pageVariants}
initial="initial"
animate="animate"
exit="exit"
transition={{ duration: 0.3, ease: "easeOut" }}
>
{children}
</motion.div>
);
}
typescript
// 2. STAGGERED LIST ANIMATIONS
// Lists should animate in one by one
// components/motion/StaggerContainer.tsx
"use client";
import { motion } from "framer-motion";
import { ReactNode } from "react";
const containerVariants = {
hidden: { opacity: 0 },
show: {
opacity: 1,
transition: {
staggerChildren: 0.1,
},
},
};
const itemVariants = {
hidden: { opacity: 0, y: 20 },
show: { opacity: 1, y: 0 },
};
export function StaggerContainer({ children }: { children: ReactNode }) {
return (
<motion.div
variants={containerVariants}
initial="hidden"
animate="show"
>
{children}
</motion.div>
);
}
export function StaggerItem({ children }: { children: ReactNode }) {
return <motion.div variants={itemVariants}>{children}</motion.div>;
}
typescript
// 3. CARD HOVER EFFECTS
// Cards should lift on hover
// Usage in any card component
<motion.div
whileHover={{ y: -4, boxShadow: "0 10px 40px -10px rgba(0,0,0,0.2)" }}
transition={{ duration: 0.2 }}
className="..."
>
{/* Card content */}
</motion.div>
typescript
// 4. BUTTON PRESS EFFECTS
// Buttons should feel tactile
// Usage on buttons
<motion.button
whileHover={{ scale: 1.02 }}
whileTap={{ scale: 0.98 }}
className="..."
>
{children}
</motion.button>
typescript
// 5. NUMBER COUNTING ANIMATION
// Stats should count up
// components/motion/CountUp.tsx
"use client";
import { useEffect, useRef, useState } from "react";
import { useInView } from "framer-motion";
interface CountUpProps {
end: number;
duration?: number;
prefix?: string;
suffix?: string;
}
export function CountUp({ end, duration = 2, prefix = "", suffix = "" }: CountUpProps) {
const [count, setCount] = useState(0);
const ref = useRef(null);
const isInView = useInView(ref, { once: true });
useEffect(() => {
if (!isInView) return;
let startTime: number;
const animate = (timestamp: number) => {
if (!startTime) startTime = timestamp;
const progress = Math.min((timestamp - startTime) / (duration * 1000), 1);
setCount(Math.floor(progress * end));
if (progress < 1) requestAnimationFrame(animate);
};
requestAnimationFrame(animate);
}, [isInView, end, duration]);
return <span ref={ref}>{prefix}{count.toLocaleString()}{suffix}</span>;
}
Animation Timing Guidelines
css
/* Standard timings */
--duration-fast: 150ms; /* Micro-interactions */
--duration-normal: 200ms; /* Button/hover states */
--duration-slow: 300ms; /* Page transitions */
--duration-slower: 500ms; /* Complex animations */
/* Easing functions β€” no spring/bounce (AVOID-LIST) */
--ease-out: cubic-bezier(0.33, 1, 0.68, 1); /* Most animations */
--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); /* Symmetric motion */
Animation Rules
DO:
βœ… Use subtle animations (y: 20 max, scale: 1.02 max)
βœ… Keep durations short (150-300ms)
βœ… Use ease-out for most animations
βœ… Animate on scroll (useInView)
βœ… Stagger lists (100ms between items)
DON'T:
❌ Bounce animations (too playful)
❌ Long durations (>500ms feels slow)
❌ Large movements (y: 100+ is jarring)
❌ Animate everything (be selective)
❌ Block interaction during animation

🎨 Premium UI Components

Required Shared Components

Every premium app MUST have these components:

components/
β”œβ”€β”€ layout/
β”‚ β”œβ”€β”€ Navbar.tsx # Responsive navigation
β”‚ β”œβ”€β”€ Sidebar.tsx # Dashboard sidebar (if applicable)
β”‚ β”œβ”€β”€ Footer.tsx # Marketing footer (if applicable)
β”‚ └── MobileMenu.tsx # Mobile navigation drawer
β”‚
β”œβ”€β”€ motion/
β”‚ β”œβ”€β”€ PageTransition.tsx # Page fade-in
β”‚ β”œβ”€β”€ StaggerContainer.tsx # List animations
β”‚ β”œβ”€β”€ FadeIn.tsx # Simple fade-in wrapper
β”‚ └── CountUp.tsx # Number animation
β”‚
β”œβ”€β”€ feedback/
β”‚ β”œβ”€β”€ LoadingSpinner.tsx # Generic loading
β”‚ β”œβ”€β”€ Skeleton.tsx # Content skeleton
β”‚ β”œβ”€β”€ EmptyState.tsx # Empty state with illustration
β”‚ └── ErrorBoundary.tsx # Error fallback
β”‚
β”œβ”€β”€ shared/
β”‚ β”œβ”€β”€ Logo.tsx # Brand logo
β”‚ β”œβ”€β”€ Avatar.tsx # User avatar with fallback
β”‚ β”œβ”€β”€ Badge.tsx # Status badges
β”‚ └── SearchInput.tsx # Global search (if applicable)
β”‚
└── ui/ # shadcn/ui components
└── (generated by shadcn)
Loading State Pattern
typescript
// EVERY page should have loading state
// app/dashboard/loading.tsx
import { Skeleton } from "@/components/ui/skeleton";
export default function DashboardLoading() {
return (
<div className="space-y-6 p-6">
{/* Stats skeleton */}
<div className="grid grid-cols-4 gap-4">
{[...Array(4)].map((_, i) => (
<Skeleton key={i} className="h-32 rounded-xl" />
))}
</div>
{/* Chart skeleton */}
<Skeleton className="h-64 rounded-xl" />
{/* Table skeleton */}
<div className="space-y-2">
{[...Array(5)].map((_, i) => (
<Skeleton key={i} className="h-12 rounded-lg" />
))}
</div>
</div>
);
}
Empty State Pattern
typescript
// components/feedback/EmptyState.tsx
import { LucideIcon } from "lucide-react";
import { Button } from "@/components/ui/button";
interface EmptyStateProps {
icon: LucideIcon;
title: string;
description: string;
actionLabel?: string;
onAction?: () => void;
}
export function EmptyState({
icon: Icon,
title,
description,
actionLabel,
onAction,
}: EmptyStateProps) {
return (
<div className="flex flex-col items-center justify-center py-12 text-center">
<div className="rounded-full bg-muted p-4 mb-4">
<Icon className="h-8 w-8 text-muted-foreground" />
</div>
<h3 className="text-lg font-semibold mb-2">{title}</h3>
<p className="text-muted-foreground mb-4 max-w-sm">{description}</p>
{actionLabel && onAction && (
<Button onClick={onAction}>{actionLabel}</Button>
)}
</div>
);
}

πŸ›‘οΈ Zero Error Guarantee

TypeScript Strict Rules
typescript
// tsconfig.json MUST have these
{
"compilerOptions": {
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noUnusedParameters": true
}
}
Pre-Generation Checklist

Before generating ANY code, verify:

β–‘ All imports are valid (no typos)
β–‘ All types are defined
β–‘ All props have types
β–‘ No `any` type used
β–‘ All async functions have error handling
β–‘ All optional chaining where needed (?.)
β–‘ All nullish coalescing where needed (??)
β–‘ All arrays initialized before use
β–‘ All state has initial values
Common Error Prevention Patterns
typescript
// ❌ BAD: Will error if data is undefined
{data.items.map(item => ...)}
// βœ… GOOD: Safe with fallback
{(data?.items ?? []).map(item => ...)}
typescript
// ❌ BAD: Type error on undefined
function UserCard({ user }) { ... }
// βœ… GOOD: Proper typing
interface UserCardProps {
user: User;
}
function UserCard({ user }: UserCardProps) { ... }
typescript
// ❌ BAD: Unhandled async
const data = await fetch(...);
// βœ… GOOD: With error handling
try {
const data = await fetch(...);
if (!data.ok) throw new Error('Failed to fetch');
return data.json();
} catch (error) {
console.error('Fetch error:', error);
return null;
}
Required Type Definitions

Every project MUST have:

typescript
// types/index.ts
export interface User {
id: string;
name: string;
email: string;
avatar?: string;
createdAt: Date;
}
// types/[feature].ts
export interface [Feature] {
id: string;
// ... feature-specific fields
createdAt: Date;
updatedAt: Date;
}
// types/api.ts
export interface ApiResponse<T> {
data: T;
error?: string;
message?: string;
}
export interface PaginatedResponse<T> {
data: T[];
total: number;
page: number;
pageSize: number;
hasMore: boolean;
}

🎁 WOW Factor

WOW = the DESIGN.md signature element executed well + the craft floor.

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
75
Repository forks
17
Repository npm downloads, 7 days
5
7-day trend score
29

Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 16 Mar 2026, 8 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/wasintoh/toh-framework/premium-experience/badge)](https://verified-skill.com/skills/wasintoh/toh-framework/premium-experience)

Something wrong with this skill or its page? Tell us.