Skip to content

Latest commit

 

History

History
46 lines (39 loc) · 2.25 KB

README.md

File metadata and controls

46 lines (39 loc) · 2.25 KB

nextkit docs

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

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's defineLocaleRouting), 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-db design & 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.