nix-typescript
pnpm + Nix build conventions. Covers fetchPnpmDeps hash management and dependency workflow.
Best use case
nix-typescript is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
pnpm + Nix build conventions. Covers fetchPnpmDeps hash management and dependency workflow.
Teams using nix-typescript should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/nix-typescript/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How nix-typescript Compares
| Feature / Agent | nix-typescript | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
pnpm + Nix build conventions. Covers fetchPnpmDeps hash management and dependency workflow.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# TypeScript + Nix (pnpm) ## Dependency hash management `nix/modules/typescript.nix` uses `fetchPnpmDeps` with a pinned hash. When `pnpm-lock.yaml` changes (via `pnpm add/remove/update`), this hash goes stale and `nix build` fails. ### Fix recipe 1. Run `nix build 2>&1` — it fails with a hash mismatch 2. Extract the correct hash from the `got: sha256-...` line in the error 3. Update the `hash = "sha256-..."` line in `nix/modules/typescript.nix` ### Parallelization **Run the hash fix in background immediately after `pnpm-lock.yaml` changes.** Don't wait until end of session — kick it off as soon as the lock file is modified, then continue coding. The `nix build` takes minutes; doing it in background avoids blocking other work. ## Build - `nix build` — full production build (client + server bundle) - `nix run` — build and run - Client is built with `pnpm --filter kolu-client build` (Vite) - Server runs via `tsx` (TypeScript execution without compile step)
Related Skills
vhs
Techniques for creating deterministic terminal demo screencasts with VHS
programming-essay
Write a programming essay or blog post in the voice of the canon — Spolsky, Yegge, Graham, Mickens, Dijkstra, Brooks, Nystrom, Kleppmann, patio11. Invoke when the user wants to argue an idea about software, architecture, languages, or the craft — not a debugging war story (use debugging-story for that), not a tutorial, not a release note. The audience is working developers worldwide with taste and strong opinions of their own.
nix-rust-leptos
Conventions for building Leptos CSR apps with Nix (crane + Trunk).
nix-justfile
Conventions for writing justfile recipes in Nix-based projects.
nix-health
Use this when diagnosing or fixing a user's Nix installation — checks flakes, version, caches, max-jobs, direnv, rosetta, trusted-users, and shell config
nix-haskell
Use this when working on a Haskell project with Nix. Covers haskell-flake setup, adding/overriding dependencies, package settings, and devShell configuration.
nix-flake
Use this when writing or editing a flake.nix. Covers flake-parts, perSystem, formatter, shell scripts, and package conventions.
nix-ci
Use this when setting up CI for a GitHub repository — offers GitHub Actions or Vira depending on the project
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
cargo-watch
Run cargo-watch in the background for continuous clippy feedback during code editing.
javascript-typescript
JavaScript and TypeScript development with ES6+, Node.js, React, and
typescript-ops
TypeScript type system, generics, utility types, strict mode, and ecosystem patterns. Use for: typescript, ts, type, generic, utility type, Partial, Pick, Omit, Record, Exclude, Extract, ReturnType, Parameters, keyof, typeof, infer, mapped type, conditional type, template literal type, discriminated union, type guard, type assertion, type narrowing, tsconfig, strict mode, declaration file, zod, valibot.