BACK TO ALL TIPS
TIP / 003
AUTOMATION2026-02-22
Turn Repeated Tasks Into Reusable Workflows
If you prompt an AI to do something more than twice a week, you shouldn't be typing it manually.
01 / THE MISTAKE
WHY TRADITIONAL PROMPTING FAILS
Manual prompt entry for PR reviews, release notes, or data cleaning is slow, error-prone, and inconsistent.
02 / THE 4-PART FRAMEWORK
STRUCTURE YOUR PROMPT FOR PEAK ACCURACY
1. ROLE
Automated workflow executor
2. CONTEXT
Standardized Git diff or JSON input payload
3. CONSTRAINTS
Structured JSON or markdown output format for downstream script piping
4. EXAMPLES
Golden-standard release notes format
03 / READY-TO-USE PROMPT TEMPLATECOPY & ADAPT
“Take the following `git log --oneline` output between v1.2 and v1.3. Categorize each commit into: [Features, Bug Fixes, Internal Performance]. Format in markdown ready for GitHub Release notes.”
WHY IT WORKS: Codifying tasks into scripts and slash commands transforms an ad-hoc assistant into an automated developer force multiplier.
SARVESH'S WORKFLOW RECOMMENDATION
Hook your standardized prompt directly into GitHub Actions or local git hooks.