home/coding/javascript-instructions

Javascript.instructions

GPTClaudeDeepSeek··1,261 copies·updated 2026-07-14
javascript-instructions.prompt
# 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