.github/copilot ディレクトリを「Copilot エージェントの単一仕様源(SSOT)」として体系設計する#2
Merged
LevelCapTech merged 1 commit intomainfrom Jan 7, 2026
Merged
.github/copilot ディレクトリを「Copilot エージェントの単一仕様源(SSOT)」として体系設計する#2LevelCapTech merged 1 commit intomainfrom
LevelCapTech merged 1 commit intomainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
このプルリクエストは、リポジトリ内のCopilotおよび自動エージェントのための包括的で階層化されたドキュメントと運用標準を導入します。すべての仕様に対する「唯一の真実の情報源」(SSOT)を確立し、厳格な2層構造(規範層と仕様層)を導入し、設計と実装のための詳細なテンプレートとチェックリストを提供し、テスト、セキュリティ、CI品質ゲート、コミット規約に関する要件を形式化します。これらの変更は、再現性、セキュリティ、そして高品質な開発ワークフローを実現し、将来の拡張性とマルチリポジトリシナリオをサポートするように構成されています。
主な変更点:
1. コア仕様構造とインデックス
.github/copilot/00-index.mdを導入しました。これにより、すべてのドキュメント層における厳格な参照順序が定義され、規範ルールと補足資料の区別が明確になります。.github/copilot/05-structure/README.mdおよび関連構造ファイルを追加しました。ドキュメントと CI 間での切り替えと一貫性の維持に関する明確なガイダンスが含まれています。[1] [2] [3]2. 規範レイヤーと仕様レイヤー
.github/copilot-instructions.mdを刷新し、簡潔で強力な規範レイヤーとして機能させました。これにより、日本語の PR タイトル、コミットメッセージ構造、コード/ドキュメントの完全な提出、そして計画検証を伴う設計→実装ループの厳格な遵守が義務付けられました。10-requirements.md)、アーキテクチャ (20-architecture.md)、コーディング標準 (30-coding-standards.md)、テスト戦略 (40-testing-strategy.md)、セキュリティ ポリシー (50-security.md)、CI 品質ゲート (60-ci-quality-gates.md)、ADR テンプレート (70-adr/ADR-template.md)、および研究ハンドオフ (90-research/design-implement-plan-handoff.md)。 [1] [2] [3] [4] [5] [6] [7] [8]3. テンプレートと運用チェックリスト
.github/copilot/80-templates/に実装計画と PR/コードレビューチェックリストのテンプレートを追加しました。これにより、すべての変更が明確な承認およびロールバック基準に基づいて計画、テスト、文書化、レビューされるようになります。 [1] [2] [3]4.コミットメッセージと指示ルール
.github/instructions/commit-messages.instructions.mdを導入し、Copilot 生成および人力によるコミットすべてにおいて、日本語で構造化されたプレフィックス付きのコミットメッセージを、最低3行の形式で使用することを強制しました。.github/instructions/Readme.mdを追加し、指示ファイルの使用方法と命名規則を明確化しました。5. 調査と計画の強化
これらの変更により、Copilotと自動エージェントを用いた、仕様主導型で再現性が高く安全な開発のための堅牢なフレームワークが確立されます。