{"id":"948d9422-970f-438d-b0f8-a858c491babf","shortId":"XwmHbQ","kind":"skill","title":"developing-genkit-dart","tagline":"Generates code and provides documentation for the Genkit Dart SDK. Use when the user asks to build AI agents in Dart, use Genkit flows, or integrate LLMs into Dart/Flutter applications.","description":"# Genkit Dart\n\nGenkit Dart is an AI SDK for Dart that provides a unified interface for code generation, structured outputs, tools, flows, and AI agents.\n\n## Core Features and Usage\nIf 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: \n[references/genkit.md](references/genkit.md)\n\n## Genkit CLI (recommended)\n\nThe Genkit CLI provides a local development UI for running Flow, tracing executions, playing with models, and evaluating outputs.\n\ncheck if the user has it installed: `genkit --version`\n\n**Installation:**\n```bash\ncurl -sL cli.genkit.dev | bash # Native CLI\n# OR\nnpm install -g genkit-cli # Via npm\n```\n\n**Usage:**\nWrap your run command with `genkit start` to attach the Genkit developer UI and tracing:\n```bash\ngenkit start -- dart run main.dart\n```\n\n## Plugin Ecosystem\nGenkit relies on a large suite of plugins to perform generative AI actions, interface with external LLMs, or host web servers.\n\nWhen 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:\n\n| Plugin Name | Reference Link | Description |\n| ---- | ---- | ---- |\n| `genkit_google_genai` | [references/genkit_google_genai.md](references/genkit_google_genai.md) | Load for Google Gemini plugin interface usage. |\n| `genkit_anthropic` | [references/genkit_anthropic.md](references/genkit_anthropic.md) | Load for Anthropic plugin interface for Claude models. |\n| `genkit_openai` | [references/genkit_openai.md](references/genkit_openai.md) | Load for OpenAI plugin interface for GPT models, Groq, and custom compatible endpoints. |\n| `genkit_middleware` | [references/genkit_middleware.md](references/genkit_middleware.md) | Load for Tooling for specific agentic behavior: `filesystem`, `skills`, and `toolApproval` interrupts. |\n| `genkit_mcp` | [references/genkit_mcp.md](references/genkit_mcp.md) | Load for Model Context Protocol integration (Server, Host, and Client capabilities). |\n| `genkit_chrome` | [references/genkit_chrome.md](references/genkit_chrome.md) | Load for Running Gemini Nano locally inside the Chrome browser using the Prompt API. |\n| `genkit_shelf` | [references/genkit_shelf.md](references/genkit_shelf.md) | Load for Integrating Genkit Flow actions over HTTP using Dart Shelf. |\n| `genkit_firebase_ai` | [references/genkit_firebase_ai.md](references/genkit_firebase_ai.md) | Load for Firebase AI plugin interface (Gemini API via Vertex AI). |\n\n## External Dependencies\nWhenever you define schemas mapping inside of Tools, Flows, and Prompts, you must use the [schemantic](https://pub.dev/packages/schemantic) library. \nTo learn how to use schemantic, ensure you read [references/schemantic.md](references/schemantic.md) for how to implement type safe generated Dart code. This is particularly relevant when you encounter symbols like `@Schema()`, `SchemanticType`, or classes with the `$` prefix. Genkit Dart uses schemantic for all of its data models so it's a CRITICAL skill to understand for using Genkit Dart.\n\n## Best Practices\n- Always check that code cleanly compiles using `dart analyze` before generating the final response.\n- Always use the Genkit CLI for local development and debugging.","tags":["developing","genkit","dart","skills","genkit-ai","agent-skills"],"capabilities":["skill","source-genkit-ai","skill-developing-genkit-dart","topic-agent-skills"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/genkit-ai/skills/developing-genkit-dart","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add genkit-ai/skills","source_repo":"https://github.com/genkit-ai/skills","install_from":"skills.sh"}},"qualityScore":"0.456","qualityRationale":"deterministic score 0.46 from registry signals: · indexed on github topic:agent-skills · 12 github stars · SKILL.md body (3,486 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-19T00:41:24.009Z","embedding":null,"createdAt":"2026-04-19T00:41:24.009Z","updatedAt":"2026-04-19T00:41:24.009Z","lastSeenAt":"2026-04-19T00:41:24.009Z","tsv":"'/packages/schemantic)':372 'action':178,330 'agent':23,59,281 'ai':22,41,58,177,338,344,351 'ai.defineflow':77 'ai.definetool':75 'ai.embedmany':79 'ai.generate':73 'alway':194,434,448 'analyz':442 'anthrop':244,249 'api':320,348 'applic':34 'argument':217 'ask':19,188 'attach':151 'bash':126,130,158 'behavior':282 'best':432 'browser':316 'build':21 'call':82 'capabl':302 'check':116,435 'chrome':304,315 'class':406 'claud':253 'clean':438 'cli':95,99,132,139,452 'cli.genkit.dev':129 'client':301 'code':6,51,393,437 'command':146 'compat':270 'compil':439 'context':295 'core':60,89 'correspond':201 'critic':424 'curl':127 'custom':269 'dart':4,13,25,36,38,44,161,334,392,411,431,441 'dart/flutter':33 'data':418 'debug':457 'defin':356 'depend':353 'descript':230 'develop':2,103,154,455 'developing-genkit-dart':1 'document':9 'ecosystem':165 'embed':78 'encount':400 'endpoint':85,271 'ensur':380 'evalu':114 'execut':109 'extern':181,352 'featur':61 'filesystem':283 'final':446 'firebas':337,343 'flow':28,56,76,84,107,329,362 'framework':90 'g':136 'gemini':239,310,347 'genai':233 'generat':5,52,72,176,391,444 'genkit':3,12,27,35,37,70,71,94,98,123,138,148,153,159,166,231,243,255,272,288,303,321,328,336,410,430,451 'genkit-c':137 'given':192 'googl':232,238 'gpt':265 'groq':267 'help':67 'host':184,299 'http':332 'implement':388 'initi':69,216 'insid':313,359 'instal':122,125,135 'integr':30,297,327 'interfac':49,179,241,251,263,346 'interrupt':287 'know':213 'larg':170 'learn':375 'librari':373 'like':402 'link':229 'llms':31,182 'load':87,206,236,247,259,276,292,307,325,341 'local':102,312,454 'main.dart':163 'map':358 'mcp':289 'middlewar':273 'model':112,219,254,266,294,419 'must':366 'name':227 'nano':311 'nativ':131 'need':66,211 'npm':134,141 'openai':256,261 'output':54,115 'particular':396 'pattern':222 'perform':175 'play':110 'pleas':86 'plugin':164,173,193,225,226,240,250,262,345 'practic':433 'prefix':409 'prompt':319,364 'protocol':296 'provid':8,46,100 'pub.dev':371 'pub.dev/packages/schemantic)':370 'read':382 'recommend':96 'refer':91,198,202,208,228 'references/genkit.md':92,93 'references/genkit_anthropic.md':245,246 'references/genkit_chrome.md':305,306 'references/genkit_firebase_ai.md':339,340 'references/genkit_google_genai.md':234,235 'references/genkit_mcp.md':290,291 'references/genkit_middleware.md':274,275 'references/genkit_openai.md':257,258 'references/genkit_shelf.md':323,324 'references/schemantic.md':383,384 'relev':397 'reli':167 'remot':83 'respons':447 'run':106,145,162,309 'safe':390 'schema':357,403 'schemant':369,379,413 'schemantictyp':404 'sdk':14,42 'server':186,298 'shelf':322,335 'skill':284,425 'skill-developing-genkit-dart' 'sl':128 'source-genkit-ai' 'specif':215,280 'start':149,160 'stream':80 'structur':53 'suit':171 'symbol':401 'tool':55,74,218,278,361 'toolapprov':286 'topic-agent-skills' 'trace':108,157 'type':389 'ui':104,155 'understand':427 'unifi':48 'usag':63,142,196,221,242 'use':15,26,190,317,333,367,378,412,429,440,449 'user':18,119 'verifi':195 'version':124 'vertex':350 'via':140,349 'web':185 'whenev':354 'wrap':143","prices":[{"id":"6d6e51b4-01e9-4f9f-ac19-7a08fda50f9f","listingId":"948d9422-970f-438d-b0f8-a858c491babf","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"genkit-ai","category":"skills","install_from":"skills.sh"},"createdAt":"2026-04-19T00:41:24.009Z"}],"sources":[{"listingId":"948d9422-970f-438d-b0f8-a858c491babf","source":"github","sourceId":"genkit-ai/skills/developing-genkit-dart","sourceUrl":"https://github.com/genkit-ai/skills/tree/main/skills/developing-genkit-dart","isPrimary":false,"firstSeenAt":"2026-04-19T00:41:24.009Z","lastSeenAt":"2026-04-19T00:41:24.009Z"}],"details":{"listingId":"948d9422-970f-438d-b0f8-a858c491babf","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"genkit-ai","slug":"developing-genkit-dart","github":{"repo":"genkit-ai/skills","stars":12,"topics":["agent-skills","ai"],"license":null,"html_url":"https://github.com/genkit-ai/skills","pushed_at":"2026-04-17T19:57:58Z","description":"Agent Skills that teach AI coding agents how to build applications with the Genkit framework (JS/TS, Go, Dart).","skill_md_sha":"714c697bd7402bab0a78319d516dd82177504487","skill_md_path":"skills/developing-genkit-dart/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/genkit-ai/skills/tree/main/skills/developing-genkit-dart"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"developing-genkit-dart","description":"Generates code and provides documentation for the Genkit Dart SDK. Use when the user asks to build AI agents in Dart, use Genkit flows, or integrate LLMs into Dart/Flutter applications."},"skills_sh_url":"https://skills.sh/genkit-ai/skills/developing-genkit-dart"},"updatedAt":"2026-04-19T00:41:24.009Z"}}