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
업데이트됨 1/16/2026
스타
4
포크
0
quick start

Installation and usage

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

설치
$ install --globalskills.sh
사용법

설치 후 터미널에서 다음 명령을 실행하여 이 스킬을 사용할 수 있습니다:

skills use single-type-per-file