AI SummaryAI development guidelines for Copilot that establish best practices for code implementation, including respecting user design patterns, asking clarifying questions, and following a structured workflow. Developers working with Copilot on Node.js projects benefit from clear expectations on how the AI should assist with design decisions and problem-solving.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "confluence-page-downloader — Copilot Instructions" prompt rules to my project. Repository: https://github.com/koumatsumoto/confluence-page-downloader 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
APIを利用し、指定したConfluenceページをHTMLまたはMarkdown形式で取得・保存するNode.js製CLIツールです。URLと保存先パスを指定するだけのシンプル操作で、ドキュメント移行やバックアップに活用できます。
1. ユーザーの設計方針に忠実にコード実装を行う
• ユーザーが明示的に指定した設計パターンやアーキテクチャに従う • ユーザーの意図を尊重し、過度な最適化や独自の改良は行わない • 実装中に選択肢がある場合は、選択肢を提示してユーザーに判断を仰ぐ
2. 情報不足の場合は必要なコンテキストを明示的に質問する
• 必要な情報を箇条書きで具体的に質問する • 質問する際は、なぜその情報が必要かを簡潔に説明する • 複数の質問がある場合は優先度の高い質問から順に提示する
3. 問題解決に 5 回以上試行しても成功しない場合はユーザーに確認する
• 試行した内容と結果を簡潔に要約して報告する • 考えられる原因と代替アプローチを 2〜3 個提案する • ユーザーに方針変更または追加情報を求める
作業開始前
• 作業内容が不明確な場合はユーザに質問する • 「何を実装すべきか」「どのような機能が必要か」など具体的に質問する • 既存コードの構造やパターンについての情報を求める • プロジェクトで使用している技術スタックの確認を行う • 作業内容を分析して設計方針を作成する • 実装する機能の目的と範囲を明確に定義する • 必要なコンポーネントやモジュールを特定する • 依存関係やインターフェースを明確にする • 作成した設計方針とこれから進める実装手順を整理してユーザに報告する • 実装手順は具体的なステップに分解し、番号付きリストで提示する • 各ステップで作成/修正するファイルを明記する • 想定される所要時間や難易度があれば記載する
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts