all publishers

trezor

@trezor source repo

35 published skills

  1. ▌
    Performance Scheduling · trezor
    Deferring non-essential work with requestIdleCallback. Use when a startup path blocks interaction, or when scheduling analytics, prefetch or other background work.
    1 install
  2. ▌
    Page Objects · trezor
    Page object structure and patterns for Suite E2E tests: naming suffixes, composition, @step decorators, fixture registration. Use when building locators or actions for test scenarios.
    2 installs
  3. ▌
    Performance React Hooks · trezor
    React render performance for Trezor Suite — memoization under React Compiler, referentially stable hook dependencies, minimal dependency arrays, and telling a wasted memo from a render loop. Use when adding useMemo, useCallback or memo, when writing a dependency array, or when a component re-renders or refetches more than it should.
    3 installs
  4. ▌
    Performance Code Splitting · trezor
    Code splitting for Trezor Suite web and desktop — what belongs behind `import()` or `React.lazy`, where the boundary goes, how a failed chunk load and its retry behave, and the production-build measurement that proves a split. Use when adding a dependency or a feature that not every user opens, when writing `import()` or `React.lazy`, or when checking how a change affects bundle size.
    1 install
  5. ▌
    Analytics And Sentry Privacy · trezor
    Rules for keeping confidential data out of analytics events and Sentry reports (incl. `console.error`, tags, extras and breadcrumbs). Use when adding or changing an analytics event or its payload, or any code that reports to Sentry.
    1 install
  6. ▌
    Agentic Test Creation · trezor
    Discovery-first workflow for writing a new Playwright e2e test from a user story, feature description or bug report. Use before writing any new Suite E2E test.
    1 install
  7. ▌
    Skills And Code Style Contribution · trezor
    How to contribute to the Trezor Suite code style guide, including issue proposals and pull request workflows. Use when proposing code style changes.
    1 install
  8. ▌
    Trezor MCP · trezor bundle
    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.
    0 installs
  9. ▌
    Typescript · trezor
    TypeScript-specific conventions including ts-expect-error usage, unknown vs any, typed helpers instead of `as` casts on native API results, const assertions, and type vs interface preferences. Use when writing TypeScript code.
    1 install
  10. ▌
    Basic Syntax · trezor
    If-else formatting, spacing, function parameters, and conditional rendering rules for the Trezor Suite codebase. Use when writing or reviewing TypeScript/React code.
    1 install
  11. ▌
    Common Tasks · trezor
    Dependency management, package creation, and troubleshooting commands for the Trezor Suite monorepo. Use when managing dependencies or debugging build issues.
    3 installs
  12. ▌
    Tests Common · trezor
    TDD practices and test utilities for suite-common packages, including Red-Green-Refactor workflow and @suite-common/test-utils usage. Use when writing tests for suite-common packages.
    1 install
  13. ▌
    Tests Native · trezor
    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.
    1 install
  14. ▌
    Github Issues · trezor
    How to file a GitHub issue on trezor-suite. Short bug and feature bodies, issue types, live labels, and Suite project fields. Use when the user explicitly asks to create a GitHub issue.
    1 install
  15. ▌
    Import Export · trezor
    Named export conventions and barrel file usage rules for the Trezor Suite codebase. Use when writing imports, exports, or deciding on module structure.
    1 install
  16. ▌
    Idb Migrations · trezor
    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.
    1 install
  17. ▌
    Publish Config · trezor
    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.
    1 install
  18. ▌
    Performance Dom · trezor
    Browser rendering performance for Trezor Suite — forced synchronous layout from geometry reads, observer APIs instead of measuring an element, and transitioning only compositor properties. Use when measuring, scrolling or animating a DOM element, or when writing a CSS transition. Web and desktop only.
    1 install
  19. ▌
    Security Headers · trezor
    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.
    1 install
  20. ▌
    Project Structure · trezor
    Overview of the Trezor Suite monorepo structure and key directories. Use when navigating the codebase or deciding where to place new code.
    1 install
  21. ▌
    Retries · trezor
    Await and retry strategy for Suite E2E tests: Playwright auto-waiting, expect polling, Redux waits, flakiness prevention. Use every time a test is flaky due to timing.
    1 install
  22. ▌
    Tagging · trezor
    Test tagging and Playwright project selection for Suite E2E tests: device model, platform and execution scope tags. Use when writing or editing tests to control where they run.
    0 installs
  23. ▌
    Locators · trezor
    Locator strategy for Suite E2E tests: reuse page objects, getByTestId convention, parameterization, naming rules. Use every time you need to find an element on the page.
    0 installs
  24. ▌
    Dependency Injection · trezor
    Dependency Injection pattern for service definitions, factories, and composition roots. Use when working with packages that use the DI pattern.
    3 installs
  25. ▌
    Development Commands · trezor
    Commands for running apps, linting, testing, and building in the Trezor Suite monorepo. Use when you need to run, build, or check code quality.
    1 install
  26. ▌
    Assertions · trezor
    Assertion rules for Suite E2E tests: custom matchers, translation validation, display assertions. Use every time you write an expect() call or wait for a condition.
    1 install
  27. ▌
    Defensive Programming · trezor
    Type safety practices including exhaustive checks, explicit return types, Result-based error handling, and non-mutating array methods. Use when writing TypeScript logic that handles multiple cases or error conditions, or when sorting, reversing, splicing, or replacing an element (indexed assignment) in an array you did not create.
    1 install
  28. ▌
    Performance Complexity · trezor
    Collection-handling performance for Trezor Suite — indexing before iteration, O(1) sort comparators, and reduce accumulators that don't allocate. Use when writing a loop, sort or reduce over accounts, tokens, transactions or UTXOs.
    1 install
  29. ▌
    Redux · trezor
    Redux Toolkit patterns including slices, selectors, thunks, and middleware conventions for Trezor Suite. Use when writing or reviewing Redux state management code.
    3 installs
  30. ▌
    Naming · trezor
    Naming conventions for variables, functions, booleans, components, and domain-specific terms in Trezor Suite. Use when naming anything in the codebase.
    1 install
  31. ▌
    Comments · trezor
    Comment conventions for Trezor Suite — prefer self-documenting code, and how to write and format a comment when one is actually needed. Use when writing or reviewing code comments.
    1 install
  32. ▌
    Packages · trezor
    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.
    1 install
  33. ▌
    QA Notes · trezor
    How to write the Notes for QA section of a Trezor Suite pull request. Use when creating or editing a pull request description.
    1 install
  34. ▌
    Pr Review · trezor bundle
    Review pull requests using the GitHub CLI with agent and model attribution on every comment; never approve or merge.
    0 installs
  35. ▌
    Components · trezor
    React component file structure and patterns for Trezor Suite. Use when creating, refactoring or reviewing React components, including prop passing, component organization and directory layout.
    1 install