style-guide

NixOS/Home-Manager Style

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "style-guide" with this command: npx skills add cgeorgii/dots/cgeorgii-dots-style-guide

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/file or git 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 hub as git wrapper

  • Use lazygit for 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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

style-guide

No summary provided by upstream source.

Repository SourceNeeds Review
General

style-guide

No summary provided by upstream source.

Repository SourceNeeds Review
General

style-guide

No summary provided by upstream source.

Repository SourceNeeds Review