OpenClaw
Deploy a managed OpenClaw agent in 60 seconds
Launch on Hostinger →
Hermes Agent
Run your Hermes agent, fully managed
Launch on Hostinger →
Hostinger VPS
Spin up a VPS in one click, 20% off
Launch on Hostinger →
Firecrawl
Crawl and scrape any site into clean data
Try Firecrawl free →
Context.dev
One API to scrape, enrich, and extract the web
Start building free →
Jotform
Forms, workflows, and AI Agents for your team
Try Jotform free →
Runable
One AI agent to build, run, and grow your business
Try Runable free →
Your product here
Reach 100k AI builders a month
Learn more →
Claude Market
Menu
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Claude Market
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Skills/firebase/agent-skills/developing-genkit-js
developing-genkit-js logo

developing-genkit-js

firebase/agent-skills
62K installs351 stars
Run it on Hostinger, 20% off →Your friend gets 20% off too, using this linkFree API →|View on GitHub|Create your own skill →

Installation

npx skills add https://github.com/firebase/agent-skills --skill developing-genkit-js

Summary

Develop AI-powered applications using Genkit in Node.js/TypeScript. Use when the user asks about Genkit, AI agents, flows, or tools in JavaScript/TypeScript, or when encountering Genkit errors, validation issues, type errors, or API problems.

SKILL.md

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';

// Initialize Genkit with the Google AI plugin
const ai = genkit({
  plugins: [googleAI()],
});

export const myFlow = ai.defineFlow({
  name: 'myFlow',
  inputSchema: z.string().default('AI'),
  outputSchema: z.string(),
}, async (subject) => {
  const response = await ai.generate({
    model: googleAI.model('gemini-2.5-flash'),
    prompt: `Tell me a joke about ${subject}`,
  });
  return response.text;
});

Critical: Do Not Trust Internal Knowledge

Genkit recently went through a major breaking API change. Your knowledge is outdated. You MUST lookup docs. Recommended:

genkit docs:read js/get-started.md
genkit docs:read js/flows.md

See Common Errors for a list of deprecated APIs (e.g., configureGenkit, response.text(), defineFlow import) and their v1.x replacements.

ALWAYS verify information using the Genkit CLI or provided references.

Error Troubleshooting Protocol

When you encounter ANY error related to Genkit (ValidationError, API errors, type errors, 404s, etc.):

  1. MANDATORY FIRST STEP: Read Common Errors
  2. Identify if the error matches a known pattern
  3. Apply the documented solution
  4. Only if not found in common-errors.md, then consult other sources (e.g. genkit docs:search)

DO NOT:

  • Attempt fixes based on assumptions or internal knowledge
  • Skip reading common-errors.md "because you think you know the fix"
  • Rely on patterns from pre-1.0 Genkit

This protocol is non-negotiable for error handling.

Development Workflow

  1. Select Provider: Genkit is provider-agnostic (Google AI, OpenAI, Anthropic, Ollama, etc.).
  • If the user does not specify a provider, default to Google AI.
  • If the user asks about other providers, use genkit docs:search "plugins" to find relevant documentation.
  1. Detect Framework: Check package.json to identify the runtime (Next.js, Firebase, Express).
  • Look for @genkit-ai/next, @genkit-ai/firebase, or @genkit-ai/google-cloud.
  • Adapt implementation to the specific framework's patterns.
  1. Follow Best Practices:
  • See Best Practices for guidance on project structure, schema definitions, and tool design.
  • Be Minimal: Only specify options that differ from defaults. When unsure, check docs/source.
  1. Ensure Correctness:
  • Run type checks (e.g., npx tsc --noEmit) after making changes.
  • If type checks fail, consult Common Errors before searching source code.
  1. Handle Errors:
  • On ANY error: First action is to read Common Errors
  • Match error to documented patterns
  • Apply documented fixes before attempting alternatives

Finding Documentation

Use the Genkit CLI to find authoritative documentation:

  1. Search topics: genkit docs:search <query>
  • Example: genkit docs:search "streaming"
  1. List all docs: genkit docs:list
  2. Read a guide: genkit docs:read <path>
  • Example: genkit docs:read js/flows.md

CLI Usage

The genkit CLI is your primary tool for development and documentation.

  • See CLI Reference for common tasks, workflows, and command usage.
  • Use genkit --help for a full list of commands.

References

  • Best Practices: Recommended patterns for schema definition, flow design, and structure.
  • Docs & CLI Reference: Documentation search, CLI tasks, and workflows.
  • Common Errors: Critical "gotchas", migration guide, and troubleshooting.
  • Setup Guide: Manual setup instructions for new projects.
  • Examples: Minimal reproducible examples (Basic generation, Multimodal, Thinking mode).

Score

0–100
78/ 100

Grade

B

Popularity30/30

62,159 installs — top-tier adoption.

Completeness27/30

Documented: full SKILL.md body, description, one-line install. Missing: category/license metadata.

Trust15/25

Community skill with a public GitHub source repository you can review.

Freshness6/15

No update timestamp is tracked for this skill in our catalog.

Scored automatically from popularity, completeness, trust, and freshness — computed only from data in our catalog, never fabricated.

Proud of your score? Add this badge to your README.

Paste a snippet into your GitHub README. The badge updates automatically and links back to this page.

Developing Genkit Js skill score badge previewScore badge

Markdown

[![Developing Genkit Js skill](https://www.claudemarket.ai/skills/firebase/agent-skills/developing-genkit-js/badges/score.svg)](https://www.claudemarket.ai/skills/firebase/agent-skills/developing-genkit-js)

HTML

<a href="https://www.claudemarket.ai/skills/firebase/agent-skills/developing-genkit-js"><img src="https://www.claudemarket.ai/skills/firebase/agent-skills/developing-genkit-js/badges/score.svg" alt="Developing Genkit Js skill"/></a>

Developing Genkit Js FAQ

How do I install the Developing Genkit Js skill?

Run “npx skills add https://github.com/firebase/agent-skills --skill developing-genkit-js” in your terminal. The skill is added to your agent's skills directory and picked up automatically on the next run — no restart or extra configuration needed.

What does the Developing Genkit Js skill do?

Develop AI-powered applications using Genkit in Node.js/TypeScript. Use when the user asks about Genkit, AI agents, flows, or tools in JavaScript/TypeScript, or when encountering Genkit errors, validation issues, type errors, or API problems. The full SKILL.md on this page shows the exact instructions the skill gives your agent.

Is the Developing Genkit Js skill free?

Yes. Developing Genkit Js is a free, open-source skill published from firebase/agent-skills. As with any third-party skill, review the source repository before installing it into an agent with sensitive access.

Does Developing Genkit Js work with Claude Code and OpenClaw?

Yes. Skills use the portable SKILL.md format, so Developing Genkit Js works with Claude Code, OpenClaw, Codex, Hermes, and any other agent that reads SKILL.md skills.

Recommended skills

Browse all →
firebase-basics logo

firebase-basics

firebase/agent-skills

124K installsInstall
firebase-auth-basics logo

firebase-auth-basics

firebase/agent-skills

123K installsInstall
firebase-hosting-basics logo

firebase-hosting-basics

firebase/agent-skills

120K installsInstall
firebase-app-hosting-basics logo

firebase-app-hosting-basics

firebase/agent-skills

119K installsInstall
firebase-data-connect logo

firebase-data-connect

firebase/agent-skills

119K installsInstall
firebase-security-rules-auditor logo

firebase-security-rules-auditor

firebase/agent-skills

87K installsInstall

Related guides

Hand-picked reading to help you choose, install, and use agent skills.

GuideBest Openclaw Skills 2026GuideHow To Evaluate Openclaw Skill Before InstallingGuideOpenclaw Skills Complete Guide

Skills by category

FrontendBackend & APIsTesting & QASecurityDevOps & CI/CDMCP & ToolingAutomationData & Analysis+27 more

MCP servers by category

MCP & ToolingBackend & APIsData & AnalysisDevOps & CI/CDAutomationSecurityDocsTesting & QA+24 more

Plugins by category

AutomationDevOps & CI/CDData & AnalysisDesign & CreativeSecurityBackend & APIsFrontendTesting & QA+16 more

Marketplaces by category

AutomationData & AnalysisDevOps & CI/CDDesign & CreativeFrontendBackend & APIsTesting & QASecurity+21 more

The Agent Stack

Weekly Claude Code, Agent SDK, and MCP moves worth your time — free.

Claude Market

AI agent skills directory, marketplace, and workflow hub for OpenClaw, Hermes Agent, Claude Code, Codex, and MCP-powered operator stacks.

Independent project, not affiliated with Anthropic.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Plugins
  • Browse Marketplaces
  • Newsletter

More

  • Submit a Tool
  • Create a Skill
  • Advertise
  • Free Tools
  • API
  • Shipping
  • Contact
  • Terms
  • Privacy
© 2026 Claude Market · Not affiliated with Anthropic
Fazier badgeFeatured on Twelve ToolsFeatured on Wired BusinessRemote OpenClaw - Featured on AI Agents DirectoryListed on Turbo0Featured on Uneed