원클릭으로
pr-codeowners
// Identify code owners for changed files and map them to Slack group handles. Use when the user asks who owns changed files, which teams to tag for review, or to find code owners for a PR.
// Identify code owners for changed files and map them to Slack group handles. Use when the user asks who owns changed files, which teams to tag for review, or to find code owners for a PR.
Create and update repo-local skills that follow the MetaMask Mobile standard. Use for new repo-local skills, skill entrypoints, or harness shims in this repository.
Add and fix Detox E2E tests (smoke and regression) for MetaMask Mobile using withFixtures, Page Objects, and tests/framework. Use when creating a new spec, fixing a failing E2E test, adding page objects and selectors, or adding MetaMetrics analytics expectations (analyticsExpectations).
Write, fix, and update component view tests (*.view.test.tsx) for MetaMask Mobile using the tests/component-view/ framework. Use when creating a new view test file, fixing a failing view test, updating tests after a component change, or creating a new renderer or preset for a view.
Create and review E2E performance tests that measure real user flows on real devices with TimerHelper and PerformanceTracker. Use when creating, editing, or reviewing performance tests, when the user mentions perf tests, timing measurements, performance thresholds, or files in tests/performance/.
Creates or removes a git worktree using the project scripts and shared config. Use when the user asks to create a worktree, add a worktree, remove a worktree, delete a worktree, or work on a parallel branch in a separate directory.
Generate a CHANGELOG entry line for a pull request from code changes. Use when the user asks to write a changelog entry, fill the changelog section of a PR, or determine if changes are user-facing.
| name | pr-codeowners |
| description | Identify code owners for changed files and map them to Slack group handles. Use when the user asks who owns changed files, which teams to tag for review, or to find code owners for a PR. |
Get changed files:
git diff --name-only main...HEAD
Read .github/CODEOWNERS and match each changed file against the patterns to collect unique @MetaMask/<team> owners
Map each owner to a Slack group handle using the lookup table below
If an owner is not in the table, fall back to @metamask-mobile-platform and warn the user about the unmapped team
| CODEOWNERS team | Slack group handle |
|---|---|
| perps | mm-perps-engineering-team |
| confirmations | metamask-confirmations-team |
| metamask-earn | earn-dev-team |
| mobile-core-ux | mobile-core-ux |
| accounts-engineers | accounts-team-devs |
| swaps-engineers | swaps-engineers |
| metamask-assets | assets-dev-team |
| card | card-dev-team |
| notifications | notifications-dev-team |
| mobile-platform | metamask-mobile-platform |
| web3auth | onboarding-dev |
| wallet-integrations | wallet-integrations-team |
| wallet-api-platform | wallet-integrations-team |
| ramp | ramp-team |
| predict | predict-team |
| rewards | rewards-team |
| design-system-engineers | metamask-design-system-team |
| core-platform | core-platform-team |
| supply-chain | mm-supply-chain-reviewers |
| mobile-admins | metamask-mobile-platform |
| transactions | mm-transactions-stx-core-dev |
| delegation | delegators |
| qa | metamask-qa-team |
List of unique { team, slackHandle } pairs for all code owners of the changed files.