一键导入
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.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Commands for running apps, linting, testing, and building in the Trezor Suite monorepo. Use when you need to run, build, or check code quality.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
publishConfig rules for public npm packages in the Trezor Suite monorepo. Use when adding or editing publishConfig, exports, or preparing a package for npm publishing.
How to create and structure packages in the Trezor Suite monorepo, including scopes and sizing guidance. Use when creating new packages or resolving cyclic dependencies.
Use when writing component or hook tests in suite-native and need to choose between renderWithBasicProvider, renderWithStoreProvider, or store helpers like createStoreFromPreloadedState, createLightStore, or mergePreloadedState.
Generated code must be aligned with security headers (e.g. no unsave JS eval). The permissions policy is especially relevant when changing any code related with the `navigator` object.
Trigger on any mention of Trezor wallet interaction, crypto addresses, sending crypto, checking balances, signing messages, or hardware wallet operations via MCP. Also trigger when users mention configuring or troubleshooting the Trezor MCP server connection.
How to create and implement IndexedDB storage migrations in the Trezor Suite web app. Use when writing migrations that transform persisted data between Suite versions.
| name | development-commands |
| description | Commands for running apps, linting, testing, and building in the Trezor Suite monorepo. Use when you need to run, build, or check code quality. |
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)
yarn format # Format code with Prettier
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 # TypeScript check of specific package (allow 10 minutes)
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
yarn build:libs # Build all libraries (required after dependency changes)
yarn suite:build:web # Production web build