home/categories/automation-tools/j5ik2o-okite-ai-agent-skills-single-type-per-file-skill-md
automation-toolstools

single-type-per-file

コード生成時に「1公開型 = 1ファイル」の原則を強制する。 公開型(public class, interface, trait, protocol, enum, type、JS/TSではexportされたオブジェクト) ごとに個別ファイルを作成し、1ファイルに複数の公開型を詰め込むことを禁止する。 トリガー:新規ファイル作成、クラス/構造体/インターフェース追加、コード生成リクエスト時に自動適用。

j5ik2o
maintainer
j5ik2o
Atualizado 1/16/2026
Estrelas
4
Forks
0
quick start

Installation and usage

コード生成時に「1公開型 = 1ファイル」の原則を強制する。 公開型(public class, interface, trait, protocol, enum, type、JS/TSではexportされたオブジェクト) ごとに個別ファイルを作成し、1ファイルに複数の公開型を詰め込むことを禁止する。 トリガー:新規ファイル作成、クラス/構造体/インターフェース追加、コード生成リクエスト時に自動適用。

Instalação
$ install --globalskills.sh
Uso

Depois de instalar, você pode usar esta skill executando o seguinte comando no terminal:

skills use single-type-per-file