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.
スキルの内容
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.
できること
- 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
概要
- 公開元
- Moeru AI
- ツール
- テスト
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
含まれるファイル
- agents/openai.yaml
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
出典
- スキルファイル(SKILL.md)github.com/moeru-ai/airi · 根拠となる項目:スクリプトを含む2026年11月10日
- GitHubリポジトリgithub.com/moeru-ai/airi · 根拠となる項目:ライセンス, 公開元, 活動状況2026年11月13日
- リポジトリ内のフォルダ(enforce-rules-for-vitest)github.com/moeru-ai/airi · 根拠となる項目:スクリプトを含む2026年11月10日