enforce-rules-for-vitest
A contributor skill in the AIRI repository that sets the rules for writing, reviewing and debugging Vitest tests in its monorepo.
O que a skill ensina
A contributor skill in the AIRI repository that sets the rules for writing, reviewing and debugging Vitest tests in its monorepo. It asks for the smallest test that really exercises the behaviour, run only in the owning Vitest project, with browser mode where DOM or web platform APIs matter. Reported bugs get a reproduction test named after the GitHub issue or Linear key that fails first, then a root cause comment after the fix. Mocks belong only at real boundaries such as Electron IPC and outside services, never on Pinia or Vue components or global built-ins, and import failures must be fixed in the production code rather than hidden with test tricks.
O que faz
- Choose the smallest suitable Vitest test
- Write a failing reproduction for a reported bug
- Mock only at real runtime boundaries
- Fix import failures in production code
Sobre
- Publicador
- Moeru AI
- Ferramenta
- Testes
Instalação
O projeto não documenta passos de instalação que tenhamos conseguido confirmar. Veja as instruções do próprio projeto
O que tem dentro
- agents/openai.yaml
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | Testes | |
| Publicador | Moeru AI | fonte |
| Status oficial | Não informado na documentação | |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Não | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Não informado na documentação | |
| Licença | MIT | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 13 de nov. de 202651.383 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório Site |
Fontes
- Arquivo da skill (SKILL.md)github.com/moeru-ai/airi · Comprova: Inclui scripts10 de nov. de 2026
- Repositório no GitHubgithub.com/moeru-ai/airi · Comprova: Licença, Publicador, Atividade13 de nov. de 2026
- Pasta no repositório (enforce-rules-for-vitest)github.com/moeru-ai/airi · Comprova: Inclui scripts10 de nov. de 2026