Notes

Short technical notes grouped by domain for fast reference.

Frontend

Streaming UI patterns in App Router

Use progressive loading boundaries for content-heavy research pages.

Accessible interaction checklist

Audit focus states, keyboard navigation, and semantic landmarks.

Backend

Structured API error envelopes

Keep machine-parseable error codes for assistant and tool endpoints.

Token budget instrumentation

Track prompt/response token usage to optimize model cost and latency.

Frameworks

next-intl route ownership

Maintain locale-aware links through centralized navigation helpers.

MDX authoring conventions

Use stable frontmatter keys to simplify SEO and content tooling.

Dev tools

CLI-first debugging loop

Capture reproducible diagnostics before patching behavior changes.

Automated regression snapshots

Use baseline screenshots and logs to catch subtle UI regressions.