Configure Aider for Japanese-language development using Gemini 2.5 Flash with architect mode, auto-commits, and vim keybindings
Configure Aider for Japanese-language AI-assisted coding using Google's Gemini 2.5 Flash model with architect mode, automatic commits, shell command suggestions, and vim keybindings.
This skill sets up Aider with:
1. **Create Aider configuration file** in your home directory:
```bash
cat > ~/.aider.conf.yml << 'EOF'
model: gemini/gemini-2.5-flash-preview-05-20
editor-model: gemini/gemini-2.5-flash-preview-05-20
architect: true
chat-language: japanese
auto-commits: true
suggest-shell-commands: true
vim: true
analytics-disable: true
EOF
```
2. **Set up Gemini API access**:
```bash
export GEMINI_API_KEY="your-api-key-here"
echo 'export GEMINI_API_KEY="your-api-key-here"' >> ~/.bashrc # or ~/.zshrc
```
3. **Install Aider** (if not already installed):
```bash
pip install aider-chat
```
4. **Verify configuration**:
```bash
aider --show-settings
```
Start Aider in any git repository:
```bash
cd your-project
aider
```
Aider will automatically:
When enabled, Aider will:
1. First plan the code structure and approach
2. Then implement the changes
3. Provide better reasoning for complex refactors
Every change Aider makes is automatically committed with AI-generated commit messages in Japanese, maintaining a clean git history.
When you describe operations that could be done via shell commands, Aider will suggest appropriate bash/shell commands.
All interactions, suggestions, and commit messages will be in Japanese, making it ideal for Japanese-speaking developers.
| Option | Value | Purpose |
|--------|-------|---------|
| `model` | `gemini/gemini-2.5-flash-preview-05-20` | Main AI model for coding |
| `editor-model` | `gemini/gemini-2.5-flash-preview-05-20` | Model for file editing |
| `architect` | `true` | Enable planning before implementation |
| `chat-language` | `japanese` | Use Japanese for all interactions |
| `auto-commits` | `true` | Auto-commit changes with AI messages |
| `suggest-shell-commands` | `true` | Suggest bash/shell commands |
| `vim` | `true` | Enable vim keybindings |
| `analytics-disable` | `true` | Disable usage analytics |
If you want to use the more powerful Gemini 2.5 Pro model (higher cost, potentially better quality), modify the configuration:
```yaml
model: gemini/gemini-2.5-pro-preview-06-05
editor-model: gemini/gemini-2.5-flash-preview-05-20 # Keep Flash for edits to save cost
```
**Issue**: Aider doesn't use Japanese
**Issue**: Auto-commits not working
**Issue**: Model errors
**Issue**: Vim mode is confusing
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-japanese-development-with-gemini/raw