enforce-rules-for-typescript
A rules skill in the AIRI monorepo for writing, refactoring or reviewing its TypeScript and Vue code.
スキルの内容
A rules skill in the AIRI monorepo for writing, refactoring or reviewing its TypeScript and Vue code. It covers importing types from the module that owns them, naming by domain operation without repeating package names, comments that explain intent, invariants and side effects rather than restating code, and when JSDoc is required, including call-stack diagrams for runners. Fallbacks with several sources need explicit precedence and stable empty values instead of inline defaults in reactive code. Stateful and protocol code must document its state model, correlation keys and cleanup order. Further rules favour deep modules, date-fns for dates, shared helpers with units in their names, and cross-platform paths, ending with a review checklist.
できること
- Check imports, naming and comments
- Require explicit fallback precedence
- Document state models and protocol envelopes
- Review code against a checklist
概要
- 公開元
- 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-typescript)github.com/moeru-ai/airi · 根拠となる項目:スクリプトを含む2026年11月10日