genkit
БесплатноБез исполняемых скриптовНе проверенRoute Firebase AI feature work into either direct app/client Firebase AI Logic SDK integration or a server-owned Genkit workflow. Use when a web, mobile…
от akillness★ 63 звезды на GitHubОб этом скилле
Genkit
Use this skill when the main question is "should this Firebase AI feature be a direct client SDK integration or a reusable server-owned Genkit workflow?"
The job is not to dump a long Genkit tutorial, CLI catalog, or Firebase product tour. Frame the current packet, choose one ownership boundary and operating mode, then keep Firebase platform operations and broad framework comparisons routed to adjacent skills.
Read references/intake-packets-and-fallbacks.md before handling mixed or ambiguous requests. Read references/modes-and-routing.md before choosing a primary mode. Read references/deployment-and-runtime-boundaries.md when runtime choice is the real open question. Read references/evals-and-observability.md when the workflow already exists and confidence is the bottleneck.
When to use this skill
- A mobile or web app needs direct Firebase AI Logic client SDK integration, including model setup, structured output, streaming, App Check, or safe client/server boundaries
- A backend or full-stack feature needs a reusable Genkit flow instead of one-off provider calls scattered through route handlers
- The work needs typed contracts, tool calling, retrieval, prompt files, evaluation, tracing, or deployment under a server-owned boundary
- The request is explicitly about Firebase AI Logic, Genkit, or deciding between their client-owned and server-owned shapes
- An existing Firebase AI feature needs debugging, evaluation, observability, or launch-readiness review
When not to use this skill
- The main job is Firebase bootstrap, emulator usage, hosting/functions deploy, auth/login, or admin CLI work →
firebase-cli - The request is generic frontend streaming/rendering with no Firebase AI SDK or Genkit boundary → relevant frontend/web skill
- The real question is broad framework choice (
GenkitvsVercel AI SDKvs other frameworks) →survey - A plain provider SDK or simple route handler is enough and Firebase/Genkit is not a requirement → note the fallback and keep the answer lightweight
Instructions
Step 1: Frame the current packet
Record the smallest useful intake before recommending Genkit.
Capture:
- app shape: web | mobile | backend | fullstack | mixed | unknown
- ownership: client feature | backend capability | mixed | unknown
- packet: route handler | feature brief | architecture note | deployed flow | eval/trace complaint | deploy plan | none
- workflow need: simple generation | structured output | tools | retrieval | prompt files | evals | observability | deployment | unknown
- delivery pressure: single endpoint | multi-surface reuse | launch readiness | migration | reliability concern | unknown
Quick frame:
App shape: fullstack
Ownership: backend capability
Packet: existing API route + support feature brief
Workflow need: retrieval + one ticket tool + evals later
Delivery pressure: reuse across web app and internal ops panel
Step 2: Choose the intake packet first
Use references/intake-packets-and-fallbacks.md.
Pick the packet the user actually has now:
- new backend capability packet
- existing route/handler packet
- deployed flow quality packet
- deployment/runtime packet
- comparison/fallback packet
- no usable packet yet
Output this step as:
## Intake Packet
- Current packet:
- Why it is enough (or not enough):
- Missing context to collect next:
Rule: do not force a server-owned Genkit flow just because the app already uses Firebase.
Step 3: Choose the ownership layer
Make the client-versus-server decision explicit before choosing a mode.
Choose client-ai-logic when the dominant need is:
- direct mobile/web Firebase AI Logic SDK usage
- client streaming or structured output with a small app-owned feature boundary
- App Check, client-visible model configuration, or client/server data-exposure rules
Choose a server-owned Genkit mode when the dominant need is:
- a reusable backend AI contract or typed flow boundary
- one place to own tools, retrieval, prompts, evaluation, or tracing
- a capability shared across clients, jobs, or protected server-side resources
Do not force either layer when a plain provider SDK, ordinary route handler, or broader framework survey is the better fit.
State the decision in one line:
## Layer Decision
- Ownership: client-ai-logic | server-genkit | plain-sdk-fallback | survey-first
- Why:
Step 4: Choose one primary operating mode
Pick one primary mode from references/modes-and-routing.md.
Primary modes:
client-ai-logicflow-foundationtool-and-agentretrieval-and-promptevaluation-and-observabilitydeployment-runtimecomparison-or-fallback
Rule: one primary m
Установить genkit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteBashGrepGlobВложенные файлы
FAQ
Что делает скилл genkit?
Route Firebase AI feature work into either direct app/client Firebase AI Logic SDK integration or a server-owned Genkit workflow. Use when a web, mobile, backend, or full-stack feature needs model calls, typed outputs, reusable flows, tools, retrieval, prompt files, evals, observability, or deployment. Choose client-ai-logic, flow-foundation, tool-and-agent, retrieval-and-prompt, evaluation-and-observability, deployment-runtime, or comparison-or-fallback; route Firebase platform/operator work to `firebase-cli` and broad framework comparisons to `survey`.
Как установить скилл genkit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл genkit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic