Feature Request: Auto-detect and use project knowledge bases #184668
Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Product Feedback
Copilot Feature Area
VS Code
Body
Problem Statement
AI coding assistants (GitHub Copilot, Claude, etc.) do not automatically detect and utilize project-specific knowledge bases, even when these knowledge bases are explicitly designed for AI consumption and follow clear conventions.
Real-World Impact
Our team has invested significant effort in building a comprehensive AI knowledge management system:
Despite this investment, the AI assistant ignored all of this context and generated generic responses that didn't align with our actual codebase.
Current Behavior
When working in a workspace, AI assistants:
COPILOT_CONTEXT.mdcopilot_knowledge/conventionsExample Scenario
Workspace Structure:
User Request: "Create POC requirements for AI agent working on PRODUCTNAME"
AI Behavior:
Expected Behavior
AI assistants should:
1. Auto-Detection on Workspace Open
2. Automatic Context Loading
When standard context files exist, automatically read:
COPILOT_CONTEXT.md(current working context)copilot_knowledge/README.md(knowledge base overview).github/copilot-instructions.md(if exists)3. Context-Aware Responses
Before generating code/documentation:
4. Proactive Knowledge Base Querying
When user asks about the system:
Proposed Solution
For GitHub Copilot
A. Standard Knowledge Base Conventions
Recognize these patterns automatically:
copilot_knowledge/or.copilot/COPILOT_CONTEXT.md.github/copilot-instructions.mddocs/COPILOT_*.mdB. VS Code Extension Enhancement
Add Copilot settings:
{ "github.copilot.knowledgeBase.enabled": true, "github.copilot.knowledgeBase.autoDetect": true, "github.copilot.knowledgeBase.paths": [ "copilot_knowledge/", "COPILOT_CONTEXT.md" ] }C. Chat Interface Enhancement
When knowledge base detected:
For Claude / AI Assistants
A. Workspace Analysis Behavior
On first interaction in a workspace:
B. Tool Enhancement
Add explicit tool for knowledge base awareness:
C. Best Practice Enforcement
Make it a best practice that AI assistants MUST:
Benefits
For Developers
For Organizations
For AI Products
Related Standards and Conventions
Emerging Conventions in Industry
.ai/directory for AI-specific contextCONTEXT.mdfiles for Claude projects.github/copilot-instructions.mdfor CopilotSimilar Features in Other Tools
@docsWorkarounds (Until Fixed)
For Users
Explicit Instruction in Every Chat:
Workspace-Level Settings:
Pre-prompt Engineering:
For Tool Developers
Build Custom Extensions:
RAG Integration:
Prompt Templates:
Priority Justification
High Impact
High Frequency
Implementation Feasibility
Submission Information
For GitHub Copilot
For Anthropic (Claude)
For VS Code
Additional Context
Our Knowledge Base System
Repository: Multi-Repository Workspace
Example Knowledge Base Structure
Conclusion
AI coding assistants are incredibly powerful, but their value is dramatically reduced when they ignore project-specific knowledge that developers have carefully curated. Auto-detecting and using knowledge bases should be a default behavior, not something users need to remember to request.
This feature would:
We strongly encourage implementing this feature and are happy to provide additional feedback, testing, or examples of our knowledge base system.
Contact: Markus Bucher for an SAP development org
Feedback Welcome: We're happy to discuss implementation details or provide access to our knowledge base system as a reference implementation.
Beta Was this translation helpful? Give feedback.
All reactions