infographic-item-creator

Generate TypeScript Item component code with getItemProps and getElementBounds.

4|Updated Nov 25, 2025
One-click install
npx skills add https://github.com/crazywoola/dify-x --skill infographic-item-creator-crazywoola
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: infographic-item-creator
Source: https://github.com/crazywoola/dify-x/tree/main/.claude/skills/infographic-item-creator
Command: npx skills add https://github.com/crazywoola/dify-x --skill infographic-item-creator-crazywoola

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Generate complete Item component code for the infographic framework, following the project's item rules, layout constraints, and registration requirements.

Core Features & Use Cases

  • Automates the creation of TSX Item components that conform to item rules, layout constraints, and registration metadata.
  • Supports extracting props via getItemProps, computing bounds with getElementBounds, and registering composites accurately.
  • Useful for design systems teams building consistent data-item visuals and reusable components across decks.

Quick Start

Run the generator to output a complete TypeScript Item component file following the project’s item rules and register it with its composites.

Frequently Asked Questions about infographic-item-creator

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

FAQPage Schema
How do I generate TypeScript Item components for an infographic framework?

To generate TypeScript Item components for an infographic framework, use a generator that outputs complete TSX files implementing getItemProps and getElementBounds, ensuring accurate composites metadata and registry alignment. This approach streamlines design-to-code workflows by automating component scaffolding and registration.

What is the process for registering composites metadata in infographic Item components?

Registering composites metadata in infographic Item components involves ensuring generated TSX files follow project item rules and layout constraints. The generator automatically aligns composites metadata with registry requirements, enabling accurate prop extraction via getItemProps and bounds computation via getElementBounds.

Can I use this generator to create data-item visuals with optional icon, label, and desc properties?

Yes, you can create data-item visuals with optional icon, label, desc, value, and illus properties. The generator outputs TSX Item components supporting these optional fields, enabling design system teams to build consistent and reusable data visualizations across multiple decks.

How do I implement getElementBounds and getItemProps when creating TSX Item components?

To implement getElementBounds and getItemProps in TSX Item components, run the generator which automatically includes these functions in the output file. This ensures the component computes bounds correctly and extracts props while adhering to the infographic framework's layout constraints and item rules.

Does this approach support building reusable design system components across multiple decks?

Yes, this approach supports building reusable design system components across multiple decks. By generating TSX Item components that conform to item rules and registration metadata, design system teams can maintain consistent data-item visuals and streamline design-to-code workflows effectively.