# Common Tasks

> Common Tasks is an Agent Skill for development published in the trezor/trezor-suite repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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

- Skill name: `common-tasks`
- Category: [Development](https://www.openparable.com/skill/development/1)
- Source: https://github.com/trezor/trezor-suite/blob/HEAD/skills/common-tasks/SKILL.md
- Repository: trezor/trezor-suite (1,020 GitHub stars when collected)

## SKILL.md

# Common Tasks

## Managing Dependencies

```bash
yarn workspace @trezor/package-name add dependency-name
yarn build:libs  # Rebuild after dependency changes
```

## Package Management

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

## Troubleshooting

```bash
# 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
```

---

Source: https://www.openparable.com/skill/development/common-tasks (OpenParable). Cite the canonical URL above.
