A Node Script That Writes Your Git Commits and Daily Standup Reports
The tool turns two daily friction points — writing commit messages and standup summaries — into a background automation that costs pocket change. It sidesteps editor-config hell by avoiding prepare-commit-msg hooks entirely, and the idempotent report overwrite is a small but critical detail that prevents the kind of sloppy output that gets noticed in a performance review.
A developer fed up with writing daily reports and forgettable commit messages built a pair of Node scripts that offload both tasks to DeepSeek's cheap LLM. The first script stages changes, feeds the diff to the model, and commits after a terminal Y/N confirmation. The second runs via a post-commit hook, pulls all commits since midnight, and writes a structured Markdown report — overwriting any earlier version for the same day to avoid duplicates. Edge cases like special characters in messages, API failures, and Windows hook permissions are handled with pragmatic fallbacks: temp-file commits, manual-input degradation, and background execution so the hook never blocks a push. Total cost runs about five cents a day.
Abandoning prepare-commit-msg in favor of a manual npm run commit command sidesteps the entire tangle of editor paths and IDE Git panel quirks — a reminder that Git hooks are often more fragile than a simple CLI prompt.
The idempotent report overwrite is the kind of detail that separates a tool that quietly works from one that generates embarrassing duplicate entries in front of a manager.
Using temperature 0.3 for commit messages and explicitly instructing the model not to explain itself are small prompt-engineering choices that prevent the most common LLM annoyances in structured output.