Copilot Instruction: Nodejs Javascript Vitest
Copilot Instruction: Nodejs Javascript Vitest is a verified IDE_RULE blueprint on Promptally in Cross-Agent Directives optimized for leading AI models. Copilot_Instruction specification for Copilot Instruction: Nodejs Javascript Vitest. Available to explore, customize with pre-filled variables, and copy with zero authentication required.
Technical Specifications
| Specification | Value |
|---|---|
| Artifact type | IDE RULE (Cross-Agent Directives) |
| Compatible engines | Universal / Model Agnostic |
| Input variables | None (pre-filled) |
| Approximate tokens | 357 |
| Source file | AGENTS.md |
| Access tier | Free public (MIT) |
Pre-Filled Template
--- 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 use `undefined` for 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
How to use this ide rule
- Review the pre-filled example and source files above.
- Copy the template or download
AGENTS.md, then use it in your model, IDE, or workflow tool. - Compare your result with the sample output when one is provided.
Frequently Asked Questions
How do I use Copilot Instruction: Nodejs Javascript Vitest?
Open the ide rule on Promptally, review the pre-filled example, then copy the template or download AGENTS.md and paste it into your model, IDE or workflow tool. Copilot Instruction: Nodejs Javascript Vitest is a static blueprint with no dynamic variables. Copy it and use it as-is.
Is Copilot Instruction: Nodejs Javascript Vitest free?
Yes. Copilot Instruction: Nodejs Javascript Vitest is free to view, copy and download on Promptally without creating an account. It is published under the MIT license.
What variables does Copilot Instruction: Nodejs Javascript Vitest need?
Copilot Instruction: Nodejs Javascript Vitest is a static blueprint with no dynamic variables. Copy it and use it as-is.