Skip to content

amitkmaraj/gemini-cli-custom-slash-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 

Repository files navigation

Gemini CLI Custom Slash Commands - Daily Workflow Automation

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.

🎯 Available Commands

πŸ“Έ General Workflow Commands

/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"

πŸ’» Developer Commands

/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

πŸš€ Quick Start

  1. Install/Update Gemini CLI:

    npm install -g @google/gemini-cli@latest
  2. 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/
  3. 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"

πŸ’‘ Why These Commands?

  • ⚑ 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

πŸ”§ Customization

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

πŸ“š Learn More


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.

About

Some great custom slash commands to supercharge your workflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published