A
AgentSkill
SkillsAbout
A

AgentSkill

ยฉ 2025

Not affiliated with Anthropic

Back to Skills

Toh Framework

๐ŸŽฏ "Type Once, Have it all!" AI-Orchestration Driven Development framework for Solo Developers & Solopreneurs. Build production-ready SaaS with natural language commands. Supports Claude Code, Cursor

ai-ml
wasintoh
28
5
Updated Dec 11, 2025
View on GitHub

Installation

git clone https://github.com/wasintoh/toh-framework ~/.claude/skills/toh-framework

SKILL.md

# ๐ŸŽฏ Toh Framework

<!-- Logo - เธžเธตเนˆเน‚เธ•เนƒเธชเนˆเธฃเธนเธ› logo เน„เธ”เน‰เธ—เธตเนˆเธ™เธตเนˆ -->
<!--
<p align="center">
  <img src="./assets/logo.png" alt="Toh Framework" width="200">
</p>
-->

> **"Type Once, Have it all!"** - AI-Orchestration Driven Development

[![npm version](https://img.shields.io/npm/v/toh-framework.svg?style=flat-square)](https://www.npmjs.com/package/toh-framework)
[![npm downloads](https://img.shields.io/npm/dt/toh-framework.svg?style=flat-square)](https://www.npmjs.com/package/toh-framework)
[![License](https://img.shields.io/npm/l/toh-framework.svg?style=flat-square)](https://github.com/wasintoh/toh-framework/blob/main/LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/wasintoh/toh-framework?style=flat-square)](https://github.com/wasintoh/toh-framework)

๐ŸŒ **Official Website:** [tohframework.dev](https://tohframework.dev)

> ๐Ÿ“– **[๐Ÿ‡น๐Ÿ‡ญ Thai Documentation](docs/README-TH.md)**

## ๐Ÿค– Supported IDEs

| IDE | Status | Notes |
|-----|--------|-------|
| ๐Ÿง  **Claude Code** | โœ… Full Support | Slash commands, Memory system |
| ๐Ÿ“ **Cursor** | โœ… Full Support | @ file references |
| ๐ŸŒŒ **Google Antigravity** | โœ… **NEW!** Full Support | Latest Gemini integration |
| ๐Ÿ’Ž **Gemini CLI** | โœ… Full Support | Context files auto-loaded |
| ๐Ÿค– **Codex CLI** | โœ… Supported | OpenAI agents |

> ๐Ÿ“– **[๐Ÿ‡น๐Ÿ‡ญ Thai Documentation](docs/README-TH.md)**

## ๐Ÿ’ก Why Toh?

**Toh** = **T**ype **O**nce, **H**ave it all!

We believe **Solo Developers** and **Solopreneurs** should be able to build SaaS systems single-handedly without being an expert in every field.

Toh Framework enables you to:
- ๐Ÿ’ฌ **Command in natural language** - No complex prompts needed
- ๐Ÿค– **AI handles everything** - Breaks down tasks, calls agents, executes until done
- ๐Ÿ‘€ **See results instantly** - No waiting, no answering questions
- ๐Ÿš€ **Production-ready** - Not just a prototype

## โœจ Features

- **๐Ÿง  The Brain** - `/toh:plan` analyzes, plans, and orchestrates all agents
- **๐Ÿ’พ Auto Memory** - Context persists across sessions, IDEs, and models
- **๐Ÿš€ One Command Install** - Easy setup via `npx`
- **๐ŸŽจ UI First** - See results immediately, no backend needed
- **๐Ÿค– No Questions** - AI makes decisions, doesn't ask basic questions
- **๐ŸŒ Multi-language** - Thai or English mock data and UI
- **๐Ÿงช Auto Testing** - Automatic testing with auto-fix loop
- **๐Ÿ’ผ Production Ready** - Not a prototype, ready for real use
- **๐Ÿ”ง Multi-IDE Support** - Claude Code, Cursor, Gemini CLI, Codex CLI

## ๐Ÿ†• What's New in v1.5.0

### ๐ŸŒŒ Google Antigravity - Full Support!

Now fully supports Google's **Antigravity** (Gemini IDE)! Install once, use everywhere:

```bash
npx toh-framework install
# Select: Claude Code โœ…, Cursor โœ…, Gemini CLI / Antigravity โœ…
```

### ๐Ÿ—๏ธ Dual Folder Architecture

| IDE | Folder | Why |
|-----|--------|-----|
| Claude Code | `.claude/` | Required for slash commands |
| Others | `.toh/` | Central resources |

Both contain identical skills, agents, and commands - fully synced on install!

### ๐Ÿ”’ Memory Protocol Enforcement

- โœ… Mandatory memory load/save on EVERY task
- โœ… Skills loading checkpoint - AI must report what it loaded
- โœ… English-only memory files for consistency
- โœ… Cross-IDE memory compatibility

### ๐Ÿ“‹ Skills Loading Checkpoint

AI now MUST report skills at the start of every response:
```markdown
๐Ÿ“š **Skills Loaded:**
- design-mastery โœ… (13 business profiles)
- premium-experience โœ… (5+ pages, animations)

๐Ÿค– **Agent:** vibe-agent

๐Ÿ’พ **Memory:** Loaded โœ…
```

---

## โœจ v1.4.0 Features (Still Available!)

| Feature | Description |
|---------|-------------|
| **`/toh` Smart Command** | Type anything, AI picks the right agent! |
| **Premium Experience** | 5+ pages with animations in one prompt |
| **Design Mastery** | 13 business profiles for smart design |
| **Prompt Optimizer** | For AI SaaS - create excellent system prompts |
| **Response Format** | 3-section responses - no follow-up questions needed |

### ๐ŸŒŸ Premium by Default

When creating new apps, you get:
- โœ… 5+ pages automatically (Home, Dashboard, Feature, Settings, Auth)
- โœ… Animations everywhere (Page transitions, hover effects, stagger)
- โœ… Loading states on every page
- โœ… Empty states designed
- โœ… Zero TypeScript errors guaranteed

### ๐ŸŽจ Design Mastery (13 Business Profiles)

AI auto-detects your business type and applies appropriate design:
```
Food/Restaurant โ†’ Warm colors, appetizing feel
SaaS/Dashboard โ†’ Professional blue, clean
E-commerce โ†’ Trust emerald, conversion-focused
Gaming โ†’ Dark mode, neon accents
Healthcare โ†’ Calm teal, trustworthy
...and 8 more profiles
```

### ๐Ÿง  AI Intelligence Upgrade (v1.3.0)

| Feature | Description |
|---------|-------------|
| ๐Ÿข **Business Context** | AI understands business types, auto-includes standard features |
| ๐Ÿ’ก **Smart Suggestions** | AI suggests 2-3 next steps after every task |
| ๐Ÿ”ง **Auto-fix Silent** | Errors fixed automatically, user never sees them |
| ๐Ÿ“Š **Progress Tracking** | Visual progress bars and checklists |
| ๐Ÿ”„ **Session Recovery** | Continue where you left off, even across IDEs |
| ๐Ÿ‘๏ธ **Preview Mode** | See changes before applying |
| โช **Version Control** | Easy undo/rollback without knowing git |
| ๐Ÿ”Œ **Integrations** | One-click setup for Stripe, PromptPay, Email, Analytics |

### Example: Business Context

```bash
/toh:vibe coffee shop

# AI understands this means:
# โœ… POS System
# โœ… Menu Management
# โœ… Order Management
# โœ… Inventory
# โœ… Sales Reports
# No need to specify each feature!
```

### Example: Smart Suggestions

```
โœ… Dashboard created!

๐Ÿ’ก Recommended next steps:
1. /toh:design - Polish the UI
2. /toh:dev - Add logic
3. /toh:connect - Connect database

Type a number or tell me what you want to do.
```

### ๐Ÿง  `/toh:plan` - The Brain
```bash
/toh:plan Add user authentication with social login
```
The AI will analyze your project, create a plan, show you what it will do, then execute using the right agents.

### ๐Ÿ’พ Auto Memory System
Your AI remembers everything across sessions:
- Switch IDEs (Claude โ†’ Cursor) - context preserved
- Token limit reached - start new chat, context preserved
- Come back tomorrow - context preserved

Files stored in `.toh/memory/` - zero config, just works!

## ๐Ÿ“ฆ Installation

```bash
# Interactive install (choose IDEs and language)
npx toh-framework install

# Quick install (Claude Code + Cursor, English)
npx toh-framework install --quick

# Specific IDE only
npx toh-framework install --ide claude
npx toh-framework install --ide cursor
npx toh-framework install --ide gemini
npx toh-framework install --ide codex

# Multiple IDEs
npx toh-framework install --ide "claude,cursor,gemini,codex"
```

## ๐Ÿ”„ Update to Latest Version

If you already have Toh installed and want to update:

```bash
# Method 1: Use npx (recommended - always gets latest)
npx toh-framework@latest install

# Method 2: If installed globally
npm update -g toh-framework
toh install

# Method 3: Just reinstall (overwrites safely)
npx toh-framework install
```

> ๐Ÿ’ก **Tip:** Reinstalling updates skills, agents, and commands without deleting your existing memory!

## ๐Ÿ› ๏ธ Supported IDEs & CLI Tools

| Tool | Company | Config Location | Status |
|------|---------|-----------------|--------|
| **Claude Code** | Anthropic | `.claude/` + `CLAUDE.md` | โœ… Full Support |
| **Cursor** | Cursor | `.cursor/rules/` | โœ… Full Support |
| **Gemini CLI** | Google | `.gemini/` | โœ… Full Support |
| **Codex CLI** | OpenAI | `AGENTS.md` | โœ… Full Support |

## ๐Ÿš€ Quick Start

### Claude Code (Anthropic)

After installation, use commands immediately:

```bash
# Open project with Claude Code
claude .

# Show all commands
/toh:help

# Create new project (natural language!)
/toh:vibe I want a coffee shop management system with POS, inventory, and sales reports

# Add UI
/toh:ui Add a dashboard page showing daily sales

# Improve Design
/toh:design Make it look professional and polished

# Test system (Auto fix until pass!)
/toh:test Test all pages

# Deploy
/toh:ship
```

### Cursor

```bash
# Call Toh agent
@toh Create a meeting room booking system

# Or use specific command
@toh:ui Create a calendar page for room booking
```

### Gemini CLI (Google)

```bash
# Start Gemini CLI in project directory
gemini

# Or use specific model
gemini --model gemini-2.5-pro

# Use commands like Claude Code
/toh:help
/toh:vibe Inventory management system
```

### Codex CLI (OpenAI)

```bash
# Start Codex CLI in project directory
codex

# Toh Framework loads automatically from AGENTS.md
# Use commands directly
/toh:vibe Restaurant order management system
```

## ๐Ÿ“‹ Available Commands

| Command | Shortcut | Description |
|---------|----------|-------------|
| `/toh:help` | `/toh:h` | โ“ Show all available commands |
| `/toh:plan` | `/toh:p` | ๐Ÿง  **THE BRAIN** - Analyze, plan, orchestrate all agents |
| `/toh:vibe` | `/toh:v` | ๐ŸŽจ Create new project with UI + Logic + Mock Data |
| `/toh:ui` | `/toh:u` | ๐Ÿ–ผ๏ธ Build UI - Pages, Components, Layouts |
| `/toh:dev` | `/toh:d` | โš™๏ธ Add Logic - TypeScript, Zustand, Forms |
| `/toh:design` | `/toh:ds` | โœจ Improve Design - Make it beautiful, not AI-looking |
| `/toh:test` | `/toh:t` | ๐Ÿงช Test System - Auto test & fix until pass |
| `/toh:connect` | `/toh:c` | ๐Ÿ”Œ Connect Backend - Supabase, Auth, RLS |
| `/toh:line` | `/toh:l` | ๐Ÿ’š LINE Mini App - LIFF integration |
| `/toh:mobile` | `/toh:m` | ๐Ÿ“ฑ Mobile App - Expo / React Native |
| `/toh:fix` | `/toh:f` | ๐Ÿ”ง Fix Bugs - Debug and fix issues |
| `/toh:ship` | `/toh:s` | ๐Ÿš€ Deploy - Vercel, Production ready |

## ๐Ÿง  Philosophy (AODD)

Toh Framework uses **AI-Orchestration Driven Development (AODD)** principles:

### 1. Natural Language โ†’ Tasks
Users command in natural language, system breaks it down into tasks automatically.

```
โŒ "Create a Next.js project with Zustand store for products 
    with React Hook Form and Zod validation..."

โœ… "I want an online store"
```

### 2. Orchestrator โ†’ Agents
System automatically calls relevant AI-Agents to work.

```
User: "Create a product management page"

Orchestrator thinks:
โ”œโ”€โ”€ ๐Ÿ“ Call ui-builder to create UI
โ”œโ”€โ”€ โš™๏ธ Call dev-builder to add logic
โ”œโ”€โ”€ โœจ Call design-reviewer to polish
โ””โ”€โ”€ โœ… Deliver results
```

### 3. Users Don't Manage the Process
- No framework selection needed
- No questions to answer
- No need to know which agent does what
- Just receive results

### 4. Test โ†’ Fix โ†’ Loop
When tests find errors, system will:
1. ๐Ÿงช Run tests with Playwright
2. ๐Ÿ” Analyze errors
3. ๐Ÿ”ง Call `/toh:fix` to repair
4. ๐Ÿ”„ Retest until pass

## ๐Ÿ—๏ธ Tech Stack (Fixed)

Toh Framework uses a fixed tech stack - no decisions needed:

| Category | Technology |
|----------|------------|
| Framework | Next.js 14 (App Router) |
| Styling | Tailwind CSS + shadcn/ui |
| State | Zustand |
| Forms | React Hook Form + Zod |
| Backend | Supabase |
| Testing | Playwright |
| Language | TypeScript (strict) |

## ๐Ÿค– Agents

| Agent | Description |
|-------|-------------|
| `ui-builder` | Creates UI and Components |
| `dev-builder` | Adds Logic and State Management |
| `design-reviewer` | Improves Design to professional level |
| `test-runner` | Tests system with auto-fix |
| `backend-connector` | Connects to Supabase |
| `platform-adapter` | Adapts for LINE, Mobile, Desktop |

## ๐Ÿ“š Skills

| Skill | Description |
|-------|-------------|
| `vibe-orchestrator` | Core methodology and workflow |
| `ui-first-builder` | UI patterns and component library |
| `dev-engineer` | TypeScript, Zustand, Forms |
| `design-excellence` | Design system and anti-patterns |
| `test-engineer` | Testing strategy and Playwright |
| `backend-engineer` | Supabase, RLS, Auth |
| `platform-specialist` | LINE, Expo, Tauri |

## ๐Ÿ”„ Workflow Example

```
User: "Create a coffee shop management system"

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  ๐ŸŽฏ Toh Orchestrator                                โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  1. Analyze requirements                            โ”‚
โ”‚     โ†’ POS system, inventory, reports                โ”‚
โ”‚                                                     โ”‚
โ”‚  2. Call ui-builder                                 โ”‚
โ”‚     โ†’ Create all UI pages + Mock data               โ”‚
โ”‚                                                     โ”‚
โ”‚  3. Call dev-builder                                โ”‚
โ”‚     โ†’ Add state management + forms                  โ”‚
โ”‚                                                     โ”‚
โ”‚  4. Call design-reviewer                            โ”‚
โ”‚     โ†’ Polish UI to professional look                โ”‚
โ”‚                                                     โ”‚
โ”‚  5. Call test-runner                                โ”‚
โ”‚     โ†’ Test all pages, auto-fix until pass           โ”‚
โ”‚                                                     โ”‚
โ”‚  โœ… Deliver ready-to-use system!                    โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```

## ๐ŸŒ Web Bundles

For use with ChatGPT, Claude.ai, or Gemini:

```bash
npx toh-framework bundle
```

Generated files:
- `toh-full-bundle.txt` - All features
- `toh-ui-bundle.txt` - UI only
- `toh-dev-bundle.txt` - Logic only

Copy and paste into Custom Instructions or System Prompt.

## ๐Ÿ”ง CLI Commands

```bash
# Install framework
npx toh-framework install

# List available commands
npx toh-framework list

# Check installation status
npx toh-framework status

# Generate web bundles
npx toh-framework bundle
```

## ๐Ÿ†š Comparison

| Feature | Traditional | Toh Framework |
|---------|-------------|---------------|
| Setup Time | 30+ min | 2 min |
| Questions Asked | 10+ | 0 |
| Time to First UI | Hours | Minutes |
| Mock Data | Lorem ipsum | Realistic data |
| Tech Stack Decision | Every time | Fixed, optimized |
| Auto Testing | Manual setup | Built-in |
| Error Fixing | Manual | Auto loop |

## ๐Ÿ“– Examples

### Create E-commerce System

```
/toh:vibe Online store with product pages, cart, and checkout
```

### Create Employee Management

```
/toh:vibe HR system with employee management, leave requests, approvals, reports
```

### Create Dashboard

```
/toh:vibe Dashboard showing sales, charts, tables with date filters
```

### Test and Fix

```
/toh:test Test all pages
# If errors โ†’ auto call /toh:fix โ†’ retest until pass
```

## ๐ŸŽฏ Target Users

- **Solo Developers** - Build SaaS single-handedly
- **Solopreneurs** - Create MVP to test market
- **Startup Founders** - Prototype for investors
- **Freelancers** - Deliver client work faster
- **Students** - Learn modern web development

## ๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

1. Fork the project
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## ๐Ÿ“ License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## ๐Ÿ‘จโ€๐Ÿ’ป Author

**Wasin Treesinthuros** (Innovation Vantage)

- ๐ŸŒ Website: [tohframework.dev](https://tohframework.dev)
- GitHub: [@wasintoh](https://github.com/wasintoh)
- Email: dr.wasin@gmail.com

---

<p align="center">
  Made with โค๏ธ for you.
</p>

<p align="center">
  <strong>"Type Once, Have it all!"</strong>
</p>