mock-analysis

Official

Analyze mocks for block conversion.

AuthorNextSpark-js
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the analysis of visual design mocks (HTML/CSS) to identify structural elements and extract design tokens, streamlining the conversion process into functional code blocks.

Core Features & Use Cases

  • Section Identification: Automatically detects and classifies common page sections like hero, navigation, features, and footers.
  • Component Detection: Identifies reusable UI components such as buttons, forms, cards, and icons within the mock.
  • Tailwind Config Extraction: Parses inline Tailwind CSS configurations to extract color palettes, font families, and other design tokens.
  • Use Case: When converting a Figma export into a Next.js application, this Skill can analyze the exported HTML and CSS to categorize sections and identify all buttons and input fields, providing a structured analysis.json report for the next development phase.

Quick Start

Analyze the mock files located in the '/path/to/your/mock/export' directory.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mock-analysis
Download link: https://github.com/NextSpark-js/nextspark/archive/main.zip#mock-analysis

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.