Skip to content

Commit d0712fb

Browse files
committed
Update development environment configurations
Major improvements to Neovim setup: - Replace NERDTree with nvim-tree for better Git integration - Add Biome LSP for JavaScript/TypeScript linting - Improve statuscolumn formatting with better number spacing - Add markdown preview with Mermaid diagram support - Update indent guide styling for subtle visual cues Configuration changes: - Add code quality standards documentation (6 Golden Rules) - Update Claude Code settings with schema and feedback state - Remove deprecated Zed agent configuration - Switch to language server formatting over Prettier - Remove unused Homebrew packages (Pieces) - Fix out-of-store symlink for Claude settings
1 parent 22b4857 commit d0712fb

File tree

7 files changed

+267
-106
lines changed

7 files changed

+267
-106
lines changed

CLAUDE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,13 @@ Located in `common/claude-code/`, this provides:
129129
- Tailscale for secure cloud connectivity
130130
- Proper credential management for AWS profiles
131131
- Isolated development environments prevent host contamination
132+
133+
## Code Quality Standards
134+
135+
**6 Golden Rules for Clean Code** (Neo Kim):
136+
1. **SOC** - Separation of concerns
137+
2. **DYC** - Document your code
138+
3. **DRY** - Don't repeat yourself
139+
4. **KISS** - Keep it simple stupid
140+
5. **TDD** - Test driven development
141+
6. **YAGNI** - You ain't gonna need it

common/claude-code/CLAUDE.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,17 @@ Would you like me to [improvement suggestion]?"
7575
</communication_patterns>
7676

7777
<implementation_standards>
78-
<code_quality>
78+
<code_quality>
7979

80+
**6 Golden Rules for Clean Code**:
81+
1. **SOC** - Separation of concerns
82+
2. **DYC** - Document your code
83+
3. **DRY** - Don't repeat yourself
84+
4. **KISS** - Keep it simple stupid
85+
5. **TDD** - Test driven development
86+
6. **YAGNI** - You ain't gonna need it
87+
88+
**Additional Quality Standards**:
8089
- **Clarity over cleverness**: Write obvious, readable code
8190
- **Explicit over implicit**: Make intentions clear
8291
- **Simple over abstract**: Avoid unnecessary complexity

common/claude-code/default.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
NPM_CONFIG_PREFIX = "$HOME/.npm-global";
1818
};
1919

20-
# Create and manage ~/.claude directory
21-
home.file.".claude/settings.json".source = ./settings.json;
20+
# Create writable settings.json using out-of-store symlink
21+
home.file.".claude/settings.json".source =
22+
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.config/nix/common/claude-code/settings.json";
2223
home.file.".claude/CLAUDE.md".source = ./CLAUDE.md;
2324

2425
# Combine local commands with linear commands

common/claude-code/settings.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
{
2-
"model": "claude-sonnet-4-20250514",
2+
"$schema": "https://json.schemastore.org/claude-code-settings.json",
33
"includeCoAuthoredBy": false,
4+
"model": "sonnet",
45
"enableAllProjectMcpServers": true,
56
"enabledMcpjsonServers": [
67
"code-reasoning",
78
"sequential-thinking",
89
"context7"
9-
]
10+
],
11+
"feedbackSurveyState": {
12+
"lastShownTime": 1754125509075
13+
}
1014
}

0 commit comments

Comments
 (0)