extract

Extracts UI slices from HTML and generates reusable components for ZaqWeb.

66|9|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/www-zaq-ai/zaq --skill extract-www-zaq-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: extract
Source: https://github.com/www-zaq-ai/zaq/tree/main/.agents/skills/extract
Command: npx skills add https://github.com/www-zaq-ai/zaq --skill extract-www-zaq-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires html_parser, design_system_lib, storybook, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of finding and extracting UI slices from existing web applications, creating reusable components, and integrating them into the ZaqWeb design system.

Core Features & Use Cases

  • UI Slice Extraction: Automatically identifies UI slices for potential componentization.
  • Component Creation: Generates new components or extends existing ones based on the extracted slices.
  • Integration: Automates the addition of new components into the ZaqWeb design system.
  • Use Case: When updating an existing web application and you want to refactor UI elements into reusable components, use this Skill to streamline the process.

Quick Start

Run the 'extract' skill in your ZaqWeb project to automatically detect UI slices that can be converted into reusable components.

Frequently Asked Questions about extract

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract UI slices from HTML to create reusable web components?

Extracting UI slices from HTML involves identifying repeating elements and converting them into reusable components. This Skill automates that process, generating the necessary code for integration into a design system and Storybook documentation.

What is the best way to refactor UI elements into a design system?

Refactoring UI elements into a design system is best handled by automating UI slice extraction from existing HTML. This process identifies component candidates and generates integration code, streamlining the update of web applications.

Do I need to know Elixir and Phoenix to use automated component creation?

Yes, you need familiarity with the Elixir and Phoenix framework to use automated component creation. The process generates code for a web application that requires structural knowledge of these technologies for proper integration.

Can I integrate extracted UI components directly into Storybook?

Yes, you can integrate extracted UI components directly into Storybook. The Skill automates the addition of new components into the design system and generates the necessary Storybook documentation alongside the integration code.

When should I automate UI slice extraction instead of manually building components?

You should automate UI slice extraction when updating an existing web application and refactoring UI elements into reusable components. This streamlines the process of extending your design system without manually writing boilerplate integration code.

Does this component creation process work with my existing web application's HTML structure?

Yes, the component creation process works with your existing web application by parsing HTML content. It automatically detects UI slices that can be converted into reusable components based on your current UI structure.