diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 0000000..9df1acf --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,11 @@ +# GitHub Copilot 共通指示 + +このリポジトリでコードを生成・編集する際は,以下のルールを**常に**遵守すること. + +## コードコメント・ドキュメント規則 + +[#file:docs/02_Guide/GUIDE_04_コードコメント規則.txt](docs/02_Guide/GUIDE_04_コードコメント規則.txt) + +## プロトコル追加手順 + +[#file:docs/02_Guide/GUIDE_05_プロトコル追加手順.txt](docs/02_Guide/GUIDE_05_プロトコル追加手順.txt) diff --git a/.github/instructions/code-comment-rules.instructions.md b/.github/instructions/code-comment-rules.instructions.md new file mode 100644 index 0000000..f5cf027 --- /dev/null +++ b/.github/instructions/code-comment-rules.instructions.md @@ -0,0 +1,7 @@ +--- +applyTo: "**/*.ts,**/*.tsx" +--- + +# コードコメント・ドキュメント規則 + +[#file:../../docs/02_Guide/GUIDE_04_コードコメント規則.txt](../../docs/02_Guide/GUIDE_04_コードコメント規則.txt) diff --git a/.github/instructions/protocol-extension-guide.instructions.md b/.github/instructions/protocol-extension-guide.instructions.md new file mode 100644 index 0000000..4a9a3fe --- /dev/null +++ b/.github/instructions/protocol-extension-guide.instructions.md @@ -0,0 +1,7 @@ +--- +applyTo: "packages/shared/src/protocol/**,apps/client/src/**,apps/server/src/**" +--- + +# プロトコル追加手順 + +[#file:../../docs/02_Guide/GUIDE_05_プロトコル追加手順.txt](../../docs/02_Guide/GUIDE_05_プロトコル追加手順.txt) diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..5ec339c --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "github.copilot.chat.commitMessageGeneration.instructions": [ + { + "file": "docs/02_Guide/GUIDE_03_Git運用ルール.txt" + } + ] +}