Skip to content

developing-genkit-js

Build AI-powered Node.js/TypeScript applications with Genkit flows, tools, and multi-model support.

— (0 ratings) 62.5K downloads firebase
$ npx skills add https://github.com/firebase/agent-skills --skill developing-genkit-js

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Summary

Build AI-powered Node.js/TypeScript applications with Genkit flows, tools, and multi-model support.

  • Genkit is provider-agnostic; supports Google AI, OpenAI, Anthropic, Ollama, and other LLM providers via plugins
  • Define flows with type-safe schemas using Zod, execute generation requests, and compose multi-step AI workflows in TypeScript
  • Requires Genkit CLI v1.29.0+; recent major API changes mean you must consult genkit docs:read and common-errors.md for current patterns, not prior knowledge
  • Use the CLI to search docs (genkit docs:search), read guides, and troubleshoot errors; always check Common Errors first when encountering validation, type, or API failures

Genkit JS

Prerequisites

Ensure the genkit CLI is available.

  • Run genkit --version to verify. Minimum CLI version needed: 1.29.0
  • If not found or if an older version (1.x < 1.29.0) is present, install/upgrade it: npm install -g genkit-cli@^1.29.0.

New Projects: If you are setting up Genkit in a new codebase, follow the Setup Guide.

Hello World

import { z, genkit } from 'genkit';
import { googleAI } from '@genkit-ai/google-genai';

Installs: 62.5K | GitHub stars: 533 | First seen: Mar 11, 2026

Related skills

New

Coding & dev tools

hyperframes-cli

CLI toolkit for scaffolding, validating, previewing, and rendering HyperFrames video compositions.

New • 1.8M
New

Coding & dev tools

improve-codebase-architecture

Analyze codebases for architectural friction and propose module-deepening refactors as testability improvements.

New • 1.3M
New

Coding & dev tools

tdd

Test-driven development with vertical slices, behavior-focused tests, and incremental red-green-refactor cycles.

New • 1.3M