All skills are mandatory reading before making changes.
- Basic Syntax – If-else, ternaries, and other syntax rules
- Code Style Guide – How to contribute code style proposals
- Comments – Comment formatting conventions
- Common Issues – Known issues and their solutions
- Components – React component file structure and patterns
- Common Tasks – Dependency management, package creation, and troubleshooting
- Defensive Programming – Exhaustive checks and safe defaults
- Development Commands – Running apps, linting, testing, and building
- Git and Commit Guidelines – Conventional Commits format and best practices
- Import/Export – Named exports and import ordering
- Naming – Naming conventions for variables, functions, and files
- Packages – How to create and structure packages
- Project Overview – What Trezor Suite is and how the monorepo is organized
- Publish Config – publishConfig rules for public npm packages
- Redux – Redux Toolkit patterns and best practices
- Setup Requirements – Prerequisites and initial environment setup
- Tests – Test style guidelines and best practices
- Tests Commands – Running tests and test-related guidelines
- Tests Common – TDD practices for suite-common packages
- Tests Native – TDD practices for suite-native packages
- TypeScript – TypeScript-specific conventions
- Build times: Initial setup takes 15-20 minutes; builds can take 10-15 minutes
- Windows: Use Git Bash instead of cmd/PowerShell; consider WSL for better performance
- Testing: Some tests may time out in CI environments without network access
- Hardware wallets: Use trezor/trezor-user-env emulator for development