toolchain-commands
Toolchain, commands, and CI
When to use: Installing dependencies, running dev/build/test/lint, filtering packages, single-test runs, git hooks, preparing a clone (.env.development / .env.test), or Docker-backed local services and dev servers.
Stack (summary)
- Runtime: Node.js
25viamise.toml(alsoenginesin rootpackage.json). Usemise install/mise execso Vitest andUint8Array.fromHex/toHexmatch production; Node 22 lacks those APIs and will fail tests that touch@repo/utilscrypto helpers. - Package manager:
package.jsonpackageManagerfield (e.g. pnpm). Install deps:pnpm install - Task runner:
turbovia root scripts - Lint/format: Biome (
@biomejs/biome1.9.x) - TypeScript: 6.0.x + TypeScript 7 beta (
@typescript/native-preview) for typechecking.pnpm typecheckrunstsgo(the native preview binary) — never invoketscdirectly in scripts or docs. - Bundler:
tsdown(replaces the deprecatedtsup). App builds and library DTS emission run undertsdown. - Tests: Vitest 3.x
- Core logic: Effect TS primitives
- Postgres ORM: Drizzle
- API/ingest boundaries: Hono
- Web app: TanStack Start + React
Top-level commands (repo root)
More from latitude-dev/latitude-llm
gh-issue
Create clear, actionable GitHub issues for bugs, features, and improvements. Issues are primarily consumed by LLMs, so optimize for agent readability and actionability.
4testing
Writing or debugging tests, choosing unit vs integration style, Postgres/ClickHouse tests, regenerating ClickHouse test schema, or exporting test helpers from packages without pulling test code into production bundles.
4docs
Review the current conversation context and git changes, then persist durable repository knowledge into `dev-docs/*.md` by domain and into `AGENTS.md` for cross-cutting repo rules. Use after features, fixes, refactors, architecture changes, schema changes, or when the user mentions docs, documentation, design, architecture, business logic, conventions, or `AGENTS.md`.
4create-pr
Patterns and conventions for creating a good PR
4authentication
Sessions, sign-in/sign-up flows, OAuth, magic links, or organization context on the session.
4analyze-problem
>-
4