ui-preview — community ui-preview, kelas.rumahberbagi.com, community, ide skills, Claude Code, Cursor, Windsurf

v1
GitHub

About this Skill

Perfect for Frontend Agents needing advanced UI testing and debugging capabilities with Chrome DevTools Kelas Rumah Berbagi

zainfathoni zainfathoni
[0]
[0]
Updated: 3/5/2026

Agent Capability Analysis

The ui-preview skill by zainfathoni is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Perfect for Frontend Agents needing advanced UI testing and debugging capabilities with Chrome DevTools

Core Value

Empowers agents to automate UI interactions using navigate_page, take_screenshot, and evaluate_script, streamlining the testing process with JavaScript execution and keyboard key presses

Capabilities Granted for ui-preview

Automating UI testing for local dev servers
Debugging storybooks with screenshot analysis
Evaluating JavaScript code on live pages

! Prerequisites & Limits

  • Requires Chrome DevTools installation
  • Limited to local dev servers and storybooks
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

ui-preview

Install ui-preview, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

UI Preview Skill

Preview local dev servers and storybooks using Chrome DevTools.

Available Tools

  • navigate_page - Navigate to a URL
  • take_screenshot - Capture a screenshot of the current page
  • new_page - Open a new browser tab
  • press_key - Press keyboard keys (e.g., scrolling with PageDown, End)
  • evaluate_script - Run JavaScript on the page

Workflow

  1. Navigate to the target URL using navigate_page
  2. Screenshot the page using take_screenshot
  3. Analyze captured screenshots with look_at for visual analysis

Local Dev URLs

Check .amp/dev-environment.txt for the running URLs (defaults: web=http://localhost:7001, server=https://localhost:7002).

ServicePath
Web dev server/
Server dev server/
Webview storybook/storybook
Server storybook/storybook

Storybooks

Access a specific story directly using the hash: /storybook#${story-title}

The story title is derived from the filename: handoff-story.svelte#handoff-tool

Webview Storybook (localhost:7001)

Components for the VS Code extension webview UI.

Thread Components:

  • #thread - Full thread view
  • #streaming-thread - Thread with streaming content
  • #scrollable-thread - Thread with scroll behavior
  • #thread-reply-area - Message input area
  • #thread-status - Thread status indicators
  • #thread-summary - Thread summary view
  • #thread-hints - Thread hint suggestions
  • #thread-environment-input - Environment input

Tool Calls:

  • #bash - Bash tool output
  • #edit-file - File edit diffs
  • #create-file - File creation
  • #read - File read output
  • #grep - Search results
  • #glob - File glob results
  • #handoff-tool - Handoff tool states
  • #mermaid - Diagram rendering
  • #oracle-tool - Oracle tool output
  • #task-tool - Task tool output
  • #web-search - Web search results

Editor & Input:

  • #prompt-editor - Message input editor
  • #mention-menu - @mention autocomplete
  • #combobox - Combobox component
  • #agent-mode-selector - Agent mode picker

Diff Viewer:

  • #diff-viewer - Side-by-side diff
  • #diff-display - Inline diff display
  • #unified-diff - Unified diff format

Settings:

  • #settings-page - Settings page
  • #settings-error-modal - Error modal
  • #sign-in-page - Authentication page

Layout:

  • #layout-navbar - Navigation bar
  • #current-thread-navbar-item - Thread nav item

Server Storybook (localhost:7002)

Components for the ampcode.com web app.

Thread Management:

  • #thread-feed - Thread list feed
  • #thread-feed-item - Individual thread item
  • #thread-feed-list - Virtualized thread list
  • #thread-actions - Thread action buttons
  • #thread-visibility - Visibility settings
  • #thread-visibility-edit - Edit visibility
  • #thread-page - Full thread page
  • #thread-open-in-button - Open in editor button
  • #pull-request-badge - PR badge display

Settings:

  • #settings-access-token-section - API tokens
  • #settings-advanced-section - Advanced settings
  • #settings-client-section - Client settings
  • #billing-section - Billing info
  • #amp-free-section - Free tier info
  • #code-host-connections-section - GitHub/GitLab connections

User & Profile:

  • #avatar - User avatar
  • #profile-card - Profile card
  • #profile-dropdown - Profile menu
  • #user-display - User name display

Dashboard:

  • #welcome - Welcome page
  • #usage-by-day - Usage metrics

UI Components:

  • #amp-logo - Logo variants
  • #badge-single - Single badge
  • #badge-group - Badge group
  • #copyable-text - Copy-to-clipboard text
  • #colors - Color palette
  • #icons - Icon set

OG Images:

  • #og-images - Social preview images

Tips

  • Story titles use kebab-case from filenames (remove -story.svelte)
  • Reload the skill if MCP tools become unavailable
  • Use list_pages to manage multiple browser tabs
  • Use press_key with "End" or "PageDown" to scroll the page
  • Use evaluate_script for custom page interactions

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is ui-preview?

Perfect for Frontend Agents needing advanced UI testing and debugging capabilities with Chrome DevTools Kelas Rumah Berbagi

How do I install ui-preview?

Run the command: npx killer-skills add zainfathoni/kelas.rumahberbagi.com. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for ui-preview?

Key use cases include: Automating UI testing for local dev servers, Debugging storybooks with screenshot analysis, Evaluating JavaScript code on live pages.

Which IDEs are compatible with ui-preview?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for ui-preview?

Requires Chrome DevTools installation. Limited to local dev servers and storybooks.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add zainfathoni/kelas.rumahberbagi.com. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use ui-preview immediately in the current project.

Related Skills

Looking for an alternative to ui-preview or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI