Developer-facing documentation, written by and for AI agents (and humans).
Per-package usage docs live in each package's own packages/*/README.md
(linked from the root README table); the docs here carry the
cross-cutting conventions and the design/decision records.
Foundations
- philosophy.md — the "why". Read this first.
- architecture.md — repo layout, packages, how consumption works.
- ai-docs-convention.md — the
docs/pattern itself.
Working here
- code-style.md — house code-quality rules.
- testing.md — testing stack and conventions.
- transactional-email.md — conventions for transactional email: registry templates, from-address local parts, the dev/unconfigured fallback, send history vs. previews, and imports.
- i18n-routing.md — how a locale is encoded in a URL
(
@ingram-tech/nk-i18n'sdefineLocaleRouting), the fixed precedence chain that decides a request's locale, why canonicals follow the address rather than the rendered language, and the nk-seo check that proves a site serves the hreflang cluster it advertises. - forms.md — the public contact/signup submission pipeline
(
@ingram-tech/nk-forms): the bot gate, validation, escaped notifications, and when to call the bot layers directly instead of the pipeline. - creating-a-package.md — checklist for new packages.
- releasing.md — versioning + npm Trusted Publishing flow.
Adopting & packages
- adopting-nextkit.md — migrating a site onto nextkit.
- db-package.md —
@ingram-tech/nk-dbdesign & decision record: the shared Postgres pool, RLS, migrations, and the PGlite dev/test harness. - marketing.md —
@ingram-tech/nk-marketing: contacts + consent, newsletter broadcasts, and idempotent lifecycle/triggered email. - blog.md —
@ingram-tech/nk-blog: frontmatter-indexed posts, limited-MDX rendering, the component vocabulary, GitHub publish, migration recipe.