This repository contains 10 practical workflow commands for Gemini CLI that help with both general productivity tasks and essential development work, inspired by the Google Cloud blog post.
/photo-rename
- Smart Photo Organization
Organizes and renames photos based on visual content, dates, and metadata.
Usage: /photo-rename ~/Photos/vacation-2024
/report-gen
- Data Analysis & Reporting
Generates comprehensive reports from data files with insights and visualizations.
Usage: /report-gen ./sales-data
/email-draft
- Professional Email Writer
Drafts professional emails with proper tone, structure, and templates.
Usage: /email-draft "Schedule meeting with marketing team for Q4 planning"
/meeting-summary
- Meeting Notes Analyzer
Converts meeting notes into actionable summaries with clear follow-ups.
Usage: /meeting-summary ./meeting-notes.txt
/file-organizer
- Smart File Organization
Intelligently organizes directories by content type, date, and purpose.
Usage: /file-organizer ~/Downloads
/task-prioritizer
- Task Management
Analyzes and prioritizes tasks with time estimates and urgency levels.
Usage: /task-prioritizer "Write presentation, call dentist, review budget"
/test-gen
- Test Case Generator
Automatically generates comprehensive test cases with edge cases and best practices.
Usage: /test-gen UserAuthService
/debug-assistant
- Debugging Helper
Analyzes errors and provides systematic debugging strategies and solutions.
Usage: /debug-assistant "TypeError: Cannot read property 'id' of undefined"
/security-audit
- Security Scanner
Performs security audits of code changes, dependencies, and vulnerabilities.
Usage: /security-audit ./src
/cleanup
- Codebase Cleaner
Identifies cleanup opportunities including unused code and optimization suggestions.
Usage: /cleanup ./project
-
Install/Update Gemini CLI:
npm install -g @google/gemini-cli@latest
-
Copy commands to your project:
# Project-scoped (recommended for teams) cp -r .gemini /path/to/your/project/ # Or user-scoped (available everywhere) cp -r .gemini/commands ~/.gemini/commands/
-
Use the commands:
# Organize vacation photos /photo-rename ~/Photos/summer-trip-2024 # Draft a professional email /email-draft "Request time off for next week" # Analyze sales data /report-gen ./quarterly-sales.csv # Generate tests for a function /test-gen calculateTotal # Debug an error /debug-assistant "Connection timeout error"
- β‘ Save Time: Automate repetitive tasks like photo organization and email drafting
- π Data Insights: Turn raw data into actionable reports instantly
- π§ Code Quality: Generate tests, debug issues, and maintain clean codebases
- π Communication: Create professional emails and meeting summaries
- ποΈ Organization: Keep files and tasks systematically organized
Each .toml
file can be customized:
- Modify shell commands for your environment
- Adjust prompts for your specific needs
- Add project-specific rules
- Include your preferred tools and formats
- Google Cloud Blog Post - Original inspiration
- Gemini CLI Documentation - Official docs
- TOML Format - Configuration file format
Transform your daily workflow with intelligent automation. From organizing family photos to debugging code, these commands handle the routine tasks so you can focus on what matters most.