docs(testing): CV-default Mobile testing layers - #70
Merged
Conversation
Add shared testing-layers policy and align Mobile coding, PR, unit, and CV skills so agents prefer *.view.test.tsx and use unit tests as fallback. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: João Tavares <joao.tavares@consensys.net>
Contributor
Author
|
Thanks for the linked resources in the PR description suggestion @cryptotavares! |
racitores
enabled auto-merge (squash)
July 22, 2026 13:31
pnarayanaswamy
approved these changes
Jul 22, 2026
racitores
added a commit
that referenced
this pull request
Jul 27, 2026
Extend the CV-default guidance from #70 across coding, PR-workflow, and perps review skills so app-to-controller flows are steered to the integration layer under the best-fit-layer model. Co-authored-by: Cursor <cursoragent@cursor.com>
MajorLift
added a commit
to MajorLift/metamask-skills
that referenced
this pull request
Jul 30, 2026
CHANGELOG.md tracks consumer-facing changes to the `@metamask/skills` package, per CONTRIBUTING's "CLI / tooling changes" section. No merged skill-only PR adds an entry (MetaMask#80, MetaMask#78, MetaMask#70, MetaMask#62, MetaMask#61 all touch zero changelog lines). Carrying one here bought nothing and was the sole source of this branch's conflict with `main`, since every skill PR edits the same `[Unreleased]` block. Restoring the file to its merge-base state makes the branch conflict-free without a merge commit.
MajorLift
added a commit
to MajorLift/metamask-skills
that referenced
this pull request
Jul 30, 2026
CHANGELOG.md tracks consumer-facing changes to the `@metamask/skills` package, per CONTRIBUTING's "CLI / tooling changes" section. No merged skill-only PR adds an entry (MetaMask#80, MetaMask#78, MetaMask#70, MetaMask#62, MetaMask#61 all touch zero changelog lines). It was also the sole source of this branch's conflict with `main`, since every skill PR edits the same `[Unreleased]` block.
MajorLift
added a commit
to MajorLift/metamask-skills
that referenced
this pull request
Jul 30, 2026
CHANGELOG.md tracks consumer-facing changes to the `@metamask/skills` package, per CONTRIBUTING's "CLI / tooling changes" section. No merged skill-only PR adds an entry (MetaMask#80, MetaMask#78, MetaMask#70, MetaMask#62, MetaMask#61 all touch zero changelog lines). It was also the sole source of this branch's conflict with `main`, since every skill PR edits the same `[Unreleased]` block.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Make component-view the default MetaMask Mobile test layer for screen/view UI behavior, with unit as a focused fallback and e2e for device journeys.
domains/testing/knowledge/testing-layers.md(installed beside testing skills)coding-guidelines,unit-testing,component-view-test,pr-guidelines, andpr-readiness-checkperps-review-prat the shared layers policy (keep Perps-specific path enforcement)e2e-testskill migration is out of scopeSome more context about the reason:
https://kentcdodds.com/blog/the-testing-trophy-and-testing-classifications (creator of testing-library)
https://x.com/swyx/status/1261202288476971008
Type of Change
Skill Details (if adding a new skill)
Provider Name:
Skill Name:
Brief Description:
Checklist
Testing
domains/testing/knowledge/beside testing-domain skills (copy_domain_knowledge)Additional Context
Mobile-only. Extension overlays unchanged. The detailed Detox→Appium rewrite of
e2e-testremains a follow-up.Made with Cursor