Coding Workflow
Feature Development Cycle
Section titled “Feature Development Cycle”1. Planning Phase
Section titled “1. Planning Phase”<leader>ac # Open AI chat
# Example:"I need to implement user authentication.What's the best approach for React + Node.js?"2. Implementation Phase
Section titled “2. Implementation Phase”nvim src/auth/login.js
# Real-time AI completion# Accept with C-J in insert mode
# For complex logic:<leader>aa # AI actions menu<leader>ae # Explain code<leader>af # Fix issues3. Testing Phase
Section titled “3. Testing Phase”nvim tests/auth.test.js
<leader>ac # "Generate tests for this module"
C-x + m # Split for test terminalnpm test4. Review Phase
Section titled “4. Review Phase”<leader>ar # AI code review<leader>ao # Optimization suggestions
<leader>gg # Lazygit - review before commitCode Navigation
Section titled “Code Navigation”# Quick file navigation<leader>ff # Find files<leader>fw # Find word in project<leader>fb # Browse buffers
# Code navigationgd # Go to definitiongr # Find referencesgi # Go to implementationK # Show documentation
# Project switchingC-f # From NeovimC-x + g # From HerdrRefactoring Workflow
Section titled “Refactoring Workflow”1. Identify Opportunities
Section titled “1. Identify Opportunities”<leader>ar # AI code review2. Plan Refactoring
Section titled “2. Plan Refactoring”<leader>ac # "How should I refactor this for maintainability?"3. Execute Refactoring
Section titled “3. Execute Refactoring”<leader>cr # Rename symbols<leader>ca # Code actions<leader>af # Apply AI fixes4. Verify Changes
Section titled “4. Verify Changes”# Run tests# Use AI to review refactored code