Skip to content

Instantly share code, notes, and snippets.

View RabbitHol3's full-sized avatar
🎯
Focusing

RlckLma RabbitHol3

🎯
Focusing
  • Wonderland
View GitHub Profile
@RabbitHol3
RabbitHol3 / gist:ebcada5b98e275f408a290aadd19e250
Created February 5, 2026 16:29 — forked from marceloglacial/gist:225498005299493be4b8712e5c97a3e2
GitHub Copilot Instructions for React and Next.js Projects
# GitHub Copilot Instructions for React and Next.js Projects
This file provides guidelines for GitHub Copilot to ensure consistent, clean, and performant code generation for React and Next.js applications.
## General Principles
- **Clean Code:** Prioritize **readability, maintainability, and reusability**.
- **Conciseness:** Aim for concise and expressive code.
- **Descriptive Naming:** Use clear and descriptive names for variables, functions, components, and files (e.g., `getUserProfile`, `ProductCard`, `useAuth`).
- **DRY (Don't Repeat Yourself):** Extract reusable logic into functions, custom hooks, or components.