developing-genkit-js
This skill provides guidance for developing AI-powered applications using Genkit in Node.js and TypeScript. It enforces a strict troubleshooting protocol that prioritizes reading local documentation via the Genkit CLI over internal knowledge to account for recent breaking API changes.
Is developing-genkit-js safe to install?
Review the source first: our audit of developing-genkit-js's source files found 10 shell commands, 0 external URLs, file reads and writes (high risk). Every command and URL listed appears verbatim in the skill's source. The skill executes shell commands via the Genkit CLI, including package installation and documentation retrieval, which requires system-level access.
How we audit skills: our security review methodology.
Who is this skill for?
Developers building AI agents, flows, and tools using the Genkit framework in JavaScript or TypeScript environments.
What can you do with it?
- Setting up new Genkit projects
- Implementing AI agents with persistent state and multi-turn conversations
- Troubleshooting Genkit-related errors, type issues, and API problems
- Searching and reading official Genkit documentation via the CLI
- Integrating middleware for generation tasks
How good is this skill?
Quality score: 5/10. The skill provides a clear, actionable protocol for development and troubleshooting. It correctly identifies the need to bypass internal knowledge in favor of CLI-based documentation lookups due to API volatility.
What does the skill file contain?
# 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](references/setup.md).
## Hello World
```ts
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 ...Frequently asked questions
What is the mandatory first step when encountering a Genkit error?
You must read the Common Errors reference file (references/common-errors.md) to identify if the error matches a known pattern before attempting any other fix.
How should I find documentation for Genkit?
Use the Genkit CLI commands: genkit docs:search to query topics, genkit docs:list to see all files, or genkit docs:read to view specific guides.
Which Genkit version is required for the agent API?
The agent API requires Genkit version 1.39.0 or higher.
Related skills
find-skills
2.3MUsers seeking to extend agent capabilities with specialized tools, workflows, or knowledge packages
The find-skills skill enables agents to search for, discover, and install modular packages from the open agent skills ecosystem using the Skills CLI.
agent-browser
506.7KAI agents and developers requiring programmatic web interaction, exploratory testing, or automation of Electron desktop applications
The agent-browser CLI provides browser automation for AI agents using Chrome or Chromium via CDP. It supports page navigation, form interaction, data extraction, and testing. The tool utilizes accessibility-tree snapshots and element references for interaction.
microsoft-foundry
429.2KDevelopers building, deploying, and managing AI agents on Azure AI Foundry
The Microsoft Foundry skill provides a framework for the end-to-end lifecycle of AI agents, including scaffolding, deployment, evaluation, fine-tuning, and troubleshooting within Azure AI Foundry.
video-edit
338.7KUsers of the RunComfy CLI who need to automate video editing tasks like restyling, background swapping, or motion transfer
The video-edit skill acts as a router for the RunComfy CLI, selecting between Wan 2.7 Edit-Video, Kling 2.6 Pro Motion Control, and Lucy Edit Restyle models based on user intent to perform video transformations.