Common Tasks

SkillProductivity

Dependency management, package creation, and troubleshooting commands for the Trezor Suite monorepo. Use when managing dependencies or debugging build issues.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Common Tasks skill

What this skill tells your AI

The instructions your AI receives, as published by trezor/trezor-suite in skills/common-tasks/SKILL.md and read by ahel’s review.

Managing npm dependencies via yarn

Prefer existing dependencies. Add a new npm dependency only when no suitable dependency is already available in the repo.

yarn workspace @trezor/package-name add dependency-name

After adding or updating a dependency, run:

yarn dedupe
yarn requirements:verify

Review all changes made by yarn dedupe before keeping them. Do not bypass .yarnrc.yml npmMinimalAgeGate. If a blocked version is required to fix a bug, add a targeted exception to npmPreapprovedPackages.

Monorepo Package Management

yarn generate-package      # Create new package
yarn update-submodules     # Update trezor-common submodule

Troubleshooting

# Reset environment if builds fail
rm -rf node_modules .yarn/cache
yarn --mode=skip-build
yarn build:essential

# Clear NX cache
yarn nx reset

# Restart development server
pkill -f "webpack-dev-server"
yarn suite:dev

Signals

GitHub stars
1k
Forks
375
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
common-tasks
Source
github.com/trezor/trezor-suite