Reviewed by 20X · No signed release verified
- Works with (as stated by the author)
- GitHub Copilot
Review details
- Human review
- Review recorded for these files
- Limited checks
- Limited checks recorded (v2.1.0)
- Source
- Source not verified
A verified signature checks published file bytes against a trusted publisher’s signed manifest. It does not verify safety, authorship, rights or assistant use.
Declarations and limited checks do not guarantee safety or sharing rights. Review the files before use. Access that the author has not stated is unknown.
How to use it
- 1Save the file in your repository under .github/instructions/.
- 2Check the applyTo pattern at the top of the file and narrow it to the files it should cover.
- 3Commit the file so everyone using GitHub Copilot in the repository gets the same guidance.
Community results
0 reportsNo one has shared a result yet.
1 file. Filenames and raw files are in Technical details.
description: "Guidelines for writing Node.js and JavaScript code with Vitest testing" applyTo: '**/.js, **/.mjs, **/*.cjs'
Code Generation Guidelines
Coding standards
- Use JavaScript with ES2022 features and Node.js (20+) ESM modules
- Use Node.js built-in modules and avoid external dependencies where possible
- Ask the user if you require any additional dependencies before adding them
- Always use async/await for asynchronous code, and use 'node:util' promisify function to avoid callbacks
- Keep the code simple and maintainable
- Use descriptive variable and function names
- Do not add comments unless absolutely necessary, the code should be self-explanatory
- Never use
null, always useundefinedfor optional values - Prefer functions over classes
Testing
- Use Vitest for testing
- Write tests for all new features and bug fixes
- Ensure tests cover edge cases and error handling
- NEVER change the original code to make it easier to test, instead, write tests that cover the original code as it is
Documentation
- When adding new features or making significant changes, update the README.md file where necessary
User interactions
- Ask questions if you are unsure about the implementation details, design choices, or need clarification on the requirements
- Always answer in the same language as the question, but use english for the generated content like code, comments or docs
Latest changes
Initial reviewed release.
Version history
v1.0.0
Initial reviewed release.
File access pausedFile verification
- File integrity
No signed release verified for this version.
This checks published bytes, not safety, authorship, rights or assistant use.
Full compatibility
As stated by the author: GitHub Copilot
Included files
1 filenodejs-javascript-vitest.instructions.md
markdownPublic file access is temporarily paused.
Use in your own tool
Save this resource and connect your assistant in the Use with flow before copying a test request.
Related resources
Vue.js Guidelines
Vue 3 guidance: Composition API, components, state, performance, and testing.
GitHub Copilot, VS Code
- Rating
- Not rated
- Recorded downloads in the past 90 days
- 0
- Updated
- Nov 11
Power BI Report Design
Report design guidance: layout, visuals, accessibility, and storytelling in Power BI.
GitHub Copilot, VS Code
- Rating
- Not rated
- Recorded downloads in the past 90 days
- 0
- Updated
- Nov 11
Devil's Advocate Mode
A Copilot custom agent that stress-tests ideas by finding flaws, risks, and edge cases.
GitHub Copilot
- Rating
- Not rated
- Recorded downloads in the past 90 days
- 0
- Updated
- Nov 11