wasintoh/toh-framework/preview-mode-2
Claude Code and agent skill by wasintoh/toh-framework
- community
Checking that the SKILL.md file is still in the repository.
Show-before-commit previews — after completing work, present what changed as a live dev-server URL or a concise plain-language description so the user can confirm or request changes with confidence. Use when delivering visible changes (pages, components, styling) to a running project.
Install
npx vskill@latest install wasintoh/toh-framework/preview-mode-2SKILL.md
👁️ Preview Mode Skill
Purpose: Show users what will change before applyingVersion: 1.0.0Author: Toh Framework Team
Overview
This skill enables AI to show previews of changes before applying them, giving users confidence in what's being created.
Core Principle
SEE BEFORE COMMIT
Preview Types
Type 1: Dev Server Preview (Live)
When dev server is running:
Type 2: Description Preview (No Server)
When dev server isn't running:
Type 3: Before/After Preview (Modifications)
When modifying existing code:
<Button>Submit</Button>
<Button onClick={handleSubmit} disabled={isLoading}
{isLoading ? <Spinner /> : 'Submit'} </Button>
Auto Dev Server Detection
AI should detect if dev server is running:
With Dev Server
Without Dev Server
npm run dev
Preview Confirmation Flow
Standard Flow
Quick Flow (For Simple Changes)
Preview Templates by Task Type
New Page Preview
New Component Preview
Design Change Preview
Logic Change Preview
User clicks Submit ↓ Validate form (Zod) ↓ Show loading state ↓ Call API ↓ Success? → Show toast + Clear form Error? → Show error message
Multi-File Change Preview
When changes span multiple files:
Preview for Destructive Actions
Extra confirmation for risky operations:
Preview Settings
User can configure preview behavior:
Integration with Other Skills
| Skill | Integration | |
|---|---|---|
| Version Control | Auto-checkpoint before apply | |
| Error Handling | Preview potential issues | |
| Smart Suggestions | Suggest improvements in preview | |
| Progress Tracking | Show progress after apply |
Best Practices
DO:
- ✅ Always show preview for major changes
- ✅ Provide live URL when possible
- ✅ Use ASCII art for layout preview
- ✅ List all files that will change
- ✅ Highlight breaking changes
DON'T:
- ❌ Skip preview for destructive actions
- ❌ Show too much technical detail
- ❌ Assume user wants to proceed
- ❌ Apply without any confirmation for major changes
ASCII Art Templates
Dashboard Layout
Card Grid
Form Layout
Table Layout
Last Updated: 2024-12-03
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/skills/preview-mode/SKILL.md
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
[](https://verified-skill.com/skills/wasintoh/toh-framework/preview-mode-2)