Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Projects?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/jacobley-projects)
---
name: projects
description: Understanding the various projects/packages available
---
<!-- @generated-signature v1:b503d52cd01efbc92c2da7f0df095187 Generated by docs/scripts/populate-docs.mjs (nx run @leyman/docs:populate-docs). Edit only inside manual sections. -->
<!-- @manual-start intro -->
# Projects
A project is any directory with a `project.json`. Every project has a README.md. Almost all are TypeScript packages with a `package.json`. A `go.mod` makes a Go project (see [create-package](../create-package/SKILL.md#go-projects)), and a `Cargo.toml` a Rust one (see [Rust projects](../create-package/SKILL.md#rust-projects)): [`go`](../../../tools/constant-consistent-hash/go/) is only Go, and [`test-vectors`](../../../tools/constant-consistent-hash/test-vectors/) is both an npm package and a Go module.
- `tools/`: libraries consumed via `import`.
- `apps/`: CLIs, Nx plugins, and larger packages that are used other than by plain `import`.
- `leyman/`: the repo's own tooling: shared configs and global tools. Most are private; `@leyman/configs`, `@leyman/eslint-config`, `@leyman/expect` and `@leyman/nx-plugin` are published.
- `docs/`: the documentation site (private, never published). See its [README](../../../docs/README.md).
- `e2e/`: private, test-only packages that check several packages together, in ways no single package can (e.g. because depending on each other would be circular). See [create-package](../create-package/SKILL.md#e2e-packages).
- `infra/`: deployed, never-published infrastructure, e.g. the hosted Nx cache (`infra/nx-cache`: a Worker, and the OpenTofu configuration of its Cloudflare resources). See its [README](../../../infra/nx-cache/README.md).
- `demos/`: private, never-published worked examples of using open-source projects and services well (e.g. a cache on Valkey), tested against the real services. See [create-package](../create-package/SKILL.md#demo-packages).
## Packages
**The tables below are generated** by [`populate-docs.mjs`](../../../docs/scripts/populate-docs.mjs): a section per top-level folder, and each project's `package.json` `description` (which its README's subtitle repeats), or `metadata.description` in its `project.json` when it has no `package.json`. After adding, removing or describing a project, run `nx run @leyman/docs:populate-files`, which also updates the root README; CI fails when they're out of date. A new top-level folder needs a section in the script. Edit this file only inside its manual sections.
**When you remove a published package, add it to the top of [`DEPRECATED_PACKAGES.md`](../../../DEPRECATED_PACKAGES.md)**, linking its source at the last commit before the removal.
See each package's README.md for full usage documentation.
<!-- @manual-end intro -->
### Apps
| Project | Description |
| --------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`barrelify`](../../../apps/barrelify/) | Writes TypeScript barrel files (an index.ts that re-exports its directory) with import extensions that resolve under Node ESM, and checks in CI that they are up to date. |
| [`check-package`](../../../apps/check-package/) | Check an npm package as it would be published, running publint, Are The Types Wrong, a strict typecheck of its declarations, and checks of its Node.js support floor and published files. |
| [`drop-when`](../../../apps/drop-when/) | Marks each workaround with the upstream fix or date that ends it, and reports which ones can be dropped. (private) |
| [`genever`](../../../apps/genever/ts/) | Generate TypeScript types from JSON Schema files and OpenAPI documents, with strict schema checks and the same types Juniper infers. |
| [`genever-content-mapper`](../../../apps/genever-content-mapper/) | A TypeScript 7.1 content mapper that gives an imported OpenAPI document or JSON Schema file genever's types, without a generated file. (private, on `catalog:typescript-next`) |
| [`genever-go`](../../../apps/genever/go/) | Generate Go types from JSON Schema files and OpenAPI documents, with the same strict schema checks as genever. (private, Go) |
| [`genever-test-vectors`](../../../apps/genever/test-vectors/) | Schemas and sample values shared by every genever implementation: Juniper fixtures and schemas genever rejects, as TypeScript, and as JSON for the Go implementation. (private) |
| [`juniper`](../../../apps/juniper/) | A JSON Schema builder for TypeScript that infers each schema's type and catches schema mistakes at compile time, with JSON Schema 2020-12 and OpenAPI 3.0 output. |
| [`juniper-arbitrary`](../../../apps/juniper-arbitrary/) | fast-check arbitraries from Juniper schemas. |
| [`juniper-validator`](../../../apps/juniper-validator/) | StandardSchema-compliant validator for Juniper schemas. |
| [`load-populate-files`](../../../apps/populate-files/load-populate-files/) | Load and dynamically populate file content based on a single file's config. |
| [`nx-lifecycle`](../../../apps/nx-lifecycle/) | Nx plugin that derives every dependsOn from declared lifecycle stages (build, test, …) and the targets bound to them. |
| [`pg-dolly-schema`](../../../apps/pg-dolly-schema/) | Keep a schema.sql of what your Postgres migrations build, for any migration tool, and fail CI when the committed file is stale. |
| [`populate-files`](../../../apps/populate-files/ts/) | Populate static files with dynamic content, and make sure they stay in sync. |
| [`populate-files-go`](../../../apps/populate-files/go/) | Go implementation of populate-files, tested against the shared test vectors. (private, Go) |
| [`populate-files-test-vectors`](../../../apps/populate-files/test-vectors/) | Test vectors shared by every populate-files implementation. (private) |
| [`trusted-tsc`](../../../apps/trusted-tsc/) | Run TypeScript 7.1's tsc with only the content mappers you trust, each in Node's permission sandbox. (private, on `catalog:typescript-next`) |
| [`xenever`](../../../apps/xenever/) | Parse XML into typed objects, validated against a schema written in TypeScript or generated from an XSD. |
### Tools
| Project | Description |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`aws-emulator-launch`](../../../tools/aws-emulator-launch/ts/) | Starts AWS Emulator for tests, on a free port, and returns its endpoint, credentials and certificate authority. |
| [`aws-emulator-launch-go`](../../../tools/aws-emulator-launch/go/) | Starts AWS Emulator for tests from Go, on a free port, and returns its endpoint, credentials and certificate authority. (private, Go) |
| [`constant-consistent-hash`](../../../tools/constant-consistent-hash/ts/) | Stateless consistent hashing in constant time with no loops, which only moves keys into a newly added bucket. Specified so any language can return the same buckets. |
| [`constant-consistent-hash-go`](../../../tools/constant-consistent-hash/go/) | Go implementation of constant-consistent-hash, tested against the shared test vectors. (private, Go) |
| [`constant-consistent-hash-rust`](../../../tools/constant-consistent-hash/rust/) | Rust implementation of constant-consistent-hash, compiled to WASM for TypeScript, and tested against the shared test vectors. (private, Rust) |
| [`constant-consistent-hash-test-vectors`](../../../tools/constant-consistent-hash/test-vectors/) | Test vectors shared by every constant-consistent-hash implementation. (private, Go, Rust) |
| [`constant-consistent-hash-wasm`](../../../tools/constant-consistent-hash/wasm/) | constant-consistent-hash from TypeScript, through its Rust implementation compiled to WASM, on Node.js and in browsers. (private) |
| [`default-import`](../../../tools/default-import/) | Properly handle CJS default imports in ESM. |
| [`entry-script`](../../../tools/entry-script/) | Node.js scripts whose main() only runs when they are the entry point, so tests can import them without side effects. |
| [`enum-to-array`](../../../tools/enum-to-array/) | Convert TypeScript enums to a strongly typed array. |
| [`find-import`](../../../tools/find-import/) | Find and load the first matching JS/JSON file by searching parent directories. |
| [`format-file`](../../../tools/format-file/) | Format files and text with Biome or Prettier, whichever the project uses. |
| [`generated-signature`](../../../tools/generated-signature/ts/) | Sign generated files so hand edits are detected, while keeping manual sections editable. |
| [`generated-signature-go`](../../../tools/generated-signature/go/) | Go implementation of generated-signature, tested against the shared test vectors. (private, Go) |
| [`generated-signature-test-vectors`](../../../tools/generated-signature/test-vectors/) | Test vectors shared by every generated-signature implementation. (private) |
| [`haywire`](../../../tools/haywire/) | Dependency injection for TypeScript that checks the wiring at compile time, without decorators or reflect-metadata. |
| [`haywire-launcher`](../../../tools/haywire-launcher/) | Instantiate and execute your haywire-managed entry script in one line. |
| [`idempotency-keys`](../../../tools/idempotency-keys/ts/) | Server-side support for the Idempotency-Key header, so clients can safely retry a POST. Works across instances on a shared store, with Postgres, DynamoDB and Valkey built in. |
| [`idempotency-keys-go`](../../../tools/idempotency-keys/go/) | Server-side support for the Idempotency-Key header in Go, so clients can safely retry a POST. Works across instances, on Postgres, Valkey or DynamoDB. (private, Go) |
| [`idempotency-keys-test-vectors`](../../../tools/idempotency-keys/test-vectors/) | Test vectors shared by every idempotency-keys implementation. (private) |
| [`iso-crypto`](../../../tools/iso-crypto/) | Cryptography with one API in browsers and Node.js, over WebCrypto and node:crypto, for hashing, HMAC, AES encryption (including GCM), PBKDF2 and HKDF key derivation, and ECDH. |
| [`lease-cache`](../../../tools/lease-cache/) | A read-through cache for Valkey or Redis that shares one load per key across all your servers, and handles invalidating a key while it loads. |
| [`local-ingress`](../../../tools/local-ingress/) | One HTTPS reverse proxy per machine, shared by every repo, that serves each devcontainer at its own `https://<worktree>.<repo>.localhost` through Docker labels. (private) |
| [`mocha-chain`](../../../tools/test-chain/mocha-chain/) | Chain mocha BDD methods together for deterministic and type safe tests. |
| [`normalized-react-query`](../../../tools/normalized-react-query/) | Type-safe TanStack Query definitions that pair each key with its fetcher, and link related queries so they prefetch together. |
| [`oauth-dev-server`](../../../tools/oauth-dev-server/) | A local OAuth 2.1 authorization server for tests, built on oidc-provider with a dev login, that issues audience-bound JWT access tokens through the real flow. (private) |
| [`parse-cwd`](../../../tools/parse-cwd/) | Convert a relative path or URL to an absolute directory path. |
| [`pg-dolly`](../../../tools/pg-dolly/) | A fresh Postgres database for every test, cloned from a template built once from your schema's SQL. |
| [`punycode-esm`](../../../tools/punycode-esm/) | ESM and TypeScript port of the punycode.js library. |
| [`static-emitter`](../../../tools/static-emitter/) | Statically typed event emitter. |
| [`test-chain-core`](../../../tools/test-chain/test-chain-core/) | Framework-agnostic internals for chaining test hooks with typed context. |
| [`unknown-error`](../../../tools/unknown-error/) | Turn any caught `unknown` into a real Error without throwing, even for hostile values, other realms and deep or circular cause chains. |
| [`vitest-chain`](../../../tools/test-chain/vitest-chain/) | Chain vitest hooks together for deterministic and type safe tests. |
| [`weighted-rendezvous-hash`](../../../tools/constant-consistent-hash/weighted-rendezvous-hash/) | Weighted rendezvous hashing, where nodes can be added, removed or resized anywhere and each gets a share of keys in proportion to its size. |
### Leyman
| Project | Description |
| ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`configs`](../../../leyman/configs/) | Strict TypeScript, SWC, c8, Biome and Vitest configs for TypeScript ESM packages, with a tsconfig for each Node.js support floor. |
| [`eslint-config`](../../../leyman/eslint-config/) | An ESLint flat config for TypeScript ESM packages with nearly every rule on and a reason given for each exception, generated from each package's package.json. |
| [`expect`](../../../leyman/expect/) | Chai's expect and assert with chai-as-promised registered, as one ESM import, so async assertions work in any test file without setup. |
| [`framework`](../../../leyman/framework/) | Audits how much of the leyman framework a repository has adopted, tier by tier, with the fix for each gap. |
| [`main`](../../../leyman/main/) | Holds the repo's global tools and repo-wide scripts, without exposing them to every package. (private) |
| [`nx-plugin`](../../../leyman/nx-plugin/) | An Nx plugin that infers the build, test, lint and package-check targets of TypeScript ESM packages from their files, with each target hashing only what its result depends on. |
| [`vscode-tests`](../../../leyman/vscode-tests/) | Run and debug a single test from VS Code, with a play button next to each test and suite and in the Testing panel. (private) |
### Docs
| Project | Description |
| ------------------------ | -------------------------------------------------------------------------------------------------------------- |
| [`docs`](../../../docs/) | Documentation site for the packages in this repo, built with VitePress and deployed to GitHub Pages from main. |
### E2E
| Project | Description |
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`constant-consistent-hash-wasm-browser`](../../../e2e/constant-consistent-hash-wasm-browser/) | Checks that constant-consistent-hash's Rust implementation, compiled to WASM, bundles for a frontend and runs in real browsers. |
| [`eslint-config-schema`](../../../e2e/eslint-config-schema/) | Checks that eslint-config's hand-written package.json schema matches what juniper builds. |
| [`genever-comparison`](../../../e2e/genever-comparison/) | Runs genever and the top tools it is compared to through the same probes, for the report on the docs site. |
| [`genever-go-comparison`](../../../e2e/genever-go-comparison/) | Runs genever-go and the most used tools for generating Go types through the same probes, for the report on the docs site. (Go) |
| [`idempotency-keys-interop`](../../../e2e/idempotency-keys-interop/) | Drives a TypeScript server and a Go server on idempotency-keys against each other, on one store and notifier, and checks they serve one set of keys. |
| [`idempotency-keys-interop-go`](../../../e2e/idempotency-keys-interop-go/) | The Go server that e2e-idempotency-keys-interop runs, on the net/http middleware of idempotency-keys-go. (Go) |
| [`iso-crypto-browser`](../../../e2e/iso-crypto-browser/) | Checks that iso-crypto's browser build works in real browsers, with no Node.js APIs. |
| [`juniper-openapi`](../../../e2e/juniper-openapi/) | Builds an example users and posts OpenAPI spec with juniper, and checks it is valid OpenAPI 3.0 and 3.1. |
| [`normalized-react-query-ssr`](../../../e2e/normalized-react-query-ssr/) | Checks that normalized-react-query's preloading carries across a server render into client hydration. |
| [`published-entrypoints`](../../../e2e/published-entrypoints/) | Imports every entry point (each exports subpath) of every published package from the files it publishes, with only its runtime dependencies. |
| [`unknown-error-browser`](../../../e2e/unknown-error-browser/) | Checks that unknown-error runs in real browsers, with and without Error.isError. |
| [`unknown-error-comparison`](../../../e2e/unknown-error-comparison/) | Runs unknown-error and the libraries it is compared to through the same edge cases, to keep its comparison table accurate. |
| [`xenever-comparison`](../../../e2e/xenever-comparison/) | Runs xenever and the tools it is compared to through the same XML schemas and documents, for the report on the docs site. |
| [`xenever-oracle`](../../../e2e/xenever-oracle/) | Checks xenever against libxml2 (xmllint) and the W3C XML Schema and XML conformance test suites. |
### Demos
| Project | Description |
| ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`agents/cli`](../../../demos/agents/cli/) | A CLI for the notes API, made for agents as well as people, with one short command per task and login, tokens and errors handled inside. |
| [`agents/mcp`](../../../demos/agents/mcp/) | An MCP server that gives AI agents a few task-shaped tools over the notes API, and calls the API as the agent's user through OAuth token exchange. |
| [`blake3-go/go`](../../../demos/blake3-go/go/) | BLAKE3 from Rust through WASM, called from Go with wazero, and measured against BLAKE3 in Go. (Go) |
| [`blake3-go/rust`](../../../demos/blake3-go/rust/) | BLAKE3 from the blake3 crate, compiled to WASM with SIMD behind a C ABI, and embedded for Go. (Go, Rust) |
| [`blake3-wasm/rust`](../../../demos/blake3-wasm/rust/) | BLAKE3 from the blake3 crate, compiled to WASM with SIMD, for the BLAKE3 through WASM demo. (Rust) |
| [`blake3-wasm/typescript`](../../../demos/blake3-wasm/typescript/) | BLAKE3 from Rust through WASM with SIMD, on Node.js and in browsers, run blocking or in a worker, and measured against JavaScript to find where WASM pays off. |
| [`fetch-middleware`](../../../demos/fetch-middleware/) | Middleware around fetch, shared by the demos: each concern of sending a request (auth, retries, limits) is a plugin, with Ky as the sender. |
| [`local-ingress`](../../../demos/local-ingress/) | A Vite dev server behind tools/local-ingress, so each worktree is served at https://<worktree>.<repo>.localhost with hot reload through the proxy. |
| [`openapi/client`](../../../demos/openapi/client/) | A typed client for the OpenAPI demo's notes API, with types imported from the spec through a content mapper and routes read from openapi.json at runtime. (on `catalog:typescript-next`) |
| [`openapi/database`](../../../demos/openapi/database/) | The Postgres schema for the OpenAPI demo, with its Drizzle tables, the migrations that build them, and a schema.sql snapshot of the result for tests to clone. |
| [`openapi/go`](../../../demos/openapi/go/) | A Go client and server for the OpenAPI demo's notes API, from the same openapi.json as TypeScript: net/http, jsonschema validation, pgx, JWT or static tokens, and idempotency keys. (Go) |
| [`openapi/server`](../../../demos/openapi/server/) | The notes API for the OpenAPI demo, a Hono server on Postgres with Drizzle that validates every request and response against openapi.json, and checks bearer tokens (static tokens or JWTs) and their scopes. (on `catalog:typescript-next`) |
| [`openapi/spec`](../../../demos/openapi/spec/) | The OpenAPI document of the OpenAPI demo's notes API, built from Juniper schemas and published as openapi.json and notes.openapi.yaml. (Go) |
| [`outbox-relay`](../../../demos/outbox-relay/) | A transactional outbox on Postgres relayed to Amazon EventBridge: events committed with the business rows, claimed by lease with SKIP LOCKED, retried only when EventBridge says so, and woken by NOTIFY. |
| [`read-through-cache`](../../../demos/read-through-cache/) | A read-through cache on Valkey built from BentoCache and lease-cache, with a memory tier, stale-while-revalidate, one load per key across instances, and sharding with weighted rendezvous hashing. |
| [`sqs-job-queue`](../../../demos/sqs-job-queue/) | A job queue on SQS: retries by visibility timeout with a heartbeat for long jobs, a dead-letter queue and redrive, FIFO order per group, and duplicate deliveries skipped through idempotency-keys on DynamoDB. |
| [`webhook-receiver`](../../../demos/webhook-receiver/) | A Standard Webhooks receiver: signatures checked in constant time, a timestamp window against replays, duplicate deliveries dropped through idempotency-keys on DynamoDB, and the work sent to SQS behind a fast 202. |
### Infra
| Project | Description |
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| [`dagger-ci`](../../../dagger/) | The Dagger module that runs CI: formatted, linted and compiled by `verify`, exercised by every CI run. (Go) |
| [`nx-cache/tofu`](../../../infra/nx-cache/tofu/) | OpenTofu configuration for the hosted Nx cache's Cloudflare R2 bucket, its lifecycle rule, and the token CI deploys with. |
| [`nx-cache/worker`](../../../infra/nx-cache/worker/) | The hosted Nx remote cache, a Cloudflare Worker on R2 that anyone can read from and only CI on main can write to. |