Skip to content
Back to skills

Official Firebase Developing Genkit Js

ASecurity

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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 24, 2026
developmentjavascripttypescriptrustgojavanodeapidocumentation

Works with

  • cli
  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 24, 2026

npx -y skills add iDorgham/Workspace-Factory --skill official_firebase_developing_genkit_js --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Official Firebase Developing Genkit Js?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Official Firebase Developing Genkit Js
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/idorgham-official-firebase-developing-genkit-js/badge)](https://www.skillsdirectory.com/skills/idorgham-official-firebase-developing-genkit-js)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: developing-genkit-js
description: 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.
metadata:
  genkit-managed: true
---

# Genkit JS

## Prerequisites

Ensure the `genkit` CLI is available.
- Run `genkit --version` to verify. Minimum CLI version needed: **1.29.0**
- If not found: `npm install -g genkit-cli@^1.29.0`

## Hello World

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

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:

```sh
genkit docs:read js/get_started.md
genkit docs:read js/flows.md
```

## Error Troubleshooting Protocol

**When you encounter ANY error related to Genkit:**

1. **MANDATORY FIRST STEP**: Read `references/common_errors.md`
2. Identify if the error matches a known pattern
3. Apply the documented solution
4. Only if not found, then consult other sources

## Development Workflow

1. **Select Provider**: Default to **Google AI** if user doesn't specify
2. **Detect Framework**: Check `package.json` to identify the runtime
3. **Follow Best Practices**: See `references/best_practices.md`
4. **Ensure Correctness**: Run type checks after making changes

## Finding Documentation

```sh
genkit docs:search <query>
genkit docs:list
genkit docs:read <path>
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.