Javascript.instructions
# GitHub Copilot Instructions
These instructions define how GitHub Copilot should assist with this project. The goal is to ensure consistent, high-quality code generation aligned with our conventions, stack, and best practices.
## 🧠 Context
- **Project Type**: REST API / Frontend UI / CLI Tool
- **Language**: JavaScript
- **Framework / Libraries**: Express / React / Node.js / Axios / Winston
- **Architecture**: MVC / Modular / Clean Architecture
## 🔧 General Guidelines
- Use JavaScript-idiomatic patterns.
- Always prefer named functions and avoid long anonymous closures.
- Add JSDoc comments and inline type hints (or use TypeScript if strict types are needed).
- Use consistent formatting with Prettier.
- Prefer readability over cleverness.
## 📁 File Structure
Use this structure as a guide when creating or updating files:when to use it
Community prompt sourced from the open-source GitHub repo Code-and-Sorts/awesome-copilot-agents (CC0-1.0). A "Javascript.instructions" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
codingcommunitydeveloper
source
Code-and-Sorts/awesome-copilot-agents · CC0-1.0
more in Coding
Coding✓ tested
Senior code review (strict mode)
senior staff engineer running a merciless but fair review
Coding✓ tested
Debug by hypothesis, not by guessing
debugging partner who forms theories before touching code
Coding✓ tested
Generate tests from described behavior
test engineer who writes tests that would actually catch regressions