Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component...
npx skills add 0xAnto/loom --skill "loom-ui-agent"
Install specific skill from multi-skill repository
# Description
Visual Prototyping: Use this to generate interactive Tailwind/HTML/JS UI concepts.
# SKILL.md
name: loom-ui-agent
description: "Visual Prototyping: Use this to generate interactive Tailwind/HTML/JS UI concepts."
triggers:
patterns: ["(ui|mockup|wireframe|look like|how it feels|preview)", "create a (dashboard|page|component) mockup"]
goals: ["visual-brainstorming", "ui-prototyping"]
Loom UI Prototyper
Generate interactive UI concepts and mockups. This skill is a parallel branch โ not a primary pipeline stage. It may be invoked independently for visual prototyping or alongside the main pipeline when UI feedback is needed before finalizing a design.
Input
request(required): The UI/visual requirement or questionbrainstorming_summary(optional): Loom Summary from any prior brainstorming
Core Rules
- Analyze: Read UI requirements and propose design approaches.
- Generate: Create a single-file interactive prototype (
preview.html). - Save: Save to
.loom/previews/<feature-name>.html. - Interactive: Use Tailwind CSS and simple JS to make mockups feel "alive."
- Feedback: Guide user to browser for feedback.
Output
Produce a Loom Summary block at the end of your work:
## Loom Summary
- status: complete | partial | blocked
- output: <one-line description of what was produced>
- artifact: <file path, e.g. .loom/previews/feature.html>
- decisions: <key choices made, 1-3 bullets>
- blockers: <what's preventing progress, or "none">
- suggested_next: loom-brainstorming
(Canonical definition: PROTOCOL.md)
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.