← Back to list

style-guide
by cgeorgii
My ever-changing dotfiles.
⭐ 0🍴 0📅 Jan 16, 2026
SKILL.md
name: style-guide description: Coding style guidelines for NixOS, Neovim, and Git. Use when writing or formatting Nix code, Neovim config, or working with Git workflow. user-invocable: true
Style Guidelines
NixOS/Home-Manager Style
- Use 2-space indentation in all files
- Format Nix files with
nixfmt - Follow functional programming patterns
- Group related settings in modules
- Use descriptive names for options
- Document non-obvious settings with comments
- When creating new files for Nix flakes, ensure they are tracked by git before testing with nix commands
- Untracked files can cause errors like "path '/nix/store/hash-source/path/to/file' does not exist"
- Solution: Track files without staging using
git add --intent-to-add path/to/fileorgit add -N path/to/file
Neovim Style
- Use Lua for all configuration
- 2-space indentation, no tabs
- Leader key is
; - Format with proper whitespace and bracing style
- Wrap related plugin configs in feature-based groups
- Prefer native LSP functions over plugin equivalents
Git Workflow
- Create focused, atomic commits
- Use
hubas git wrapper - Use
lazygitfor interactive Git operations - Prefer rebase over merge for linear history
- Do not include co-authored by Claude information in commits
- Git config location:
~/.config/git/config - Credential storage: git-credential-manager with GPG backend
- Initialize pass:
pass init YOUR_GPG_KEY_ID - Credentials stored securely with GPG encryption
- Initialize pass:
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon