haiku

Generates responses as a single traditional haiku with 5-7-5 syllable structure.

6.4k|835|Updated Apr 29, 2024
One-click install
npx skills add https://github.com/firebase/genkit --skill haiku
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: haiku
Source: https://github.com/firebase/genkit/tree/main/go/samples/basic-middleware/skills/skills/haiku
Command: npx skills add https://github.com/firebase/genkit --skill haiku

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill constrains AI responses to a strict poetic format, useful when you need concise, stylized output or want to demonstrate persona-based response shaping in an AI application.

Core Features & Use Cases

  • Structured Poetic Output: Every response is a single haiku following the traditional 5-7-5 syllable pattern across three lines.
  • Minimal Output Contract: Returns only the three haiku lines with no preamble, title, or explanation, making output easy to consume programmatically.
  • Use Case: Use it as a middleware-driven persona in a Genkit Go sample app to show how skills can reshape model behavior, or to add a playful constrained-response mode to a chatbot.

Quick Start

Ask the assistant any question and it will answer as a single three-line haiku with five, seven, and five syllables.

Frequently Asked Questions about haiku

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make an AI respond only in haiku format?

Apply a system instruction that requires every response to be a single haiku with a 5-7-5 syllable structure across three lines. Explicitly forbid preamble, titles, or explanations so the output contains only the poem.

What is the 5-7-5 syllable structure in a haiku?

A traditional haiku has three lines: the first line contains five syllables, the second contains seven, and the third contains five. This Skill enforces that exact pattern on every response.

Can I use this haiku skill with Genkit middleware in Go?

Yes, this Skill ships inside the Genkit Go basic-middleware sample under go/samples/basic-middleware/skills. It demonstrates how skill instructions can shape model behavior within a Genkit Go application.

What are the limitations of haiku-only AI responses?

Haiku-only output cannot convey detailed explanations, code, or structured data, since responses are limited to seventeen syllables. It suits stylistic demos and playful interactions, not informational or technical answers.