MetaMask / MetaMask/metamask-mobile

Add deeplink example and Cursor rule

Open
#23,987 0 comments 0 reactions 1 assignee Claimed by @smilingkylan View on GitHub
team-mobile-platform
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

### What is this about?

Here's some context on cursor rules
Cursor rules are placed in .cursor/rules directory with .mdc file extension
YML metadata on top that includes description, globs (applied when working with files that match the pattern), and when it should be applied alwaysApply (whether to apply automatically in chats)
Content markdown, which includes the actual guidelines, best practices, examples, etc
Other things to consider to optimize rule sets
Include DOs and DONTs
Specify what's mandatory and what's not
Reference docs when necessary
Reduce noise if possible
Usage
Rules with alwaysApply will always be applied when prompting
Rules with matching globs will auto apply when working with files that match the patterns
Otherwise, manually reference rule sets that have alwaysApply set to false

### Scenario

_No response_

### Design

_No response_

### Technical Details

_No response_

### Threat Modeling Framework

_No response_

### Acceptance Criteria

_No response_

### Stakeholder review needed before the work gets merged

- [ ] Engineering (needed in most cases)
- [ ] Design
- [ ] Product
- [ ] QA (automation tests are required to pass before merging PRs but not all changes are covered by automation tests - please review if QA is needed beyond automation tests)
- [ ] Security
- [ ] Legal
- [ ] Marketing
- [ ] Management (please specify)
- [ ] Other (please specify)

### References

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.