npx skills add ...
npx skills add flutter/genui --skill 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.
npx skills add flutter/genui --skill genui-helper
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:
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.Make every code element as private as it can be. If tests need access, use the
language's test-visibility mechanism instead of making it public.
For example, in Dart, keep
the _ prefix and annotate with @visibleForTesting.