ssfinney/spit-the-diff

Where your diffs drop bars. Generates creative rap, haiku, or roast summaries of pull requests using AI.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
formatOutput format: rap, haiku, or roast. The roast label also triggers roast mode automatically.norap
modelModel to use for generation. Must be valid for the chosen provider. Defaults vary by provider (e.g. gpt-4.1-mini for OpenAI, claude-haiku-4-5-20251001 for Anthropic).no""
max_filesMaximum number of changed files to include in the diff sent to the LLMno6
roast_labelPR label that enables roast modenoroast-me
enable_moderationRun OpenAI moderation on generated output before posting. Set to true to enable. Only works with the openai provider; automatically skipped for all other providers.nofalse
skip_draftsSkip draft PRs entirely. Add "ready_for_review" to pull_request.types to re-trigger when the PR is marked ready.notrue
min_diff_linesSkip if total non-noise diff lines are below this threshold. 0 disables the check.no0
mic_drop_thresholdUse a tight 2-line mic drop instead of the full format when non-noise diff lines are below this threshold. 0 disables. Should be larger than min_diff_lines when both are set.no0
max_patch_linesMaximum lines of a single file patch to include in the diff payload. Longer patches are truncated with a note.no60
max_prompt_charsMaximum total characters of the diff payload sent to the LLM. If the full payload exceeds this, only the change summary is sent (no raw hunks).no30000
openai_api_keyOpenAI API key. Provide exactly one of the provider API key inputs.no
anthropic_api_keyAnthropic API key (for Claude models). Provide exactly one of the provider API key inputs.no
google_api_keyGoogle API key (for Gemini models). Provide exactly one of the provider API key inputs.no
openrouter_api_keyOpenRouter API key. Provide exactly one of the provider API key inputs.no
huggingface_api_keyHuggingFace API key. Provide exactly one of the provider API key inputs.no
groq_api_keyGroq API key. Provide exactly one of the provider API key inputs.no
mistral_api_keyMistral AI API key. Provide exactly one of the provider API key inputs.no
together_api_keyTogether AI API key. Provide exactly one of the provider API key inputs.no
github_tokenGitHub token used to post PR commentsno${{ github.token }}
namedescription
contentThe generated creative summary text