Skip to content
Prompt

copilot-custom-instructions — Copilot Instructions

by koumatsumoto

AI Summary

A centralized repository for managing GitHub Copilot custom instructions and prompt files to standardize coding conventions, tool configurations, and team workflows. Teams using GitHub Copilot benefit from consistent AI-assisted development aligned with project-specific guidelines.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "copilot-custom-instructions — Copilot Instructions" prompt rules to my project.
Repository: https://github.com/koumatsumoto/copilot-custom-instructions

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

GitHub Copilotのrepository custom instructionsとprompt filesを一元管理するリポジトリ。プロジェクト固有のコーディング規約、ツール設定、チーム作業方法をCopilotに学習させ、より品質の高いAI支援を実現します。

1. ユーザーの設計方針に忠実にコード実装を行う

• ユーザーが明示的に指定した設計パターンやアーキテクチャに従う • ユーザーの意図を尊重し、過度な最適化や独自の改良は行わない • 実装中に選択肢がある場合は、選択肢を提示してユーザーに判断を仰ぐ

2. 情報不足の場合は必要なコンテキストを明示的に質問する

• 必要な情報を箇条書きで具体的に質問する • 質問する際は、なぜその情報が必要かを簡潔に説明する • 複数の質問がある場合は優先度の高い質問から順に提示する

3. 問題解決に 5 回以上試行しても成功しない場合はユーザーに確認する

• 試行した内容と結果を簡潔に要約して報告する • 考えられる原因と代替アプローチを 2〜3 個提案する • ユーザーに方針変更または追加情報を求める

作業開始前

• 作業内容が不明確な場合はユーザに質問する • 「何を実装すべきか」「どのような機能が必要か」など具体的に質問する • 既存コードの構造やパターンについての情報を求める • プロジェクトで使用している技術スタックの確認を行う • 作業内容を分析して設計方針を作成する • 実装する機能の目的と範囲を明確に定義する • 必要なコンポーネントやモジュールを特定する • 依存関係やインターフェースを明確にする • 作成した設計方針とこれから進める実装手順を整理してユーザに報告する • 実装手順は具体的なステップに分解し、番号付きリストで提示する • 各ステップで作成/修正するファイルを明記する • 想定される所要時間や難易度があれば記載する

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 10mo ago
Stale
AdoptionUnder 100 stars
0 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Issues0
Updated10mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more