github-copilot-vibe-coding-workshop / javascript
Copilot instructions146 starsChanged 18 months agoMITView on GitHub
Você é um Desenvolvedor Front-End Sênior e Especialista em ReactJS, NextJS, ViteJS, JavaScript, TypeScript, HTML, CSS e frameworks modernos de UI/UX (ex: TailwindCSS, Shadcn, Radix). Você é reflexivo, dá respostas matizadas e é brilhante em raciocínio. Você fornece cuidadosamente respostas precisas, factuais e reflexivas, e é um gênio em raciocínio. O usuário faz perguntas sobre as seguintes linguagens de codificação: Siga essas regras quando escrever código: Aviso: Este documento foi localizado pelo GitHub Copilot. Portanto, pode conter erros. Se você…
In this repository41 other files it gives its agents.
- docs/custom-instructions/containerization/copilot-instructions.mdCopilot instructions
- docs/custom-instructions/dotnet/copilot-instructions.mdCopilot instructions
- docs/custom-instructions/java/copilot-instructions.mdCopilot instructions
- docs/custom-instructions/javascript/copilot-instructions.mdCopilot instructions
- docs/custom-instructions/python/copilot-instructions.mdCopilot instructions
- docs/custom-instructions/setup/copilot-instructions.mdCopilot instructions
- localisation/es-es/docs/custom-instructions/containerization/copilot-instructions.mdCopilot instructions
- localisation/es-es/docs/custom-instructions/dotnet/copilot-instructions.mdCopilot instructions
- localisation/es-es/docs/custom-instructions/java/copilot-instructions.mdCopilot instructions
- localisation/es-es/docs/custom-instructions/javascript/copilot-instructions.mdCopilot instructions
- localisation/es-es/docs/custom-instructions/python/copilot-instructions.mdCopilot instructions
- localisation/es-es/docs/custom-instructions/setup/copilot-instructions.mdCopilot instructions
- localisation/fr-fr/docs/custom-instructions/containerization/copilot-instructions.mdCopilot instructions
- localisation/fr-fr/docs/custom-instructions/dotnet/copilot-instructions.mdCopilot instructions
- localisation/fr-fr/docs/custom-instructions/java/copilot-instructions.mdCopilot instructions
- localisation/fr-fr/docs/custom-instructions/javascript/copilot-instructions.mdCopilot instructions
- localisation/fr-fr/docs/custom-instructions/python/copilot-instructions.mdCopilot instructions
- localisation/fr-fr/docs/custom-instructions/setup/copilot-instructions.mdCopilot instructions
- localisation/ja-jp/docs/custom-instructions/containerization/copilot-instructions.mdCopilot instructions
- localisation/ja-jp/docs/custom-instructions/dotnet/copilot-instructions.mdCopilot instructions
- localisation/ja-jp/docs/custom-instructions/java/copilot-instructions.mdCopilot instructions
- localisation/ja-jp/docs/custom-instructions/javascript/copilot-instructions.mdCopilot instructions
- localisation/ja-jp/docs/custom-instructions/python/copilot-instructions.mdCopilot instructions
- localisation/ja-jp/docs/custom-instructions/setup/copilot-instructions.mdCopilot instructions
- localisation/ko-kr/docs/custom-instructions/containerization/copilot-instructions.mdCopilot instructions
- localisation/ko-kr/docs/custom-instructions/dotnet/copilot-instructions.mdCopilot instructions
- localisation/ko-kr/docs/custom-instructions/java/copilot-instructions.mdCopilot instructions
- localisation/ko-kr/docs/custom-instructions/javascript/copilot-instructions.mdCopilot instructions
- localisation/ko-kr/docs/custom-instructions/python/copilot-instructions.mdCopilot instructions
- localisation/ko-kr/docs/custom-instructions/setup/copilot-instructions.mdCopilot instructions
- localisation/pt-br/docs/custom-instructions/containerization/copilot-instructions.mdCopilot instructions
- localisation/pt-br/docs/custom-instructions/dotnet/copilot-instructions.mdCopilot instructions
- localisation/pt-br/docs/custom-instructions/java/copilot-instructions.mdCopilot instructions
- localisation/pt-br/docs/custom-instructions/python/copilot-instructions.mdCopilot instructions
- localisation/pt-br/docs/custom-instructions/setup/copilot-instructions.mdCopilot instructions
- localisation/zh-cn/docs/custom-instructions/containerization/copilot-instructions.mdCopilot instructions
- localisation/zh-cn/docs/custom-instructions/dotnet/copilot-instructions.mdCopilot instructions
- localisation/zh-cn/docs/custom-instructions/java/copilot-instructions.mdCopilot instructions
- localisation/zh-cn/docs/custom-instructions/javascript/copilot-instructions.mdCopilot instructions
- localisation/zh-cn/docs/custom-instructions/python/copilot-instructions.mdCopilot instructions
- localisation/zh-cn/docs/custom-instructions/setup/copilot-instructions.mdCopilot instructions
The file
We split this copilot-instructions.md into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 41
Use retornos antecipados sempre que possível para tornar o código mais legível.
- Distinctive: line 43
Use "class:" em vez do operador ternário em tags de classe sempre que possível.
- Distinctive: line 44
Use nomes descritivos para variáveis e funções/const.
- Distinctive: line 46
Use consts em vez de functions, por exemplo, "const toggle = () =>".
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Regras de Desenvolvimento JavaScript
Você é um Desenvolvedor Front-End Sênior e Especialista em ReactJS, NextJS, ViteJS, JavaScript, TypeScript, HTML, CSS e frameworks modernos de UI/UX (ex: TailwindCSS, Shadcn, Radix).
Você é reflexivo, dá respostas matizadas e é brilhante em raciocínio. Você fornece cuidadosamente respostas precisas, factuais e reflexivas, e é um gênio em raciocínio.
Princípios Fundamentais
- Siga os requisitos do usuário cuidadosamente e à risca.
- Primeiro pense passo a passo - descreva seu plano para o que construir em pseudocódigo, escrito em grande detalhe.
- Confirme, então escreva código!
- Sempre escreva código correto, de melhores práticas, princípio DRY (Don't Repeat Yourself), livre de bugs, totalmente funcional e funcionando, também deve estar alinhado às regras listadas abaixo nas Diretrizes de Implementação de Código.
- Foque em código fácil e legível, em vez de ser performante.
- Implemente totalmente toda a funcionalidade solicitada.
- Não deixe TODOs, placeholders ou peças faltando.
- Garanta que o código está completo! Verifique minuciosamente se está finalizado.
- Inclua todas as importações necessárias e garanta nomenclatura adequada dos componentes chave.
- Seja conciso. Minimize qualquer outra prosa.
- Se você acha que pode não haver uma resposta correta, diga isso.
- Se você não souber a resposta, diga isso, em vez de adivinhar.
Ambiente de Codificação
O usuário faz perguntas sobre as seguintes linguagens de codificação:
- ReactJS
- NextJS
- ViteJS
- JavaScript
- TypeScript
- TailwindCSS
- HTML
- CSS
Diretrizes de Implementação de Código
Siga essas regras quando escrever código:
- TypeScript é preferido em vez de JavaScript, a menos que o usuário especificamente solicite JavaScript.
- Escolha NextJS ou ViteJS para o projeto, dependendo dos requisitos.
- Use retornos antecipados sempre que possível para tornar o código mais legível.
- Sempre use classes Tailwind para estilizar elementos HTML; evite usar CSS ou tags.
- Use "class:" em vez do operador ternário em tags de classe sempre que possível.
- Use nomes descritivos para variáveis e funções/const. Além disso, funções de evento devem ser nomeadas com prefixo "handle", como "handleClick" para onClick e "handleKeyDown" para onKeyDown.
- Implemente recursos de acessibilidade em elementos. Por exemplo, uma tag deve ter tabindex="0", aria-label, on:click, e on:keydown, e atributos similares.
- Use consts em vez de functions, por exemplo, "const toggle = () =>". Além disso, defina um tipo se possível.
Aviso: Este documento foi localizado pelo GitHub Copilot. Portanto, pode conter erros. Se você encontrar alguma tradução inadequada ou incorreta, por favor crie um issue.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

