← スキル一覧に戻る

nix
by neutronmoderator
Works on ̶m̶y̶ all nixOS machines™
⭐ 0🍴 0📅 2026年1月24日
SKILL.md
name: nix description: NixOS package management and dotfiles configuration. Activates for package install/remove/search, system updates, and configuration changes.
NixOS Package Management
Help with NixOS configuration and package management.
User input: $ARGUMENTS
Instructions
-
Read context and config:
- Read
~/Dotfiles/CLAUDE.mdto understand the dotfiles layout - Read
~/Dotfiles/configuration.nixto see current packages - Read
~/Dotfiles/flake.nixif flake changes needed
- Read
-
Parse the request:
- Install package: User wants to add a package (e.g., "install htop", "add nodejs")
- Remove package: User wants to remove a package
- Search: User wants to find a package (e.g., "search for video editor")
- Update: User wants to update the system
- Other: Configuration changes, services, etc.
-
For package install/remove:
- Search nixpkgs to confirm exact package name:
nix search nixpkgs <name> - Edit
configuration.nixto add/remove fromusers.users.sasha.packages - Show the diff to user
- Search nixpkgs to confirm exact package name:
-
For search:
- Run
nix search nixpkgs <query>and summarize results - Suggest the most relevant package(s)
- Run
-
For updates:
- Run
nix flake updatein~/Dotfiles - Then rebuild
- Run
-
Apply changes:
- Run:
nrs(alias for nixos-rebuild switch) - If rebuild fails:
- Analyze the error output
- Identify the root cause (missing dependency, syntax error, etc.)
- Fix the issue and retry
- Repeat until successful or user asks to stop
- Report success
- Run:
-
Update documentation:
- If structural changes were made (new services, major packages), update
~/Dotfiles/CLAUDE.md
- If structural changes were made (new services, major packages), update
-
Commit changes (only after successful rebuild):
cd ~/Dotfilesgit add -Agit commitwith a descriptive message (e.g., "Add htop package", "Update flake inputs")- Ask user: "Ready to push to remote?"
- Only push if user confirms
Package Locations
- User packages:
configuration.nix→users.users.sasha.packages - System packages:
configuration.nix→environment.systemPackages - Flake inputs:
flake.nix→ for adding external flakes
スコア
総合スコア
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
レビュー
💬
レビュー機能は近日公開予定です