Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

create-catalog-item

Skill by flutter

Creates a GenUI CatalogItem from a json_schema_builder Schema, including its data class and Flutter widget class. It is for developers building Flutter apps with the genui package.

  • Score 81
  • 1.8k stars
  • BSD-3-Clause
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install create-catalog-item

Built from the published package, never by AI.

git clone --depth 1 https://github.com/flutter/genui /tmp/genui && mkdir -p ~/.claude/skills && cp -r /tmp/genui/packages/genui/skills/create-catalog-item ~/.claude/skills/create-catalog-item

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install create-catalog-item in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an AI assistant through creating a GenUI CatalogItem from a provided json_schema_builder Schema. The output has three parts: a data class named _<SchemaName>Data with a fromJson factory that casts each JSON property inside a try-catch block, a final CatalogItem instance whose widgetBuilder parses the data and returns the widget, and a widget class built with Flutter Material components. If the schema includes an action callback, the skill uses resolveContext and itemContext.dispatchEvent to dispatch a UserActionEvent.

The skill is written for developers working in an application that uses Flutter's genui package. It aims to make sure the AI model can generate and interact with the UI component correctly. The source includes a worked example that turns a basic card schema into the data class, CatalogItem and widget.

Written from the project's SKILL.md and checked against it.

What it can do

  • Create data classBuilds a _<SchemaName>Data class with final fields and a fromJson factory that uses try-catch.
  • Create CatalogItem instanceDeclares a final CatalogItem named after the schema, with dataSchema and a widgetBuilder.
  • Create widget classBuilds a StatelessWidget or StatefulWidget that displays each data field using Flutter Material components.
  • Handle actionsResolves action context with resolveContext and dispatches a UserActionEvent when the schema includes an action.

What you need

  • A Flutter application that uses the genui package
  • A json_schema_builder Schema to base the CatalogItem on

Try asking

  • Create a CatalogItem and widget for my myCardSchema in my genui app
  • Generate the data class and fromJson for this JSON Schema in Flutter
  • Add an onCompleted action to my BasicCard CatalogItem using dispatchEvent

Good to know

  • Action handling applies only when the schema includes an action callback

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: packages/genui/skills/create-catalog-item/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB

Alternatives to create-catalog-item

All alternatives →

Compare with react-component-performance, react-component-performance or lecture-style

create-catalog-item: common questions

What does the create-catalog-item skill generate?

It generates a data class, a CatalogItem instance and a widget class based on a json_schema_builder Schema. The source says the skill is for applications that use Flutter's genui package.

How is the data class named?

The data class is named _<SchemaName>Data. For example, a schema named myCardSchema gives a data class named _MyCardData.

How are actions handled in the generated CatalogItem?

If the schema includes an action callback, the widgetBuilder parses the action context with resolveContext and dispatches an event with itemContext.dispatchEvent.

How do I install create-catalog-item?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is create-catalog-item free?

The code is published under the BSD-3-Clause licence. The service it connects to may have its own pricing.

Is create-catalog-item safe to use?

It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to create-catalog-item?

Similar skills: react-component-performance, react-component-performance, lecture-style, workshop-style.

create-catalog-item Install

Add to stack

Loading.