# genkit

Guides Firebase AI features by picking between the client AI Logic SDK and server-side Genkit flows.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 347 installs · ★ 51
- Author: akillness
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/akillness/jeo-skills/tree/HEAD/.agent-skills/genkit/SKILL.md
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/genkit

## What it does

This skill guides how you structure AI capabilities in Firebase projects. It forces a clear architectural choice early. You decide whether to call models directly from a mobile or web client using the Firebase AI Logic SDK, or move the logic into structured backend workflows powered by Genkit.

The workflow follows structured intake steps. It identifies the feature boundary, then selects an operating mode covering flow design, tool calling, retrieval, prompt files, or tracing. It also covers runtime configurations such as running jobs on Cloud Run.

Routine operations like managing emulators, auth configuration, or hosting deploys belong in `firebase-cli` rather than this skill.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add akillness/jeo-skills --skill genkit -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/genkit/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/genkit/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add akillness/jeo-skills --skill genkit -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/genkit/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add akillness/jeo-skills --skill genkit -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/genkit/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install akillness/jeo-skills genkit
```

2. **Manually: put the files in place**
- File: `.github/skills/genkit/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add akillness/jeo-skills --skill genkit -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/akillness/jeo-skills --path .agent-skills/genkit
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/genkit/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add akillness/jeo-skills --skill genkit -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/akillness/jeo-skills/tree/HEAD/.agent-skills/genkit/SKILL.md

## When to use it
- decide between client Firebase AI Logic and server-managed Genkit flows
- structure typed backend flows with tool calling and retrieval
- set up evaluation, tracing, and prompt templates for existing pipelines
- plan Cloud Run deployments with App Check protection

## Example prompts
- Should I implement this chat feature using Firebase AI Logic in the mobile client or a Genkit flow on the server?
- Design a server-side Genkit flow that takes a ticket description and invokes a lookup tool.
- Review our existing Genkit pipeline for tracing and prepare it for Cloud Run.

## Similar
- [skill-creator](https://affpapa.org/en/nevibecode/skills/skill-creator.md) — skill · 414180 installs
- [writing-for-agents](https://affpapa.org/en/nevibecode/skills/writing-for-agents.md) — skill · 466719 installs
- [media-use](https://affpapa.org/en/nevibecode/skills/media-use.md) — skill · 1100000 installs
- [mcp-builder](https://affpapa.org/en/nevibecode/skills/mcp-builder.md) — skill · 130949 installs
- [subagent-driven-development](https://affpapa.org/en/nevibecode/skills/subagent-driven-development.md) — skill · 237746 installs
- [orchestration](https://affpapa.org/en/nevibecode/skills/orchestration.md) — skill · 350300 installs

From the same set: [akillness/jeo-skills](https://affpapa.org/en/nevibecode/by/akillness/jeo-skills.md) — 65 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
