Navigated to /docs/cli/develop-and-inspect

Develop and inspect

Run the correct development mode and ask the CLI for route, project, diagnostic, and entity information instead of guessing.

Choose CSR or SSR development

Use the standard dev command for fast client iteration. Add SSR when working on loaders, actions, sessions, server middleware, hydration, or request-time metadata.

BASH
bashnpx tavo dev
npx tavo dev --ssr

Inspect the project at the right level

  • routes shows URL patterns, source files, layouts, and route parameters.

  • inventory lists pages, components, stores, actions, CSS, exports, and imports.

  • info summarizes framework and project configuration.

  • doctor reports project-shape problems without running a production build.

  • check adds lightweight validation and the local typecheck script when available.

BASH
bashnpx tavo routes
npx tavo inventory --json
npx tavo doctor
npx tavo check

Inspect one entity before changing it

inspect returns focused information for a route, component, store, file, or public API. JSON output includes imports, parse status, and a content hash that automated change plans can use as a stale-write guard.

BASH
bashnpx tavo inspect route /dashboard --json
npx tavo inspect component ProjectCard --json
npx tavo inspect api defineRoutePage --json