developing-genkit-js
Skill by google
Guides an AI assistant through building AI-powered applications with Genkit in Node.js and TypeScript. It is for developers working on flows, agents, prompts, or tools in JavaScript or TypeScript.
Install developing-genkit-js
Built from the published package, never by AI.
git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cloud/developing-genkit-js ~/.claude/skills/developing-genkit-jsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/cloud/developing-genkit-js ~/.gemini/antigravity-cli/skills/developing-genkit-jsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install developing-genkit-js in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant guidance for developing applications with Genkit in Node.js and TypeScript. It covers flows, Dotprompt prompt files, beta agents, A2UI generative UI, middleware, and observability. It tells the assistant to read the Genkit docs through the Genkit CLI and to check the common errors reference before fixing any Genkit error. It also explains how to run apps under the genkit CLI so traces are captured for inspection.
The skill requires the genkit CLI at version 1.29.0 or newer, and agent features require genkit 1.39.0 or newer. It defaults to Google AI when the user does not name a provider, and it detects frameworks such as Next.js, Firebase, and Express from package.json. It is aimed at developers who build Genkit apps in JavaScript or TypeScript. The source says not to use it for Genkit in Python, Go, or Dart.
Written from the project's SKILL.md and checked against it.
What it can do
- FlowsHelps define Genkit flows with input and output schemas and call models with ai.generate.
- Dotprompt promptsCovers .prompt files with YAML frontmatter, Handlebars templates, variants, and partials.
- Agents (beta)Explains ai.defineAgent for multi-turn conversations with sessions, interrupts, and branching.
- A2UI generative UIDescribes the a2ui() middleware for streaming interactive UI surfaces from an agent.
- MiddlewareCovers the use array for retry, fallback, and other middleware on generation calls.
- ObservabilityExplains traces in the Dev UI and export to an OTLP backend through @genkit-ai/otel.
- Trace inspectionUses genkit trace:list and genkit trace:get to check tool calls and model I/O.
- Error lookupDirects the assistant to read common-errors.md before attempting any Genkit fix.
What you need
- Node.js
- Genkit CLI 1.29.0 or newer
- genkit 1.39.0 or newer for agent features
Try asking
- Build a Genkit flow that summarizes text with Gemini
- Create a multi-turn Genkit agent with sessions in TypeScript
- Why does my Genkit flow throw a ValidationError?
Good to know
- Agent APIs are in beta and come from genkit/beta and genkit/beta/client.
- Scope is Genkit in Node.js and TypeScript only, not Python, Go, or Dart.
- genkit start keeps running until stopped and should not be used as a blocking step in automated contexts.
- flow:run does not fall back to a schema default when input is omitted.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/cloud/developing-genkit-js/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md13 KB -
references/a2ui.md12 KB -
references/agents-artifacts.md4 KB -
references/agents-background.md6 KB -
references/agents-branching.md3 KB
Show all 21 files
-
references/agents-custom.md5 KB -
references/agents-deployment.md6 KB -
references/agents-human-in-the-loop.md7 KB -
references/agents-multi-agent.md8 KB -
references/agents-sessions.md5 KB -
references/agents-state.md4 KB -
references/agents.md11 KB -
references/best-practices.md2 KB -
references/common-errors.md7 KB -
references/docs-and-cli.md6 KB -
references/dotprompt.md6 KB -
references/examples.md6 KB -
references/middleware-custom.md3 KB -
references/middleware.md6 KB -
references/observability.md5 KB -
references/setup.md4 KB
Alternatives to developing-genkit-js
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
developing-genkit-js: common questions
Does this skill work with Genkit in Python?
No. The source says not to use it for Genkit in Python, Go, or Dart.
Why does the skill tell the assistant to read common-errors.md first?
The source says the Genkit API changed a lot, so the assistant's built-in knowledge may be outdated. It must match errors to documented patterns before trying other fixes.
Can I run an agent directly with genkit flow:run?
No. The source says flow:run runs flows defined with ai.defineFlow, not agents. To test an agent, wrap one turn in a flow and run that.
How do I install developing-genkit-js?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is developing-genkit-js free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is developing-genkit-js safe to use?
It scores 90 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 developing-genkit-js?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
