An agentic software-development methodology: composable skills that push a coding agent through spec, plan, TDD and review instead of straight into code.
Genkit for JavaScript
Summary
The official Genkit skill for Node.js and TypeScript — flows, Dotprompt files, tools and the beta agent API with sessions, interrupts and branching.
Features
- Verified CLI and package version floors before any code is written
- Flows with Zod input/output schemas and model plugins
- Dotprompt files: variants, partials, named schemas and tool frontmatter
- The beta agent API — sessions, interrupts, branching, background turns, artifacts
- Correct `genkit/beta` and `genkit/beta/client` entry points
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Example Usage
"Add a Genkit flow that summarises an uploaded document, move the prompt into a .prompt file with a short and long variant, and expose it as a multi-turn agent with human approval before it emails the summary."
Description
Genkit is Google's open-source framework for building AI features in application code — typed flows, model plugins, prompt files and an agent runtime — and it moves fast enough that a model's pre-training is usually a version or two behind. That gap shows up as invented APIs and imports from the wrong entry point.
This official skill from the Genkit team pins the agent to current practice for the Node.js and TypeScript SDK. It starts from a verified CLI version floor (genkit-cli >= 1.29.0) and a working defineFlow example with Zod schemas, then covers Dotprompt .prompt files with YAML frontmatter and Handlebars templates — promptDir, ai.prompt() call/stream/render, variants, partials, named schemas via ai.defineSchema, and the tools / maxTurns / returnToolRequests / middleware frontmatter fields.
The largest section is the beta agent API for persistent multi-turn conversations, which is easy to get wrong because server APIs come from genkit/beta and the browser client from genkit/beta/client rather than the stable entry point, and it requires genkit >= 1.39.0. References cover sessions and persistence (in-memory, file and Firestore stores), human-in-the-loop interrupts, branching from a snapshot, background agents, typed session state auto-synced to the client, artifacts, multi-agent delegation, custom agents via defineCustomAgent, and HTTP deployment.
Sibling skills in the same repository cover Genkit for Dart, Go and Python.
Related Skills
Tencent's skill-evolution harness: it rewrites a whole skill folder — SKILL.md, scripts and references together — and lands every decision as a real Git issue, PR and wiki entry you can review.
Take an OpenSearch search application from requirements to a running cluster — BM25, dense and sparse vectors, hybrid retrieval, agentic search and RAG, with relevance evaluation built in.
Auth0's official agent skill: a router that detects your framework and intent, then loads the right Auth0 guidance for login, MFA, Organizations, tenant audits, debugging or provider migration.