premium-experience
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "premium-experience" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-abc2daf1fae110413c6b303f4190908a73de3c430ef7fbb5ef9773fb59360c6a. Verify the upstream source and version against https://github.com/wasintoh/toh-framework before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Generates premium applications that deliver stunning experiences. Produces multi-page apps with smooth animations and zero TypeScript errors, targeting production-ready quality. Follows a Lovable style: one prompt yields a complete app that delights immediately. New projects must be used in conjunction with vibe-orchestrator.
Introduction source: third_party · wasintoh · 1.0.0 Reference
SkillPi interpretation
- Tasks
- "One prompt. Complete app. Instant WOW."**
- Testing
- Not tested
Browse files
Frontmatter
name: premium-experience
version: 1.0.0
description: >
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.
triggers:
- /toh-vibe (new projects)
- /toh (complex app requests)
- Any "create app" requestPremium 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:
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:
// 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>
);
}
// 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>;
}
// 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>
// 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>
// 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
/* 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
// 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
// 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
// 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
// ❌ BAD: Will error if data is undefined
{data.items.map(item => ...)}
// ✅ GOOD: Safe with fallback
{(data?.items ?? []).map(item => ...)}
// ❌ BAD: Type error on undefined
function UserCard({ user }) { ... }
// ✅ GOOD: Proper typing
interface UserCardProps {
user: User;
}
function UserCard({ user }: UserCardProps) { ... }
// ❌ 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:
// 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.
Spend boldness in ONE place — the signature element declared in root
DESIGN.md §1 (distinctive hero treatment, unusual data display, strong
typographic motif) — and keep everything else quiet. WOW is never a checklist
of decorations (gradient text, floating shapes, hover glows, confetti are
AVOID-LIST tells — see design-craft/AVOID-LIST.md).
wow:
signature_element: # the ONE bold move, from DESIGN.md — flagship page only
- Executed with full craft: motion, spacing, typography all serve it
craft_floor: # quiet everywhere else — this is what reads "premium"
- Responsive at every breakpoint (320px+)
- focus-visible rings on every interactive element
- Skeletons matching the real layout on every page
- Empty states with a real sentence + next action
- Realistic domain content, zero placeholder text
Premium Design Details
shadows:
cards: "shadow-sm hover:shadow-lg transition-shadow"
modals: "shadow-2xl"
dropdowns: "shadow-lg"
borders:
cards: "border border-border/50"
inputs: "border border-input focus:ring-2 focus:ring-primary/20"
backgrounds: # solid surfaces from DESIGN.md tokens — no decorative gradients
page: "bg-background"
card: "bg-card"
muted: "bg-muted/50"
hover_states:
cards: "hover:border-primary/50 transition-colors"
buttons: "hover:brightness-110 transition-[filter]"
links: "hover:text-primary transition-colors"
📋 Pre-Delivery Verification
Final Checklist (MANDATORY!)
Before delivering to user, verify ALL:
BUILD CHECK:
□ `npm run build` passes with 0 errors
□ `npm run lint` passes with 0 warnings
□ All pages render without errors
PAGES CHECK (minimum 5):
□ Homepage/Landing created
□ Main feature page created
□ Dashboard/Detail page created
□ Settings page created
□ Auth page created (at least login)
ANIMATION CHECK:
□ Page transitions working
□ List animations working
□ Card hover effects working
□ Button press feedback working
□ Loading states animated
RESPONSIVE CHECK:
□ Mobile layout works (320px+)
□ Tablet layout works (768px+)
□ Desktop layout works (1024px+)
□ No horizontal scroll
QUALITY CHECK:
□ No TypeScript errors
□ No console errors
□ No missing images (use placeholders)
□ No broken links
□ Loading states present
□ Empty states designed
🚀 Quick Start Template
When starting a new project, use this structure:
project/
├── app/
│ ├── layout.tsx # Root layout with providers
│ ├── page.tsx # Landing/Home
│ ├── loading.tsx # Global loading
│ ├── error.tsx # Global error
│ ├── not-found.tsx # 404 page
│ │
│ ├── dashboard/
│ │ ├── page.tsx # Dashboard
│ │ └── loading.tsx # Dashboard skeleton
│ │
│ ├── [feature]/
│ │ ├── page.tsx # Feature list
│ │ ├── [id]/page.tsx # Feature detail
│ │ └── loading.tsx # Feature skeleton
│ │
│ ├── settings/
│ │ └── page.tsx # Settings
│ │
│ └── auth/
│ ├── login/page.tsx # Login
│ └── register/page.tsx # Register
│
├── components/
│ ├── layout/ # Layout components
│ ├── motion/ # Animation components
│ ├── feedback/ # Loading, empty, error states
│ ├── features/ # Feature-specific components
│ ├── shared/ # Shared components
│ └── ui/ # shadcn/ui
│
├── lib/
│ ├── utils.ts # Utility functions
│ └── mock-data.ts # Realistic mock data
│
├── stores/
│ └── use-[feature].ts # Zustand stores
│
├── types/
│ ├── index.ts # Shared types
│ └── [feature].ts # Feature types
│
└── providers/
└── providers.tsx # All providers wrapped
🌐 Internationalization Note
All code, comments, and documentation should be in English.
Only user-facing content (mock data, UI text) should match the user's language:
// Code: Always English
interface ProductCardProps {
product: Product;
}
// Mock data: Match user language
const mockProducts = [
// Thai user
{ name: "กาแฟลาเต้", price: 65 },
// English user
{ name: "Caffe Latte", price: 65 },
];
Premium Experience Skill v1.0.0 - One Prompt, Complete App, Instant WOW
Version history
-
v2.2.1
GitHub ↗
Original release notes
### 🔁 Releases Publish Themselves v2.2.1 changes nothing you install — ปล่อยเวอร์ชันใหม่ได้ด้วยการ push ครั้งเดียว. It moves the release pipeline off a long-lived npm token and onto npm Trusted Publishing, so a release is now just "bump the version and push". #### Changed - **Release on push** — `.github/workflows/release.yml` runs on every push to `main`. When the `package.json` version is not on npm yet, it smoke-tests, publishes, then creates tag `vX.Y.Z` and the GitHub Release from this file. A push that keeps the version publishes nothing. - **npm Trusted Publishing (OIDC)** — no `NPM_TOKEN` secret, nothing to expire; provenance is attached automatically. Pre-release versions (`X.Y.Z-beta.N`) go to the `next` dist-tag. #### Technical - Release job runs on Node 24 (trusted publishing needs npm >= 11.5.1) and fails loudly on an older npm. - No agent, skill, command or installer changes — counts unchanged (8 agents / 23 skills / 14 commands).
-
v2.2.0
GitHub ↗
Original release notes
### 🤖 Codex Gets a Real Team v2.2 gives Codex what Claude Code, Cursor and Antigravity already had — a native team. ทีม agent ตัวจริงบน Codex. Every Toh agent now installs as a project-scoped Codex custom agent, the 14 workflows are invoked as `$toh-<cmd>` skills, and for the first time the repo has an automated test suite gating every release. This release began as [PR #3](https://github.com/wasintoh/toh-framework/pull/3) by @pcbimon — the first external code contribution to Toh Framework. #### Added - **Native Codex agents** — every Toh agent in `.toh/agents/` is now also installed as a project-scoped Codex custom agent in `.codex/agents/<name>.toml` (`name`, `description`, `model_reasoning_effort`, `sandbox_mode`, `developer_instructions`), so Codex can delegate to `ui-builder`, `plan-orchestrator` and friends natively. The files deliberately carry **no `model` key**: they inherit the parent session's model, so one config choice governs every agent and a future model rename never strands an install. Reasoning effort comes from a new `modelIntent` frontmatter key (`lightweight | implementation | planning | review`, falling back to the Claude tier), and agents whose tool allowlist has no write tool get Codex's `read-only` sandbox. Ownership is tracked by sha256 in `.codex/toh-framework.json`: a file you edited or created is never overwritten or removed. AGENTS.md now points Codex at `$toh-<cmd>` skill invocation and the native agents. Contributed by @pcbimon in [PR #3](https://github.com/wasintoh/toh-framework/pull/3); reshaped in review so `.agents/skills/` keeps a single writer (shared.js), an existing `.codex/config.toml` is still never modified, and the codex capability profile stays the probed v2.1.1 floor. - **`toh uninstall --ide codex`** — removes just the native agent files this installer wrote (hash-verified, backed up first) and their manifest; AGENTS.md, `.codex/config.toml` and `.toh/` stay. The full uninstall also knows the new paths. - **Test suite** — `npm test` runs `tests/codex.test.js` (node:test, in-band): install layout, TOML shape, single-writer invariant across IDE order, config.toml untouched, ownership by hash, AGENTS.md idempotency and budget, both uninstall paths. First automated tests in the repo; CI and the release workflow now run it. #### Changed - **Codex quick start** — README and AGENTS.md now show `$toh-vibe` (native skill invocation) first; plain `/toh-vibe` text still works. AGENTS.md also tells Codex to hand a custom agent a self-contained brief, because a full-history fork is refused (seen in the live run). - **Hard-budget abort is thrown, not exited** — `setupIDEWithSpinner` still prints the same explanation on a fatal size-budget error, then throws; `bin/toh-cli.js` turns it into exit code 1. Same behaviour for users, observable by the test suite. - **`--quick` never prompts** — a missing target directory is created without the confirmation question. - **Banner** — bumped to 2.2 (the canvas widened by 102 px so the wider number keeps the same margins; every other pixel is unchanged).
-
v2.1.1
GitHub ↗
Original release notes
### 🩹 Patch: Updates That Respect Your Work v2.1.1 is a repair release — อัปเดตได้โดยไม่ทับงานเดิม. Every fix answers the same complaint, reported in GitHub issue #2 by @tumansdev: re-running the installer on a project that was already mid-work behaved as if the project were brand new. Updates now preserve live state, stop hooks now respect a plan you deliberately parked, and Codex capability claims are probed at install time instead of assumed. #### Fixed - **Memory survives an update** — re-running the installer over an existing project no longer resets `.toh/memory/`. All 7 memory files are now seeded only if absent, the same contract `.toh/plan.md` and `.toh/progress.md` have had since v2.0.0 — an update never clobbers what the loop has learned. Applied at every one of the 6 inline template code sites (`install.js` + 5 IDE handlers; zcode deliberately has none). - **Stop hooks respect a parked plan** — a plan whose header says `Status: blocked` or `Status: paused` is now terminal for the Claude Code prompt Stop hook, exactly like `Status: done`/`Status: draft`: the loop no longer refuses to end a session over work the user deliberately put down. The deterministic Antigravity command-script hook gains the same exemptions plus `Status: done` (which its grep previously never checked). Existing installs are **upgraded in place**: the installer recognises its own `<TFW-STOP-HOOK>` entry and rewrites just that entry to the new text instead of treating "marker present" as "nothing to do" — user hook entries are still never removed or reordered. - **Codex capabilities probed, not assumed** — the Codex handler now runs a runtime capability probe and falls back conservatively when the probe cannot confirm a feature, instead of hardcoding what the currently-installed Codex is presumed to support. An unverifiable capability is declared absent — the generated text never promises what the runtime was not proven to do. - **Version-drift sweep completed** — re-audited every user-visible and generated surface (`src/`, `installer/`, `README.md`, `docs/README-TH.md`, plus a real install of all 5 IDE targets) for stale `Next.js 14` / `React 18` / `Tailwind 3` stack mentions left after 0795eec. Result: zero remaining — generated output states only Next.js 16 / React 19 / Tailwind 4, matching the `src/templates/nextjs-pro/package.json` pins. Historical CHANGELOG entries and archived planning docs keep their original wording on purpose. Fixes [GitHub issue #2](https://github.com/wasintoh/toh-framework/issues/2) — thank you @tumansdev for the detailed report. #### Technical - Counts (from disk): **8 agents / 23 skills / 14 commands** — unchanged from 2.1.0; `toh-help.md`, README stats and both parallel command surfaces (14 Gemini CLI TOML, 14 Antigravity workflows) untouched. - Synced IDE surfaces touched by this patch: - **All IDE installs** — `.toh/memory/` (7 files) now seed-if-absent at all 6 inline template sites: `installer/install.js` plus the claude-code, cursor, antigravity-cli, codex and gemini-cli handlers (zcode has no 7th copy by design). - **Claude Code** — `<TFW-STOP-HOOK>` prompt hook in `.claude/settings.json`: new blocked/paused terminal semantics + in-place upgrade of our own entry on reinstall. - **Antigravity (agy CLI + IDE)** — `<TFW-STOP-HOOK>` command-script hook in `.agents/hooks.json`: same terminal semantics (done/blocked/paused alongside draft) + in-place upgrade. - **Codex** — capability probe with conservative fallback feeding the generated `AGENTS.md` claims and `.toh/capabilities.json`. Probe format verified live against codex-cli 0.149.1 and 0.145.0: the real interface is the plain-text `codex features list` table (no `--json` flag exists), and the real feature names are `multi_agent`, `hooks`, `goals` — `parallel` has no codex equivalent and stays declared false. - No source counts, templates, commands, agents or skills changed — README.md and docs/README-TH.md are untouched (the drift sweep found nothing left in either). - package.json: version **2.1.0 → 2.1.1**. ---
-
v2.1.0
GitHub ↗
Original release notes
### 🔌 Compatibility Release: Every Living IDE, Verified For Real v2.1 is a compatibility release — ตรวจจริง ซ่อมจริง ทุก IDE ที่ยังมีชีวิต. Every supported tool was measured against its current version and repaired where reality had moved: Codex was silently truncating our instructions (now slimmed and hard-guarded), Antigravity and the Antigravity CLI (agy) became a first-class target, Cursor 2.4's native subagents are used instead of denied, every non-Claude runtime — including newcomer ZCode (Z.ai) — discovers one shared open-standard `.agents/skills/` surface, and Claude Code subagents preload their skills natively. #### Changed - **Codex un-truncated** — Codex now reads the whole Toh Framework instead of silently dropping 6 of 8 agents. The generated `AGENTS.md` block shrank from ~117 KB to 12,958 bytes (EN; TH 12,647) — safely under Codex's 32 KiB combined project-doc budget — by replacing embedded agent bodies with a compact roster table plus runtime reads from `.toh/agents/` and `.toh/commands/`. A hard assertion now fails the install if the block ever exceeds 24 KiB, and a project-scoped `.codex/config.toml` raises `project_doc_max_bytes` to 131,072 (written only when no user `config.toml` exists). - **Antigravity and the Antigravity CLI (`agy`) are a first-class target** — a new handler emits the workspace `.agents/` surface: an Always-On rule, 14 workflows (plus a legacy `.agent/workflows/` mirror), 8 file-based subagents, skills, and a deterministic Stop hook. Legacy `.gemini/` output survives for Enterprise/GCP users behind the new `--legacy-gemini` flag (removed from the interactive menu); its 14 TOML commands and settings.json are unchanged from v2.0.0, GEMINI.md differs only in its version line, and the verbatim-copied `.gemini/skills/` pick up this release's new skill frontmatter. - **Cursor 2.4 gets a real agent team** — instead of being told "multi-agent features are unavailable here", Cursor now installs all 8 Toh agents as native `.cursor/agents/*.md` subagents (root-cause-debugger derives `readonly: true` from its read-only tools allowlist), the capability profile declares `subagents: native`, and the rule prose describes native delegation with the sequential TOH LOOP as the documented fallback. - **`.cursorrules` no longer written by default** — the file has vanished from official Cursor docs and duplicated the alwaysApply `.mdc`; users on very old Cursor versions can keep it via the new `--legacy-cursorrules` flag. - **Claude Code subagents preload their skills natively** — skill loading no longer depends on prose the subagent can skip: the installer passes the native `skills` frontmatter key through, filtered to skills that actually exist in `.claude/skills/` (excluding any marked `disable-model-invocation: true`). - **`/toh-protect` shortcut is now `/toh-pt`** — resolves the long-standing alias collision: `/toh-p` belongs solely to `/toh-plan`. `/toh-security` and `/toh-audit` still work. - **`npm run list` reads the live catalog** — the stale hardcoded tables are gone; it now parses `src/` frontmatter at runtime and prints the real 14 commands / 8 agents / 23 skills. - **Claude Code Stop hook: deliberately unchanged** — the flagship "refuses to quit until DONE" prompt hook ships byte-identical to v2.0.0 (owner decision); the new deterministic command-script Stop hook is Antigravity-only. #### Added - **`toh uninstall` — the missing counterpart to `toh install`** — until now a user who installed Toh Framework had no supported way to remove it. `npx toh-framework uninstall` prints a plain-language preview of every file it would remove, keep, or edit, then asks once before touching anything. Safety outranks completeness throughout: files it cannot prove it installed are left in place and named on screen; co-owned files (`CLAUDE.md`, `AGENTS.md`, `.claude/settings.json`, `.agents/hooks.json`, `.codex/config.toml`, `.cursorrules`) are edited surgically — only our marker-delimited block or our `<TFW-STOP-HOOK>` entry comes out, and an unparseable or unrecognisable file is skipped with a warning instead of rewritten; symlinked paths are never followed; directories are removed only once they are empty. `.toh/plan.md`, `.toh/progress.md` and both memory folders are the project's live work, so they are kept by default and deleted only after a separate opt-in (the second question, or `--all`) — with a copy saved to `.toh-uninstall-backup/` first. When there is no install record to check against, files matched by name alone are copied to that same backup folder before removal. Flags: `--dry-run`, `-y/--yes`, `--all`, `--verbose`, `-t/--target`. Also available as `npm run uninstall:local`. - **Install inventory (`manifestSchema` 2)** — `.toh/manifest.json` now records the path, sha256 and pre-install state of every file the installer wrote, plus the directories it created. That record is what lets uninstall tell "our file, untouched" from "our file, edited by you" (kept, never deleted) and from "your file" (never claimed). Reinstalls carry the original pre-existence facts forward, and a file rewritten with identical bytes is still recorded as ours, so an upgrade never produces an under-reporting record. - **The project `CLAUDE.md` block is delimited** — the Toh Framework section is now written between `<!-- TOH-FRAMEWORK-START -->` / `<!-- TOH-FRAMEWORK-END -->` markers (the same pair Codex already used in `AGENTS.md`), so it can be lifted out of a file you also write in without touching a byte of your own text. Projects installed before v2.1 have no markers; uninstall recognises our generated text there instead, and backs the file up before editing it. - **ZCode (Z.ai) is a supported target** — ZCode reads the same open surfaces this release already writes, so support needed no bespoke file format: `AGENTS.md` as project memory (the identical file Codex reads), `.agents/skills/` for all 37 skills, and the new `.agents/commands/` for 14 real `/toh-*` slash commands — a native command surface Codex itself does not offer. This was verified by running ZCode CLI 0.16.3 against an installed project, not inferred from documentation: `zcode skills list --json` reports 37 entries at `scope: project`, `source: agents`, and `zcode commands list --json` reports all 14 commands from `<project>/.agents/commands`, both with an empty `diagnostics` array. Selecting ZCode alongside Codex writes `AGENTS.md` exactly once, in the conservative Codex variant that stays truthful for both runtimes. - **Shared `.agents/commands/` — real slash commands beyond Claude Code** — the same 14 command prompts that ship as skills are now also written as project slash commands, generated from the one TOML source. Runtimes that ignore the directory are unaffected; they still reach every prompt through `.agents/skills/toh-*`. - **Shared `.agents/skills/` open standard — one write, four tools** — Codex, Cursor 2.4, Antigravity, and ZCode all natively discover Agent Skills from `<project>/.agents/skills/`, so the installer now generates 37 skills there: 23 thin wrappers over the framework skills plus 14 `/toh-*` command skills (`disable-model-invocation: true`, so they surface as explicit `/` commands). Wrapper descriptions are capped at 300 chars so the whole name+description listing (7,383 chars) fits Codex's shared 8,000-char budget; full skill text still lives in `.toh/skills/`, which every wrapper reads at runtime. - **Real slash aliases on Claude Code** — typing `/toh-v` or `/toh-p` no longer risks "Unknown command": the installer generates 15 thin alias command files (`toh-v`, `toh-p`, `toh-pt`, `toh-security`, `toh-audit`, …) that forward `$ARGUMENTS` to the real commands. - **Frontmatter for all 23 skills** — the 13 previously bare SKILL.md files gained spec-compliant YAML frontmatter (keyword-rich third-person descriptions; internal skills marked `user-invocable: false`), so auto-invocation now triggers off real descriptions instead of decorated titles. Skill bodies are byte-identical. - **Deterministic Antigravity Stop hook** — `.agents/hooks.json` blocks ending a session while `.toh/plan.md` still has unchecked tasks, via a plain `grep` command script (exit 2 + reason). Strictly additive and idempotent (`<TFW-STOP-HOOK>` marker); never removes or reorders user hook entries. - **New install flags** — `--legacy-gemini` (Enterprise Gemini CLI `.gemini/` output) and `--legacy-cursorrules` (root `.cursorrules`). - **Install only what you use** — the IDE picker now starts with Claude Code alone selected instead of three tools pre-ticked, and `--ide` defaults to `claude` to match. Picking your own tools takes one keystroke; cleaning up surfaces you never wanted took a support ticket. The picker also dropped its emoji so the five entries read as one plain list. #### Fixed - **Codex footer URLs** — both EN and TH `AGENTS.md` footers pointed at the dead `github.com/ArtificialWeb`; now `github.com/wasintoh/toh-framework`. - **ui-builder dead skill paths** — the agent body referenced `src/skills/...` paths that don't exist in end-user projects; now the IDE-neutral `.toh/skills/...`. - **TH/EN drift in the Cursor rule** — the Thai `/toh-vibe` Command→Skills row was missing `ui-first-builder`; now byte-equal to the EN row. - **Stale docs and counts** — `src/commands/README.md` now counts all 14 commands (the `/toh-protect` row was missing); `toh-help.md` names the current IDE set; web bundles (`npm run bundle`) drop the v1.0.0-era `*star` commands for `/toh-*` names, and a failed bundle run now exits non-zero. Every generated per-IDE context file and memory seed now states Next.js 16, matching `src/templates`. - **Dead code removed** — `bin/toh-npx-wrapper.js` (never referenced anywhere) deleted from the package. - **Renamed-tool wording** — orchestration-protocol now says "the Agent tool (Task)", matching Claude Code ≥ 2.1.178. #### Technical - Counts (from disk): **8 agents / 23 skills / 14 commands** — unchanged from 2.0.0. The parallel command surfaces stay in sync at 14 Gemini CLI TOML files (legacy) and 14 Antigravity workflow files. - Synced IDE surfaces at 2.1.0, verified from a real install: - **Claude Code** — `.claude/commands/` (14 commands + 15 generated aliases), `.claude/agents/` (8), `.claude/skills/` (23), Stop hook in `.claude/settings.json` (byte-identical to 2.0.0), `.claude/loop.md`, project `CLAUDE.md` (now wrapped in `<!-- TOH-FRAMEWORK-START/END -->` markers). - **Cursor** — `.cursor/rules/toh-framework.mdc` + `toh-agents.mdc`, new `.cursor/agents/` (8 native subagents); root `.cursorrules` only with `--legacy-cursorrules`. - **Antigravity (agy CLI + IDE)** — `.agents/rules/toh-framework.md` (EN 6,034 chars / TH 5,780; ≤ 12,000 hard assert), `.agents/skills/` (37), `.agents/workflows/` (14) + legacy mirror `.agent/workflows/` (14), `.agents/agents/` (8, `subagent: true`), `.agents/hooks.json`. - **Codex** — root `AGENTS.md` TOH block 12,958 B EN / 12,647 B TH (24,576 B hard assert) + `.codex/config.toml` (`project_doc_max_bytes = 131072`, never overwrites an existing file); also reads the shared `.agents/skills/`. - **Gemini CLI (legacy, `--legacy-gemini`)** — `.gemini/` (GEMINI.md, 14 TOML commands, skills, settings.json); the TOML commands and settings.json are byte-identical to 2.0.0 (verified by diffing real installs), GEMINI.md differs only in its embedded version line, and the copied skills differ in 14 SKILL.md files (the new v2.1 frontmatter, plus this release's small orchestration-protocol wording updates). - `.toh/capabilities.json` profiles updated: cursor `subagents: "native"`; antigravity `subagents: "file-based"`, `hooks: true`, `workflows: true`. Union semantics are additive — projects installed under v2.0 with gemini keep both `gemini-cli` and `antigravity` declared. - Removed `bin/toh-npx-wrapper.js`; `installer/list.js` rewritten to live-read `src/`. Package tarball: 142 files, ~1.1 MB unpacked (`npm pack --dry-run`). - New `installer/uninstall.js`, lazy-loaded by `bin/toh-cli.js` like every other command; `installer/install.js` gained a before/after content snapshot of its own surfaces (`.toh`, `.claude`, `.cursor`, `.agents`, `.agent`, `.codex`, `.gemini`, `CLAUDE.md`, `AGENTS.md`, `.cursorrules`) to build the schema-2 inventory. The snapshot never follows symlinks and never walks the project tree. `generateClaudeMd` / `generateClaudeMdBlock` are now exported from `installer/ide-handlers/claude-code.js` so the uninstaller can recognise our own generated text in pre-2.1 projects. New npm script `uninstall:local`. - package.json: version **2.0.0 → 2.1.0**; description and keywords now name Claude Code, Cursor, Antigravity (+ Antigravity CLI), Codex (CLI + desktop app), and ZCode — the dead `gemini` keyword dropped; `codex`, `openai-codex`, `antigravity-cli`, `agy`, `agent-skills`, `zcode`, `z-ai` added. ---
-
v2.0.0
GitHub ↗
Original release notes
> **The "never babysit your AI again" release.** One approval in. One finished app out.  ## Headline features | Feature | What it means for you | |---------|----------------------| | 🚀 **One-Go Build** | Approve once, get a whole finished app — `/toh-plan` writes the plan to `.toh/plan.md`, you say **"Go"**, it builds to the end. Zero babysitting. | | 🔁 **TOH LOOP** | Type & Forget — builds, tests, and fixes itself task by task. Never asks "continue?" between phases. | | 🛡️ **Stop Hook** | Refuses to quit until every task is verified DONE — real command output is the only proof it accepts (Claude Code). | | 🎨 **Design Identity** | No one can tell AI made it — per-project root `DESIGN.md` + versioned AVOID-LIST kill the "AI look". | | ⏯️ **Auto-Resume** | Quit anytime — `/clear`, close the terminal, switch IDEs — it resumes exactly where it left off. | ## Also in 2.0.0 - 🧠 `/toh` v5 — intent-based orchestrator with runtime capability survey + model routing (opus/sonnet/haiku per role) - 🔬 `/toh-fix` evidence-first — proves the root cause before touching a line - ⚡ Next.js 16 / React 19 / Tailwind CSS 4 templates, build-verified - 💚 `/toh-line` (LINE MINI App) + `/toh-mobile` (PWA/Capacitor) in one command - 🤖 Single-source agents, transformed per IDE at install - 🎛️ `.toh/capabilities.json` + per-IDE command variants; Claude Code gets hard enforcement (Stop hook, `/goal`, `/loop`) - 🧠 New `orchestration-protocol` skill (23 skills total) + `engineer-harness` 1.1 announce contract ## Install / Upgrade ```bash npx toh-framework@latest install ``` Full details: [CHANGELOG.md](https://github.com/wasintoh/toh-framework/blob/main/CHANGELOG.md) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 高价值/高频刚需。直接解决用户明确的核心任务痛点,显著提升日常高频场景的效率,自动化任务、内容生成等。
- 多页面应用生成,配备流畅动画、零TypeScript错误,达到生产就绪质量。
- Lovable风格体验:一次提示,完整应用,即刻愉悦。
Highlights
- 触发词覆盖合理,偶有边缘场景缺失或歧义。
- 触发词覆盖多种变体,边界清晰。
- 包含明确的触发词列表,如 /toh-vibe、/toh、Any "create app" request。
Highlights
- Phase/步骤清晰,有出口条件,含端到端示例。
- frontmatter完整,单文件≤500行。
- 结构清晰,包含核心哲学、多页面生成、动画系统、UI组件、零错误保证、WOW因子、预交付验证等部分。
Highlights
- 工具来源明确,参数正确,覆盖主要异常。
- 不可逆操作有确认机制。
- 包含详细的预生成检查清单和最终交付验证清单,确保执行可靠性。
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.