スキル一覧に戻る
neutronmoderator

nix

by neutronmoderator

Works on ̶m̶y̶ all nixOS machines™

0🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: nix description: NixOS package management and dotfiles configuration. Activates for package install/remove/search, system updates, configuration changes, and Claude Code settings changes.

NixOS Package Management & Dotfiles

User input: $ARGUMENTS

Style

Comment sparingly in .nix files. Nix is declarative so code is self-documenting. Only add comments to:

  • Delineate sections in long package lists
  • Explain non-obvious workarounds
  • Note dependencies between options that aren't apparent

Instructions

  1. Read context: ~/Dotfiles/CLAUDE.md for layout

  2. Parse request:

    • Install/remove package: Edit hosts/fw13/default.nix
    • Search: nix search nixpkgs <query>
    • Update: nix flake update then rebuild
    • Config changes: Edit appropriate module in modules/
    • Claude settings: Edit ~/Dotfiles/sources/claude/ (see below)
  3. For packages:

    • Confirm package name: nix search nixpkgs <name>
    • Edit hosts/fw13/default.nix under home.packages
  4. Apply: Run nrs

    • If rebuild fails, analyze error, fix, retry
    • Report success
  5. Commit (after successful rebuild):

    • git add -A && git commit -m "..."
    • Ask before push

Package Locations

  • User packages: hosts/fw13/default.nixhome.packages
  • Flake inputs: flake.nix
  • System services: modules/nixos/services.nix

Claude Code Settings

All Claude Code configuration is managed via Home Manager. Never edit ~/.claude/ directly - those files will be overwritten on rebuild.

Source of truth:

~/Dotfiles/sources/claude/
├── CLAUDE.md           # Global context
├── settings.json       # Claude Code settings
├── commands/           # Slash commands
├── skills/             # Skills like this one
└── context/            # Shared context files

Workflow for Claude settings changes:

  1. Edit the source file in ~/Dotfiles/sources/claude/
  2. Run nrs to deploy

Examples:

  • Modify settings: Edit ~/Dotfiles/sources/claude/settings.json
  • Add command: Create ~/Dotfiles/sources/claude/commands/my-command.md
  • Add skill: Create ~/Dotfiles/sources/claude/skills/skill-name/SKILL.md

スコア

総合スコア

40/100

リポジトリの品質指標に基づく評価

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

レビュー

💬

レビュー機能は近日公開予定です