Test style guidelines including naming conventions, mock organization, translation handling, and file structure. Use when writing or organizing tests in the Trezor Suite codebase.
Redux Toolkit patterns including slices, selectors, thunks, and middleware conventions for Trezor Suite. Use when writing or reviewing Redux state management code.
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.
Dependency Injection pattern for service definitions, factories, and composition roots. Use when working with packages that use the DI pattern.
Known issues and their solutions in the Trezor Suite monorepo. Use when encountering build failures, test failures, or environment problems.
Commands for running apps, linting, testing, and building in the Trezor Suite monorepo. Use when you need to run, build, or check code quality.
React component file structure and patterns for Trezor Suite. Use when creating or reviewing React components, including prop passing and component organization.
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.