Command Palette

Search for a command to run...

Назад к скиллам
скилл № 12938

genkit-production-expert

Build production Firebase Genkit applications including RAG systems, multi-step flows, and tool calling for Node.js/Python/Go. Deploy to Firebase Functions or…

БесплатноЗапускает вложенные скрипты
BbgnsurfTechот BbgnsurfTech★ 30 звёзд на GitHub

Установить genkit-production-expert в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

What This Skill Does

This skill provides comprehensive expertise in building production-ready Firebase Genkit applications across Node.js (1.0), Python (Alpha), and Go (1.0). It handles the complete lifecycle from initialization to deployment with AI monitoring.

Core Capabilities

  1. Project Initialization: Set up properly structured Genkit projects with best practices
  2. Flow Architecture: Design multi-step AI workflows with proper error handling
  3. RAG Implementation: Build retrieval-augmented generation systems with vector search
  4. Tool Integration: Implement function calling and custom tools
  5. Monitoring Setup: Configure AI monitoring for Firebase Console
  6. Multi-Language Support: Expert guidance for TypeScript, Python, and Go implementations
  7. Production Deployment: Deploy to Firebase Functions or Google Cloud Run

When This Skill Activates

This skill automatically activates when you mention:

Trigger Phrases

  • "Create a Genkit flow"
  • "Implement RAG with Genkit"
  • "Deploy Genkit to Firebase"
  • "Set up Gemini integration"
  • "Configure AI monitoring"
  • "Build Genkit application"
  • "Design AI workflow"
  • "Genkit tool calling"
  • "Vector search with Genkit"
  • "Genkit production deployment"

Use Case Patterns

  • Setting up new Genkit projects
  • Implementing RAG systems with embedding models
  • Integrating Gemini 2.5 Pro/Flash models
  • Creating multi-step AI workflows
  • Deploying to production with monitoring
  • Debugging Genkit flows
  • Optimizing token usage and costs

How It Works

Phase 1: Requirements Analysis

User Request → Analyze needs → Determine:
- Target language (Node.js/Python/Go)
- Flow complexity (simple/multi-step/RAG)
- Model requirements (Gemini version, custom models)
- Deployment target (Firebase/Cloud Run/local)

Phase 2: Project Setup

Check existing project → If new:
  - Initialize project structure
  - Install dependencies
  - Configure environment variables
  - Set up TypeScript/Python/Go config

If existing:
  - Analyze current structure
  - Identify integration points
  - Preserve existing code

Phase 3: Implementation

Design flow architecture → Implement:
  - Input/output schemas (Zod/Pydantic/Go structs)
  - Model configuration
  - Tool definitions (if needed)
  - Retriever setup (for RAG)
  - Error handling
  - Tracing configuration

Phase 4: Testing & Validation

Create test cases → Run locally:
  - Genkit Developer UI
  - Unit tests
  - Integration tests
  - Token usage analysis

Phase 5: Production Deployment

Configure deployment → Deploy:
  - Firebase Functions (with AI monitoring)
  - Cloud Run (with auto-scaling)
  - Set up monitoring dashboards
  - Configure alerting

Workflow Examples

Example 1: Simple Question-Answering Flow

User Request: "Create a Genkit flow that answers user questions using Gemini 2.5 Flash"

Skill Response:

  1. Creates TypeScript project (default)
  2. Implements flow with input validation:
const qaFlow = ai.defineFlow(
  {
    name: 'qaFlow',
    inputSchema: z.object({ question: z.string() }),
    outputSchema: z.object({ answer: z.string() }),
  },
  async (input) => {
    const { text } = await ai.generate({
      model: gemini25Flash,
      prompt: `Answer this question: ${input.question}`,
      config: { temperature: 0.3 }, // Lower for factual answers
    });
    return { answer: text };
  }
);
  1. Sets up local testing
  2. Provides deployment instructions

Example 2: RAG System with Vector Search

User Request: "Implement RAG with Genkit for our documentation search"

Skill Response:

  1. Analyzes document storage needs
  2. Implements retriever with embeddings:
const docRetriever = ai.defineRetriever(
  {
    name: 'docRetriever',
    configSchema: z.object({ k: z.number().default(5) }),
  },
  async (query, config) => {
    // Generate embedding
    const embedding = await ai.embed({
      embedder: textEmbeddingGecko,
      content: query,
    });

    // Search vector database
    const results = await vectorDB.search(embedding, config.k);
    return results.map(doc => ({
      content: doc.text,
      metadata: { source: doc.source },
    }));
  }
);
  1. Creates RAG flow combining retrieval + generation
  2. Sets up vector database connection
  3. Implements caching for efficiency

Example 3: Multi-Agent Tool Calling

User Request: "Create a Genkit agent with weather and calendar tools"

Skill Response:

  1. Defines tools with proper schemas:
const weatherTool = ai.defineTool({
  name: 'getWeather',
  description: 'Get current weather for a location',
  inputSchema: z.object({ location: z.string() }),
  outputSchema: z.object({
    temp: z.number(),
    conditions: z.string(),
  }),
}, async ({ location }) => {
  // Call weather API
});

const calendarTool = ai.defineTool({
  name: 'checkCalendar',
  description: 'Check calendar availability',
  inputSch
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Read
  2. 02Write
  3. 03Edit
  4. 04Grep
  5. 05Glob
  6. 06Bash

Вложенные файлы

  • scripts/init-genkit.sh

FAQ

Что делает скилл genkit-production-expert?

Build production Firebase Genkit applications including RAG systems, multi-step flows, and tool calling for Node.js/Python/Go. Deploy to Firebase Functions or Cloud Run with AI monitoring. Use when asked to "create genkit flow" or "implement RAG".

Как установить скилл genkit-production-expert?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл genkit-production-expert запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить genkit-production-expert с