ashrivastava
menu
// case study — commit-message-generator← all projects

AI Commit Message Generator

A focused single-purpose tool: paste any git diff, get back a Conventional Commits message. The system prompt enforces the format strictly (type · scope · 72-char imperative subject · body that explains the WHY · optional footer for breaking changes or issue links). Streams in. Three example diffs (feature, fix, refactor) demonstrate the output shape. Lives at /commit. Real utility for every dev who's ever written 'fix stuff' as a commit message at 11pm.

Experimental·ai·2026

Built in public to learn something or prove a pattern. Some are published packages, some are demos that live on this site.

// hero
AI Commit Message Generator
// stack
frontend
Next.js 15React 19TypeScriptTailwind CSS
backend
OpenRouter (BYOK)
database
tools
Streaming SSEConventional Commits spec
// challenges
  • Conventional Commits format has rules many devs don't remember at commit time
  • Bodies that just restate the diff add noise; the value is in explaining WHY the change happened
  • Engineers iterate constantly on commit messages — a tool that gets it 90% right beats the 50/50 they'd otherwise type
// solutions
  • Strict system prompt enforcing the format and prohibiting WHAT-style bodies
  • Three curated example diffs so visitors see the output shape on three different change types (feature, fix, refactor)
  • Streamed output + one-click copy
// outcomes — impact3

Working tool, no signup, ready to copy-paste into a commit

Demonstrates focused prompt engineering — single-call structured output without an SDK

Reuses the shared streaming LLM route and rate limiter

// related — other projects
Own productpinnedfeatured
ai2026

JobJam.io — AI Job Search & Application Platform

AI-powered job search platform: discover roles, evaluate fit, tailor applications, and close skill gaps. One-time pricing, no subscriptions.

AILLMsJob SearchAnthropic Claude+3
Own productpinnedfeatured
ai2026

Fathohm — Comprehension-Debt System of Record

See how much of your codebase no human understands. A treemap of your repo colored by human comprehension score, with a tracked, assignable metric for 'who understands what' in an AI-native codebase.

AIDeveloper AnalyticsGitHub AppLLM Classification+2
Own productpinnedfeatured
ai2026

Grenz — Firewall for AI Agents

A local firewall for AI agents: scoped, revocable, observable permissions instead of your full GitHub token. Deny-by-default, MIT licensed, live at grenz.dev.

AI AgentsSecurityIAMMCP+2