From nix-tasuke
Nix CLI command guidelines. Use new unified CLI (nix subcommand) instead of legacy commands (nix-build, nix-env, nix-shell, etc.). Use when running or suggesting Nix commands.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nix-tasuke:nix-commandThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
`experimental-features = nix-command flakes`が有効な環境では、
experimental-features = nix-command flakesが有効な環境では、
新しい統一CLI(nix <subcommand>形式)を使用してください。
以下の旧形式コマンドは使用禁止です。 対応する新形式を使ってください。
| 禁止(旧形式) | 使用すべき新形式 |
|---|---|
nix-build | nix build |
nix-shell | nix develop(ビルド環境) / nix shell(一時利用) |
nix-instantiate | nix eval / nix derivation show |
| 禁止(旧形式) | 使用すべき新形式 |
|---|---|
nix-env -i / nix-env -iA | nix profile add |
nix-env -e | nix profile remove |
nix-env -u | nix profile upgrade |
nix-env -q | nix profile list |
nix-env -qa | nix search |
nix-env --rollback | nix profile rollback |
nix-env --list-generations | nix profile history |
nix-env --delete-generations | nix profile wipe-history |
| 禁止(旧形式) | 使用すべき新形式 |
|---|---|
nix-store --gc / nix-collect-garbage | nix store gc |
nix-store --optimise | nix store optimise |
nix-store --add | nix store add |
nix-store --delete | nix store delete |
nix-store --verify | nix store verify |
nix-store --repair-path | nix store repair |
nix-store -q | nix path-info |
nix-store -qR | nix path-info -r |
nix-store -l | nix log |
nix-copy-closure | nix copy |
| 禁止(旧形式) | 使用すべき新形式 |
|---|---|
nix-hash --flat | nix hash file |
nix-hash | nix hash path |
nix-hash --to-base32等 | nix hash to-base16/32/64/sri |
nix-prefetch-url | nix store prefetch-file |
| 禁止(旧形式) | 使用すべき新形式 |
|---|---|
nix-channel | nix flake update / nix registry |
nixpkgs#hello
github:NixOS/nixpkgs#hello
.#mypackage
path:/path/to/flake#output
nix build 'nixpkgs#hello'
nix build '.#mypackage'
nix develop
nix develop '.#myDevShell'
nix shell 'nixpkgs#ripgrep' 'nixpkgs#fd'
nix run 'nixpkgs#hello'
nix search nixpkgs hello
nix flake show
nix flake metadata
nix flake update
nix flake update nixpkgs
nix eval 'nixpkgs#hello.meta.description'
nix store gc
nix path-info -rSh 'nixpkgs#hello'
新形式ではビルドログがデフォルトで非表示です。
表示するには-Lフラグを使用します。
nix build 'nixpkgs#hello' -L
nix develop -L
nix-shellからnix develop/nix shellへの移行nix-shell -p pkg: nix shell nixpkgs#pkgに置き換えnix-shell(ビルド環境): nix developに置き換えnpx claudepluginhub ncaq/konoka --plugin nix-tasukeProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.