[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BX826Q6EPY806TKQR76TAG":3,"skill-same:01M6BX826Q6EPY806TKQR76TAG":78},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":15,"repositoryHtmlUrl":60,"repositoryHomepageUrl":13,"ownerHtmlUrl":61,"ownerBlogUrl":13,"ownerDescription":62,"updatedAt":63,"install":64,"resources":77},"01M6BX826Q6EPY806TKQR76TAG","create-nix-package","Nix 软件包打包","Create, update, and validate Nix package derivations from a package name or source URL. Use when asked to package software for Nix\u002FNixpkgs, generate a derivation, fetch upstream sources, choose build inputs, or make the packaged executable run.","根据包名或源码 URL 创建、更新并校验 Nix 软件包派生（derivation）。当用户要求为 Nix\u002FNixpkgs 打包软件、生成派生、获取上游源码、选择构建输入，或让打包好的可执行程序运行时使用。","amusingimpala75\u002F.dotfiles","amusingimpala75","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F69653100?v=4","01M6BX7ZN4SETFT4DA67XSCQRJ",null,"01M6BX7ZSGHJ1MDB1G7RA45993",0,"MIT","https:\u002F\u002Fgithub.com\u002Famusingimpala75\u002F.dotfiles\u002Fblob\u002Fmaster\u002Fmodules\u002Fpi\u002Fskills\u002Fcreate-nix-package\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师","PROFESSION","适用职业",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理","SCENARIO","使用场景",[30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"nix","package","create nix package","create","when","build","with","interactive","URL","use","upstream","mode","choose","environment","for","headless","fetch","sources","init","generate","nixpkgs","2026-11-10 10:12:30",false,"---\nname: create-nix-package\ndescription: Create, update, and validate Nix package derivations from a package name or source URL. Use when asked to package software for Nix\u002FNixpkgs, generate a derivation, fetch upstream sources, choose build inputs, or make the packaged executable run.\ncompatibility: Requires an environment with Nix available. Prefer nix-init in headless\u002Fnon-interactive mode; use nurl when nix-init is unavailable or for source metadata.\n---\n\n# Nix Packaging Derivations\n\nUse this skill to package software as a Nix derivation, starting from a package name, repository URL, release URL, archive URL, or language package identifier.\n\n## First response \u002F inputs\n\nThe task must have at least one of:\n\n- package name\n- upstream URL\n- language ecosystem identifier, such as a PyPI\u002Fnpm\u002FGo\u002FRust package name\n\nIf missing, ask for it. Also ask for any missing required context that changes the derivation shape:\n\n- target location\u002Ffile to write, unless obvious from the repository\n- whether this is for Nixpkgs or a local flake\u002Fpackage set\n- expected executable\u002Flibrary name and a simple smoke-test command, if not obvious\n- target platform constraints, if relevant\n\nIf the user only gives a package name, discover the canonical upstream source before writing the derivation.\n\n## Required workflow\n\n1. Inspect the existing repository structure and packaging conventions.\n   - Look for `pkgs\u002Fby-name`, `pkgs\u002Ftop-level\u002Fall-packages.nix`, `packages`, `flake.nix`, overlays, existing similar packages, and style conventions.\n   - Do not manually install tools. If a needed tool is absent, use `nix run nixpkgs#\u003Ctool> -- ...` or ask the user.\n2. Fetch\u002Fidentify upstream source metadata.\n   - Prefer `nix-init` in headless\u002Fnon-interactive mode to generate an initial derivation.\n   - If `nix-init` is unavailable or unsuitable, use `nurl` to produce fetcher expressions and hashes.\n   - Always verify tags\u002Freleases\u002Fchecksums against upstream, not only generated output.\n3. Determine the build system by inspecting source files.\n   - Examples: `Cargo.toml`, `go.mod`, `package.json`, `pyproject.toml`, `setup.py`, `meson.build`, `CMakeLists.txt`, `Makefile`, Autotools files, static assets\u002Fscripts.\n   - Read upstream docs for install\u002Fbuild\u002Ftest instructions when present.\n4. Write or update the derivation in the project’s preferred location.\n5. Build it with Nix and fix failures.\n   - Treat failed build attempts as experiments: once the package works, remove every workaround, dependency, override, patch, phase, or environment variable that was tried but is not required by the final solution. Leave the smallest clear changeset.\n6. Run the packaged program or otherwise perform a meaningful smoke test.\n7. Leave a concise summary of files changed, build\u002Ftest commands run, and any caveats.\n\n## Tooling guidance\n\n### nix-init\n\nUse `nix-init` non-interactively\u002Fheadlessly. Check the installed CLI with `nix-init --help` because flags may vary. Typical usage is along these lines:\n\n```bash\nnix-init --headless --url \u003Cupstream-url>\n```\n\nYou can specify the builder (`buildGoModule` etc) with `--builder`\n\nThen treat the generated file as a draft. Review and simplify it; do not blindly accept generated dependencies, metadata, or phases.\n\nIf `nix-init` is not on PATH, try:\n\n```bash\nnix run self#nix-init -- --help\n```\n\n### nurl\n\nUse `nurl` when you need a fetcher and hash, especially for GitHub\u002FGitLab\u002Fsource archives:\n\n```bash\nnurl \u003Curl>\n```\n\nIf `nurl` is not on PATH, try:\n\n```bash\nnix run self#nurl -- \u003Curl>\n```\n\n## Derivation style requirements\n\nPrefer this idiom:\n\n```nix\n{\n  lib,\n  stdenvNoCC,\n  fetchFromGitHub,\n}:\n\nstdenvNoCC.mkDerivation (finalAttrs: {\n  pname = \"example\";\n  version = \"1.0.0\";\n\n  src = fetchFromGitHub {\n    owner = \"upstream\";\n    repo = \"example\";\n    tag = \"v${finalAttrs.version}\";\n    hash = \"sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=\";\n  };\n\n  __structuredAttrs = true;\n  strictDeps = true;\n\n  installPhase = ''\n    runHook preInstall\n    install -Dm755 example $out\u002Fbin\u002Fexample\n    runHook postInstall\n  '';\n\n  meta = {\n    description = \"Short upstream-accurate description\";\n    homepage = \"https:\u002F\u002Fexample.org\";\n    license = lib.licenses.mit;\n    maintainers = with lib.maintainers; [ ];\n    mainProgram = \"example\";\n  };\n})\n```\n\nRequirements:\n\n- Use `mkDerivation (finalAttrs: { ... })` rather than a surrounding `let` block when values can reference `finalAttrs`.\n- Set `__structuredAttrs = true;` and `strictDeps = true;` unless the surrounding project has an explicit reason not to.\n- Prefer `stdenvNoCC.mkDerivation` over `stdenv.mkDerivation` when no C\u002FC++\u002FObjective-C compiler toolchain is needed.\n- Use `stdenv.mkDerivation` only when compilation or compiler-provided setup hooks are actually required.\n- Keep dependencies in the correct attributes:\n  - `nativeBuildInputs`: tools that run while building, including build systems, code generators, wrappers, pkg-config, and install helpers. Do not put host\u002Fruntime libraries here merely because their commands were used during the build.\n  - `buildInputs`: host-platform libraries and other dependencies linked into or needed by the built package at runtime. Do not put build-only tools here: doing so can unnecessarily enlarge the runtime closure.\n  - When cross-compilation is relevant, be especially precise: build-machine executables belong in `nativeBuildInputs`; host-package libraries belong in `buildInputs`.\n  - `propagatedBuildInputs`: only for dependencies consumers must see.\n  - `nativeCheckInputs`: test-only tools.\n- Preserve `runHook pre*` and `runHook post*` in custom phases.\n- Keep metadata accurate. Do not invent licenses, maintainers, homepage, or descriptions.\n- Use `meta.mainProgram` for executable packages.\n\n## Choosing `stdenvNoCC`\n\nUse `stdenvNoCC` for packages that only install or wrap existing files, for example:\n\n- shell\u002FPython\u002FPerl\u002FRuby scripts that are not compiled by this derivation\n- static data, themes, icons, fonts, documentation, completions\n- prebuilt single-file scripts or assets\n- packages whose build is only copying, patching shebangs, substituting paths, or wrapping scripts\n\nUse regular `stdenv` when building native code, when a compiler is needed during configure\u002Fbuild\u002Fcheck, or when a language builder internally requires it.\n\n## Source and hash handling\n\n- Prefer stable release tags\u002Ftarballs over moving branches.\n- Use `fetchFromGitHub`, `fetchFromGitLab`, `fetchgit`, `fetchurl`, or language-specific fetchers according to project convention.\n- Do not use `lib.fakeHash` in final code unless intentionally leaving a failing placeholder and telling the user.\n- If a hash mismatch occurs, update the hash from Nix’s reported `got:` value after verifying the source is expected.\n- Prefer `hash = \"sha256-...\";` over legacy hash attributes unless local style differs.\n\n## Update scripts\n\nFor independently versioned upstream packages, declare `passthru.updateScript` so the update policy lives in the derivation, not only in documentation or remembered CLI flags. Add `nix-update-script` to the package's function arguments and prefer the standard helper over a handwritten wrapper:\n\n```nix\npassthru.updateScript = nix-update-script {\n  attrPath = \"example\";\n  extraArgs = [ \"--flake\" ];\n};\n```\n\n- Set `attrPath` to the actual exported attribute (for example, `emacs-reader`, not its internal `pname` of `reader`).\n- Use `--flake` for this repository's flake packages. For Nixpkgs packages, omit it and normally use `nix-update-script { }` for release updates.\n- For commit snapshots, add `\"--version=branch\"` to `extraArgs` (or `\"--version=branch=\u003Cbranch>\"` for a specific branch). Use a conventional `\u003Crelease-or-0>-unstable-YYYY-MM-DD` version and a pinned commit `rev`. Do not leave branch-update policy only in the README.\n- For release packages, link the source `tag` or download URL to `finalAttrs.version`; use `tag` for release tags and `rev` for commit revisions where the fetcher supports that distinction.\n- Use a custom update script only when the standard helper cannot coordinate the required work, such as generating an asset index or regenerating locally maintained dependency manifests. Expose a runnable command through `passthru.updateScript`, and declare its runtime tools. Inner calls to `nix-update` must not use `-u`, which would recursively invoke the custom script.\n- Keep existing custom updaters intact unless a change is necessary. Integration should be the smallest required changeset: do not rewrite variables into temporary files, add unrelated hardening, or otherwise refactor the updater just to expose it through `passthru.updateScript`. Set generated output paths explicitly relative to the repository root.\n- Local sources and packages that inherit their source\u002Fversion from another package do not need independent update scripts. Intentionally frozen sources need an explicit documented policy; `nix-update` has no universal opt-out, so an intentional no-op script is only respected when callers use `-u`.\n- Evaluate the resulting `updateScript` command and verify its attribute path and flags. Avoid advancing package versions merely to test wiring. Document that `nix-update --flake -u \u003Cattr>` runs the declared script; nix-update 1.16 also requires `\u003Cnixpkgs>` in `NIX_PATH` for this mode.\n\n## Build-system notes\n\nFollow existing project conventions first. Common patterns:\n\n- Rust: prefer `rustPlatform.buildRustPackage`; update `cargoHash` via build output or `nix-prefetch`; run the binary.\n- Go: prefer `buildGoModule`; set `vendorHash` or `vendorHash = null` only when appropriate.\n- Python: prefer `buildPythonApplication`\u002F`buildPythonPackage` with `pyproject = true` for PEP 517 projects; use `pythonImportsCheck` and a CLI smoke test.\n- Node: use the project’s established Node builder; avoid ad-hoc network access during build.\n- CMake\u002FMeson\u002FAutotools: use the standard setup hooks in `nativeBuildInputs`.\n- Plain scripts\u002Fassets: use `stdenvNoCC.mkDerivation`, install files explicitly, patch shebangs, and wrap with runtime dependencies as needed.\n\n## Validation\n\nAlways attempt to build the package:\n\n```bash\nnix build .#\u003Cattr>\n```\n\nor, for a standalone derivation:\n\n```bash\nnix-build -E 'with import \u003Cnixpkgs> {}; callPackage .\u002Fpackage.nix {}'\n```\n\nThen test the installed output. For executables, run for example:\n\n```bash\n.\u002Fresult\u002Fbin\u002F\u003CmainProgram> --help\n```\n\nIf `--help` is unsupported, use `--version`, a no-op invocation, or another harmless smoke test. For libraries, use imports\u002Fcheck phases or a minimal consumer\u002Fimport test.\n\nIf tests are expensive or require network\u002Fsecrets\u002FGUI, do not run them blindly. Explain the limitation and run the best safe substitute.\n\n## Quality checklist before final response\n\n- Derivation builds reproducibly without network access during build.\n- Packaged executable\u002Flibrary runs or passes a meaningful smoke test.\n- `__structuredAttrs` and `strictDeps` are enabled.\n- `stdenvNoCC` is used when a compiler is unnecessary.\n- `finalAttrs` is used for version\u002Ftag\u002Fhash references where helpful.\n- Dependencies are minimized and correctly split between native build tools and host\u002Fruntime inputs, without unnecessarily enlarging the runtime closure.\n- Failed-experiment workarounds and other no-longer-needed code or dependencies have been removed.\n- Metadata is accurate, including `license` and `mainProgram` when applicable.\n- Independently updateable upstream packages declare an appropriate `passthru.updateScript`, including branch flags for commit snapshots and the correct flake attribute path.\n- The final response lists changed files and exact validation commands run.\n","# Nix Packaging Derivations\n\nUse this skill to package software as a Nix derivation, starting from a package name, repository URL, release URL, archive URL, or language package identifier.\n\n## First response \u002F inputs\n\nThe task must have at least one of:\n\n- package name\n- upstream URL\n- language ecosystem identifier, such as a PyPI\u002Fnpm\u002FGo\u002FRust package name\n\nIf missing, ask for it. Also ask for any missing required context that changes the derivation shape:\n\n- target location\u002Ffile to write, unless obvious from the repository\n- whether this is for Nixpkgs or a local flake\u002Fpackage set\n- expected executable\u002Flibrary name and a simple smoke-test command, if not obvious\n- target platform constraints, if relevant\n\nIf the user only gives a package name, discover the canonical upstream source before writing the derivation.\n\n## Required workflow\n\n1. Inspect the existing repository structure and packaging conventions.\n   - Look for `pkgs\u002Fby-name`, `pkgs\u002Ftop-level\u002Fall-packages.nix`, `packages`, `flake.nix`, overlays, existing similar packages, and style conventions.\n   - Do not manually install tools. If a needed tool is absent, use `nix run nixpkgs#\u003Ctool> -- ...` or ask the user.\n2. Fetch\u002Fidentify upstream source metadata.\n   - Prefer `nix-init` in headless\u002Fnon-interactive mode to generate an initial derivation.\n   - If `nix-init` is unavailable or unsuitable, use `nurl` to produce fetcher expressions and hashes.\n   - Always verify tags\u002Freleases\u002Fchecksums against upstream, not only generated output.\n3. Determine the build system by inspecting source files.\n   - Examples: `Cargo.toml`, `go.mod`, `package.json`, `pyproject.toml`, `setup.py`, `meson.build`, `CMakeLists.txt`, `Makefile`, Autotools files, static assets\u002Fscripts.\n   - Read upstream docs for install\u002Fbuild\u002Ftest instructions when present.\n4. Write or update the derivation in the project’s preferred location.\n5. Build it with Nix and fix failures.\n   - Treat failed build attempts as experiments: once the package works, remove every workaround, dependency, override, patch, phase, or environment variable that was tried but is not required by the final solution. Leave the smallest clear changeset.\n6. Run the packaged program or otherwise perform a meaningful smoke test.\n7. Leave a concise summary of files changed, build\u002Ftest commands run, and any caveats.\n\n## Tooling guidance\n\n### nix-init\n\nUse `nix-init` non-interactively\u002Fheadlessly. Check the installed CLI with `nix-init --help` because flags may vary. Typical usage is along these lines:\n\n```bash\nnix-init --headless --url \u003Cupstream-url>\n```\n\nYou can specify the builder (`buildGoModule` etc) with `--builder`\n\nThen treat the generated file as a draft. Review and simplify it; do not blindly accept generated dependencies, metadata, or phases.\n\nIf `nix-init` is not on PATH, try:\n\n```bash\nnix run self#nix-init -- --help\n```\n\n### nurl\n\nUse `nurl` when you need a fetcher and hash, especially for GitHub\u002FGitLab\u002Fsource archives:\n\n```bash\nnurl \u003Curl>\n```\n\nIf `nurl` is not on PATH, try:\n\n```bash\nnix run self#nurl -- \u003Curl>\n```\n\n## Derivation style requirements\n\nPrefer this idiom:\n\n```nix\n{\n  lib,\n  stdenvNoCC,\n  fetchFromGitHub,\n}:\n\nstdenvNoCC.mkDerivation (finalAttrs: {\n  pname = \"example\";\n  version = \"1.0.0\";\n\n  src = fetchFromGitHub {\n    owner = \"upstream\";\n    repo = \"example\";\n    tag = \"v${finalAttrs.version}\";\n    hash = \"sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=\";\n  };\n\n  __structuredAttrs = true;\n  strictDeps = true;\n\n  installPhase = ''\n    runHook preInstall\n    install -Dm755 example $out\u002Fbin\u002Fexample\n    runHook postInstall\n  '';\n\n  meta = {\n    description = \"Short upstream-accurate description\";\n    homepage = \"https:\u002F\u002Fexample.org\";\n    license = lib.licenses.mit;\n    maintainers = with lib.maintainers; [ ];\n    mainProgram = \"example\";\n  };\n})\n```\n\nRequirements:\n\n- Use `mkDerivation (finalAttrs: { ... })` rather than a surrounding `let` block when values can reference `finalAttrs`.\n- Set `__structuredAttrs = true;` and `strictDeps = true;` unless the surrounding project has an explicit reason not to.\n- Prefer `stdenvNoCC.mkDerivation` over `stdenv.mkDerivation` when no C\u002FC++\u002FObjective-C compiler toolchain is needed.\n- Use `stdenv.mkDerivation` only when compilation or compiler-provided setup hooks are actually required.\n- Keep dependencies in the correct attributes:\n  - `nativeBuildInputs`: tools that run while building, including build systems, code generators, wrappers, pkg-config, and install helpers. Do not put host\u002Fruntime libraries here merely because their commands were used during the build.\n  - `buildInputs`: host-platform libraries and other dependencies linked into or needed by the built package at runtime. Do not put build-only tools here: doing so can unnecessarily enlarge the runtime closure.\n  - When cross-compilation is relevant, be especially precise: build-machine executables belong in `nativeBuildInputs`; host-package libraries belong in `buildInputs`.\n  - `propagatedBuildInputs`: only for dependencies consumers must see.\n  - `nativeCheckInputs`: test-only tools.\n- Preserve `runHook pre*` and `runHook post*` in custom phases.\n- Keep metadata accurate. Do not invent licenses, maintainers, homepage, or descriptions.\n- Use `meta.mainProgram` for executable packages.\n\n## Choosing `stdenvNoCC`\n\nUse `stdenvNoCC` for packages that only install or wrap existing files, for example:\n\n- shell\u002FPython\u002FPerl\u002FRuby scripts that are not compiled by this derivation\n- static data, themes, icons, fonts, documentation, completions\n- prebuilt single-file scripts or assets\n- packages whose build is only copying, patching shebangs, substituting paths, or wrapping scripts\n\nUse regular `stdenv` when building native code, when a compiler is needed during configure\u002Fbuild\u002Fcheck, or when a language builder internally requires it.\n\n## Source and hash handling\n\n- Prefer stable release tags\u002Ftarballs over moving branches.\n- Use `fetchFromGitHub`, `fetchFromGitLab`, `fetchgit`, `fetchurl`, or language-specific fetchers according to project convention.\n- Do not use `lib.fakeHash` in final code unless intentionally leaving a failing placeholder and telling the user.\n- If a hash mismatch occurs, update the hash from Nix’s reported `got:` value after verifying the source is expected.\n- Prefer `hash = \"sha256-...\";` over legacy hash attributes unless local style differs.\n\n## Update scripts\n\nFor independently versioned upstream packages, declare `passthru.updateScript` so the update policy lives in the derivation, not only in documentation or remembered CLI flags. Add `nix-update-script` to the package's function arguments and prefer the standard helper over a handwritten wrapper:\n\n```nix\npassthru.updateScript = nix-update-script {\n  attrPath = \"example\";\n  extraArgs = [ \"--flake\" ];\n};\n```\n\n- Set `attrPath` to the actual exported attribute (for example, `emacs-reader`, not its internal `pname` of `reader`).\n- Use `--flake` for this repository's flake packages. For Nixpkgs packages, omit it and normally use `nix-update-script { }` for release updates.\n- For commit snapshots, add `\"--version=branch\"` to `extraArgs` (or `\"--version=branch=\u003Cbranch>\"` for a specific branch). Use a conventional `\u003Crelease-or-0>-unstable-YYYY-MM-DD` version and a pinned commit `rev`. Do not leave branch-update policy only in the README.\n- For release packages, link the source `tag` or download URL to `finalAttrs.version`; use `tag` for release tags and `rev` for commit revisions where the fetcher supports that distinction.\n- Use a custom update script only when the standard helper cannot coordinate the required work, such as generating an asset index or regenerating locally maintained dependency manifests. Expose a runnable command through `passthru.updateScript`, and declare its runtime tools. Inner calls to `nix-update` must not use `-u`, which would recursively invoke the custom script.\n- Keep existing custom updaters intact unless a change is necessary. Integration should be the smallest required changeset: do not rewrite variables into temporary files, add unrelated hardening, or otherwise refactor the updater just to expose it through `passthru.updateScript`. Set generated output paths explicitly relative to the repository root.\n- Local sources and packages that inherit their source\u002Fversion from another package do not need independent update scripts. Intentionally frozen sources need an explicit documented policy; `nix-update` has no universal opt-out, so an intentional no-op script is only respected when callers use `-u`.\n- Evaluate the resulting `updateScript` command and verify its attribute path and flags. Avoid advancing package versions merely to test wiring. Document that `nix-update --flake -u \u003Cattr>` runs the declared script; nix-update 1.16 also requires `\u003Cnixpkgs>` in `NIX_PATH` for this mode.\n\n## Build-system notes\n\nFollow existing project conventions first. Common patterns:\n\n- Rust: prefer `rustPlatform.buildRustPackage`; update `cargoHash` via build output or `nix-prefetch`; run the binary.\n- Go: prefer `buildGoModule`; set `vendorHash` or `vendorHash = null` only when appropriate.\n- Python: prefer `buildPythonApplication`\u002F`buildPythonPackage` with `pyproject = true` for PEP 517 projects; use `pythonImportsCheck` and a CLI smoke test.\n- Node: use the project’s established Node builder; avoid ad-hoc network access during build.\n- CMake\u002FMeson\u002FAutotools: use the standard setup hooks in `nativeBuildInputs`.\n- Plain scripts\u002Fassets: use `stdenvNoCC.mkDerivation`, install files explicitly, patch shebangs, and wrap with runtime dependencies as needed.\n\n## Validation\n\nAlways attempt to build the package:\n\n```bash\nnix build .#\u003Cattr>\n```\n\nor, for a standalone derivation:\n\n```bash\nnix-build -E 'with import \u003Cnixpkgs> {}; callPackage .\u002Fpackage.nix {}'\n```\n\nThen test the installed output. For executables, run for example:\n\n```bash\n.\u002Fresult\u002Fbin\u002F\u003CmainProgram> --help\n```\n\nIf `--help` is unsupported, use `--version`, a no-op invocation, or another harmless smoke test. For libraries, use imports\u002Fcheck phases or a minimal consumer\u002Fimport test.\n\nIf tests are expensive or require network\u002Fsecrets\u002FGUI, do not run them blindly. Explain the limitation and run the best safe substitute.\n\n## Quality checklist before final response\n\n- Derivation builds reproducibly without network access during build.\n- Packaged executable\u002Flibrary runs or passes a meaningful smoke test.\n- `__structuredAttrs` and `strictDeps` are enabled.\n- `stdenvNoCC` is used when a compiler is unnecessary.\n- `finalAttrs` is used for version\u002Ftag\u002Fhash references where helpful.\n- Dependencies are minimized and correctly split between native build tools and host\u002Fruntime inputs, without unnecessarily enlarging the runtime closure.\n- Failed-experiment workarounds and other no-longer-needed code or dependencies have been removed.\n- Metadata is accurate, including `license` and `mainProgram` when applicable.\n- Independently updateable upstream packages declare an appropriate `passthru.updateScript`, including branch flags for commit snapshots and the correct flake attribute path.\n- The final response lists changed files and exact validation commands run.\n",{"name":5,"description":7,"compatibility":56},"Requires an environment with Nix available. Prefer nix-init in headless\u002Fnon-interactive mode; use nurl when nix-init is unavailable or for source metadata.","master","77be3a43b80af4a7e4d1ee74687f397e7eed2824","modules\u002Fpi\u002Fskills\u002Fcreate-nix-package","https:\u002F\u002Fgithub.com\u002Famusingimpala75\u002F.dotfiles","https:\u002F\u002Fgithub.com\u002Famusingimpala75","CS undergraduate @ Grove City College","2026-11-14 03:42:49",{"source":9,"skillName":5,"commands":65,"prompt":75,"zipAvailable":76},[66,69,72],{"tool":67,"command":68},"npx","npx skills add amusingimpala75\u002F.dotfiles --skill create-nix-package",{"tool":70,"command":71},"bunx","bunx skills add amusingimpala75\u002F.dotfiles --skill create-nix-package",{"tool":73,"command":74},"pnpm","pnpm dlx skills add amusingimpala75\u002F.dotfiles --skill create-nix-package","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Famusingimpala75\u002F.dotfiles\u002Fblob\u002Fmaster\u002Fmodules\u002Fpi\u002Fskills\u002Fcreate-nix-package\u002FSKILL.md",true,[],[79,105,129,144],{"skillNo":80,"name":81,"nameZh":82,"description":83,"descriptionZh":84,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":85,"categories":86,"keywords":93,"publishedAt":51},"01M6BX897PFQA1YB3XSSCP9WKT","grilling","方案决策压力质询","Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.","对用户的计划、决策或想法进行不留情面的连续追问。当用户想要对自己的思路进行压力测试，或使用任何 'grill' 触发短语时使用。","https:\u002F\u002Fgithub.com\u002Famusingimpala75\u002F.dotfiles\u002Fblob\u002Fmaster\u002Fmodules\u002Fpi\u002Fskills\u002Fgrilling\u002FSKILL.md",[87,90],{"categoryNo":88,"categoryName":89,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQ6TRAEZFJ43R95HPEBJYG","知识工作者",{"categoryNo":91,"categoryName":92,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BTBRV70X1T1B33XJ0GW1TW","方案质询与决策压力测试",[81,94,95,96,97,39,98,99,100,101,102,103,104,34],"decision","test","plan","user","grill","idea","thinking","stress-test","trigger","stress","about",{"skillNo":106,"name":107,"nameZh":108,"description":109,"descriptionZh":110,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":111,"categories":112,"keywords":117,"publishedAt":51},"01M6BX87RW8P28B9RKMZQE0W7W","grill-with-docs","方案质询与文档生成","A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.","通过不留情面的连续追问来打磨方案或设计，并在此过程中同步创建文档（ADR 架构决策记录和术语表）。","https:\u002F\u002Fgithub.com\u002Famusingimpala75\u002F.dotfiles\u002Fblob\u002Fmaster\u002Fmodules\u002Fpi\u002Fskills\u002Fgrill-with-docs\u002FSKILL.md",[113,114],{"categoryNo":91,"categoryName":92,"taxonomyType":27,"taxonomyTypeDesc":28},{"categoryNo":115,"categoryName":116,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8C4ZVS0ZJKF2T2G58PW5VR2","系统架构师",[36,98,118,119,120,121,122,123,124,125,126,127,96,128],"grill with docs","docs","interview","as","true","which","adr","glossary","design","go","sharpen",{"skillNo":130,"name":131,"nameZh":132,"description":133,"descriptionZh":134,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":135,"categories":136,"keywords":141,"publishedAt":51},"01M6BX86F4VGN1NBWWJDSENG8F","grill-me","方案设计质询访谈","A relentless interview to sharpen a plan or design.","通过不留情面的追问式访谈，打磨和优化计划或设计。","https:\u002F\u002Fgithub.com\u002Famusingimpala75\u002F.dotfiles\u002Fblob\u002Fmaster\u002Fmodules\u002Fpi\u002Fskills\u002Fgrill-me\u002FSKILL.md",[137,138],{"categoryNo":91,"categoryName":92,"taxonomyType":27,"taxonomyTypeDesc":28},{"categoryNo":139,"categoryName":140,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8C2MZSX0YJXR444XP83VR5N","产品经理",[142,98,143,120,126,96,128,122],"me","grill me",{"skillNo":145,"name":146,"nameZh":147,"description":148,"descriptionZh":149,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":150,"categories":151,"keywords":156,"publishedAt":51},"01M6BX84M3N1ZF306E3AA4KWXF","domain-modeling","领域模型构建与梳理","Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.","构建并完善项目的领域模型。在讨论代码库术语、编写或编辑 GLOSSARY.md，或记录或编辑 ADR（架构决策记录）时使用。","https:\u002F\u002Fgithub.com\u002Famusingimpala75\u002F.dotfiles\u002Fblob\u002Fmaster\u002Fmodules\u002Fpi\u002Fskills\u002Fdomain-modeling\u002FSKILL.md",[152,153],{"categoryNo":115,"categoryName":116,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":154,"categoryName":155,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8C535MHXGXDSGN98VJTMCSK","系统架构设计模式",[157,158,159,160,128,161,162,163,164,165,166,34,35,39,167,125,124],"domain modeling","modeling","domain","model","writing","domain model","project","terminology","recording","codebase","editing"]