Nixpkgs Developmentのロゴ

Nixpkgs Development

コミュニティ
olafkfreund
nixpkgs-development

Write, explain, review, and debug Nixpkgs package expressions, build helpers, overrides, overlays, and library APIs against the project's pinned package set.

概要

公開者olafkfreund
リポジトリnix-skills
スキル名nixpkgs-development
スター
26
フォーク
2
同梱ファイル
7
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 7個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    olafkfreundがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルNixpkgs DevelopmentをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/olafkfreund/nix-skills/tree/main/skills/nixpkgs-development
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/olafkfreund/nix-skills.git /tmp/nix-skills
mkdir -p .claude/skills
cp -r /tmp/nix-skills/skills/nixpkgs-development .claude/skills/nixpkgs-development
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでNixpkgs Developmentを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にNixpkgs Developmentを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Nixpkgs Developmentは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Nixpkgs development

Read the repository instructions, existing package expressions, and actual Nixpkgs input/lock before editing. Keep its package layout, overlays, and development environment conventions. Distinguish the Nix evaluator version, Nixpkgs revision, and build/host/target platforms. The bundled references describe the master snapshot in sources.json; they are not a stable-release claim or proof that an API exists in an older consumer pin.

Read only the relevant reference:

  • Packaging: stdenv, dependency roles, phases/hooks, metadata, and package tests.
  • Customization: argument overrides, attribute overrides, overlays, and generic module composition.
  • Helpers: fetchers/hashes, small builders, mkShell, and entry points for Python, JavaScript, Go, and Rust packaging.
  • Library: selected generated API descriptions, types, arguments, and examples with pinned declarations.
  • Contributing: Nixpkgs' own contributor rules. These cover pull requests and review, target branches and mass rebuilds, commit messages, pkgs/by-name placement, package naming, versioning, patches and automatic updates. Read it for any change intended for Nixpkgs itself.

For library and NixOS module contributions, also read upstream's lib/README.md and nixos/README.md. These links follow the master branch; they are not pinned.

Choose the mechanism that matches the change: override changes recipe arguments; overrideAttrs changes mkDerivation inputs; overlays compose package sets; module options merge configuration. In overlays, use the previous package for its original recipe and the final set for dependencies; inspect self-reference when diagnosing recursion. Inspect the target recipe before assuming every language helper has the same override behavior.

Prefer an existing appropriate build helper. Preserve pre/post hooks when replacing phases, keep native build tools distinct from host dependencies, and inspect platform assumptions. A temporary fake hash is a discovery aid: finish with the verified hash for the selected fetcher/source. Preserve upstream lockfiles and update consumer inputs deliberately, not merely to match these references. Do not disable checks, sandboxing, or hardening to hide an unexplained failure.

Start validation with the target package set and bounded checks for the change. Report evaluation, actual builds, and runtime tests separately. Documentation examples can use historical versions or illustrative values; inspect them before adapting or running them. Do not execute arbitrary snippets merely to read docs. Respect existing task authorization and keep secrets out of the Nix store.

Before working around a build or packaging failure, read the full build log, then search NixOS/nixpkgs issues and pull requests for the distinctive error and the package name, for example gh search issues --repo NixOS/nixpkgs "<error>" and gh search prs --repo NixOS/nixpkgs "<package>". Cite what you found, and whether a fix has reached the user's pin, before proposing a local workaround.

Use nixpkgs-review to build what a Nixpkgs change affects:

  • nixpkgs-review wip for uncommitted changes;
  • nixpkgs-review rev HEAD for a commit;
  • nixpkgs-review pr NUMBER for a pull request.

It builds every affected package, which can be many and slow, so check the scope and ask before running it on a large change. Read its report of failed, broken and skipped packages before stating a result. Never use post-result, approve, merge, --post-result or --approve-pr without the user's explicit authorization: they act on GitHub under the user's identity.

Version-bump pull requests from r-ryantm come from nixpkgs-update. Review them like any update: read the upstream changelog, build with nixpkgs-review pr, and check the linked update logs.

This skill does not supply a complete package/API catalogue or NixOS/Home Manager option reference. Host installation and deployment follow local policy. Public manual links can move; packaged excerpts and source citations are revision-pinned. Modified upstream material is covered by COPYING.

Nix style

  • Never search /nix/store (for example find /nix/store/*foo-* -name libfoo.so) and never copy a literal store path. Find the providing package with nix-locate, and refer to it through Nix: ${pkgs.foo}/lib or lib.makeLibraryPath [ pkgs.foo ].
  • Do not quote attribute names that are valid identifiers ([A-Za-z_][A-Za-z0-9_'-]*, dashes included). Write pkgs.foo-bar and packages.x86_64-linux, not pkgs."foo-bar". Quote only other names (".config/foo", "2.0"), the keywords assert else if in inherit let or rec then with, and interpolations ("${name}"). Upstream examples in references sometimes quote needlessly; do not copy that style.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Nixpkgs Development」では何ができますか?

Write, explain, review, and debug Nixpkgs package expressions, build helpers, overrides, overlays, and library APIs against the project's pinned package set.

TypingMindでNixpkgs Developmentを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Nixpkgs Developmentはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにNixpkgs Developmentをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/olafkfreund/nix-skills/tree/main/skills/nixpkgs-developmentを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Nixpkgs Developmentを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Nixpkgs Developmentは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもNixpkgs Developmentを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Nixpkgs Development」は無料ですか?

はい。olafkfreundがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇