Create a copilot-instructions.md in the template
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- react-native
- Domain
- documentation, mobile
Research direction
Inspect the files generated by npx react-native init MyApp and identify the template root. Add the requested copilot-instructions.md there using the supplied React Native guidance, then verify that a newly generated app includes the file.
Written by the indexing model from the issue text.
Description
When running "npx react-native init MyApp"
It would be nice to have a copilot-instructions.md like so?
# Copilot Instructions
This project was generated with [React Native](https://reactnative.dev).
To get the most out of GitHub Copilot (or other AI coding assistants) while working on this codebase:
## General Guidance
- **Keep prompts specific.** Mention whether you’re targeting iOS, Android, or both when asking for help.
- **Reference APIs.** Copilot responds better if you include the React Native API name (e.g. `FlatList`, `useColorScheme`, `StyleSheet`).
- **Ask iteratively.** Start with small, scoped requests (e.g. *“generate a button component with onPress logging”*), then refine.
## Common Use Cases
- **UI Components**
Ask Copilot to scaffold screens, navigation stacks, or UI elements.
Example: *“Generate a login screen using React Navigation with two TextInput fields and a button.”*
- **Platform-Specific Code**
Specify iOS or Android if you need native modules, permissions, or configuration.
Example: *“Show me how to request camera permission on Android using React Native.”*
- **Testing**
Copilot can generate Jest/React Native Testing Library test cases.
Example: *“Write a test for a Button component that ensures onPress is called.”*
## Best Practices
- **Review suggestions carefully.** Copilot may propose outdated APIs—always verify against the [React Native docs](https://reactnative.dev/docs).
- **Keep context short.** Too much boilerplate in your prompt may confuse the assistant.
- **Use version awareness.** If you upgrade React Native, check that Copilot suggestions match the new APIs.
---
Happy coding with React Native 🚀
- Dominant language
- JavaScript
- Stars
- 242
- Forks
- 85
- Avg merge
- 5d 23m
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from react-native-community/template
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
react-native-community/template#206 · 1 comment ·
-
react-native-community/template#245 · 2 comments · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
react-native-community/template#41 · 5 comments · 1 reaction ·
-
help wanted
Difficulty 3/5 1-2 days Newbie friendliness 25/100
react-native-community/template#4 · 1 comment · 3 reactions ·
All issues in react-native-community/template
Similar issues
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Add: BuyPass TV Openchannels:add check:passed
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
S: triage
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100