Skip to content

About

Generates haiku poetry from your git changes — every commit deserves a poem

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

commit-haiku

A Claude Code plugin that generates haiku poetry from your git changes.

Installation

From a local path

Clone the repo:

git clone https://github.com/12britz/commit-haiku.git
cd commit-haiku

Inside a Claude Code session:

/plugin install commit-haiku /path/to/commit-haiku

Or with the CLI flag:

claude --plugin-dir /path/to/commit-haiku

From the community marketplace

First add the marketplace (once):

/plugin marketplace add anthropics/claude-plugins-community

Then install:

/plugin install commit-haiku@claude-community

Then reload:

/reload-plugins

Project-scoped MCP (zero config)

The .mcp.json in this repo acts as a standalone MCP server. Claude Code picks it up automatically when working in this directory — no setup needed.

Usage

In a Claude Code session, ask:

  • "Generate a haiku for my changes"
  • "What does commit-haiku say about this commit?"
  • "Give me a poem about what I just changed"

The plugin provides one MCP tool:

Tool Description
generate_commit_haiku Analyzes git diff and returns a 5-7-5 haiku. Optional diff_text parameter for custom input.

How it works

The MCP server (servers/commit-haikus-server) reads git diff --cached (or falls back to git diff HEAD), classifies the change type (add, fix, remove, refactor, general), and crafts a haiku using keyword-aware templates and syllable counting.

About

Generates haiku poetry from your git changes — every commit deserves a poem

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages