AI Workflows
Daily development patterns using AI tools.
Morning Setup
Section titled “Morning Setup”C-x + t # Open project sessionizernvim<leader>ac # Test CodeCompanion with GeminiCode Review Workflow
Section titled “Code Review Workflow”<leader>ar # AI code review<leader>ae # AI explanation<leader>af # AI fixes<leader>ao # AI optimizationFocus Mode
Section titled “Focus Mode”<leader>z # Zen mode (70% width)<leader>Z # Full screen zen<leader>tt # Dim inactive code<leader>zx # Exit zen modeCode Development
Section titled “Code Development”Planning Phase
Section titled “Planning Phase”# In CodeCompanion:"I need to implement user authentication for a React app.What's the best approach considering security and UX?"Implementation Phase
Section titled “Implementation Phase”// Supermaven keybindings:// Tab: Accept suggestion// Ctrl+]: Dismiss suggestion// Auto-triggers while typingRefinement Phase
Section titled “Refinement Phase”<leader>ar # Review implementation<leader>ao # Optimize performance<leader>af # Fix potential issuesDebugging Workflow
Section titled “Debugging Workflow”# 1. Error analysis<leader>ac # "Help me debug this error: [details]"
# 2. Code investigation<leader>ae # AI explanation<leader>ar # AI review
# 3. Apply fixes<leader>af # AI-generated fixesDatabase Development
Section titled “Database Development”Query Development
Section titled “Query Development”-- Use AI completion for SQLSELECT u.id, u.email, u.last_loginFROM users uWHERE u.last_login < NOW() - INTERVAL '30 days';
-- <leader>j to execute the current SQL buffer with miudbSchema Design
Section titled “Schema Design”# In CodeCompanion:"Design a database schema for an e-commerce platform.What tables and relationships should I consider?"Documentation
Section titled “Documentation”# Code documentation<leader>ae # Generate docstrings
# README generation<leader>ac # "Generate README for this project"
# API documentation<leader>ae # Generate OpenAPI/Swagger docs