Skills

Developing Genkit Dart

Use when building AI agents in Dart, implementing Genkit flows or tools, integrating...

Install

npx skills add evanca/flutter-ai-rules --skill developing-genkit-dart -g -a claude-code -y
Category
AI and agents
Updated
5d ago
License
MIT
Context cost
Lightabout 906 tokens
Runs scripts
No, instructions only

What it does

Use when building AI agents in Dart, implementing Genkit flows or tools, integrating LLMs into Dart or Flutter applications, or using Genkit Dart plugins.

Genkit Dart

Genkit Dart is an AI SDK for Dart that provides a unified interface for code generation, structured outputs, tools, flows, and AI agents.

Core Features and Usage

If you need help with initializing Genkit (Genkit()), Generation (ai.generate), Tooling (ai.defineTool), Flows (ai.defineFlow), Embeddings (ai.embedMany), streaming, or calling remote flow endpoints, please load the core framework reference: references/genkit.md

Genkit CLI (recommended)

The Genkit CLI provides a local development UI for running Flow, tracing executions, playing with models, and evaluating outputs.

check if the user has it installed: genkit --version

Installation:

npm install -g genkit-cli # Via npm (preferred)

A native CLI installer is also documented at https://genkit.dev/docs/devtools, it pipes a remote script to bash, so run it yourself rather than having an agent execute it.

Usage: Wrap your run command with genkit start to attach the Genkit developer UI and tracing:

genkit start -- dart run main.dart

Plugin Ecosystem

Genkit relies on a large suite of plugins to perform generative AI actions, interface with external LLMs, or host web servers.

When asked to use any given plugin, always verify usage by referring to its corresponding reference below. You should load the reference when you need to know the specific initialization arguments, tools, models, and usage patterns for the plugin:

Read the whole SKILL.md on GitHub

More in AI and agents