en un clic
genui-helper
// Development helper for the GenUI repository. Use this skill when the user asks about GenUI workflows, running tests, creating components, finding A2UI or Dart references, or adhering to repository standards.
// Development helper for the GenUI repository. Use this skill when the user asks about GenUI workflows, running tests, creating components, finding A2UI or Dart references, or adhering to repository standards.
Use this skill when the user asks to create a new CatalogItem, data class, and/or widget class based on a JSON Schema definition in an application that uses Flutter's `genui` package.
Use this skill when the user asks to integrate the genui package and get a simple conversation going with Firebase AI Logic.
| name | genui-helper |
| description | Development helper for the GenUI repository. Use this skill when the user asks about GenUI workflows, running tests, creating components, finding A2UI or Dart references, or adhering to repository standards. |
This skill provides workflows and best practices specific to the genui repository.
The repository uses a custom tool to run tests, apply fixes, and format code before committing. It should typically only be run before committing, since it is inefficient and slow to run it on every change.
It will run dart fix --apply, dart format, and flutter test on all packages in the repository.
Command:
dart run tool/test_and_fix/bin/test_and_fix.dart
When to use:
flutter test manually for each project in the repo.When creating a new UI component in genui:
packages/genui/lib/src/components/.UiComponent.docs/.mkdocs context if mentioned, but primarily edit the markdown files directly.SurfaceController from genui.