# Development Commands

> Commands for running apps, linting, testing, and building in the Trezor Suite monorepo. Use when you need to run, build, or check code quality.

- Skill: `trezor/development-commands` (Agent Skill)
- Install (CLI): `npx get-skill add trezor/development-commands`
- Raw SKILL.md: https://api.skillmd.com/api/skills/trezor/development-commands/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: trezor (https://skillmd.com/u/trezor)
- Updated: 2026-11-16
- Page: https://skillmd.com/skills/trezor/development-commands

---


# Development Commands

## Running Applications

```bash
yarn suite:dev             # Web app at http://localhost:8000
yarn suite:dev:desktop     # Desktop Electron app
yarn suite:dev:vite        # Development with Vite (faster hot reload)
```

## Code Quality

```bash
yarn format                # Prettier (via Nx) on files changed against origin/develop, plus uncommitted and untracked files
yarn lint:styles --no-tui  # Lint CSS styles (check logs only if exit status is not 0)
yarn lint:js:fix --no-tui  # Auto-fix linting issues (check logs only if exit status is not 0)
yarn type-check --no-tui   # TypeScript type checking (allow 15 minutes, check logs only if exit status is not 0)
yarn nx run @package-scope/package-name:type-check  # Package-level TypeScript integration check
```

For isolated changes, rely on IDE TypeScript diagnostics and focused tests, formatting, and linting; do not run a
type-check command. Batch changes and run `yarn nx run <package>:type-check` at most once near final validation, only for
integration risk or on request. It may check the full dependency graph and take minutes, so warn first. Never run
affected or repo-wide type-checks unless requested.

## Testing

```bash
yarn test:unit             # Run unit tests (allow 15 minutes, check logs only if exit status is not 0)
yarn workspace @package-scope/package-name test:unit  # Test specific package
```

## Build Commands

```bash
yarn build:libs            # Rebuild all libraries without Nx cache; rarely needed
yarn suite:build:web       # Production web build
```

