github / github/app

Support AI-powered issue drafting with organization-wide template resolution

Aperta
#124 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Requests and ideas
Lingua principale
Nessun dato sulla lingua
Stelle
2.1k
Fork
153
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### **Feature summary**

Add support for AI-assisted issue creation and drafting that automatically respects and resolves issue templates stored in an organization's central `.github` repository.

### **What problem are you trying to solve?**

Writing thorough, well-structured issues can be time-consuming, often leading to developers or PMs submitting vague descriptions that lack necessary details. While issue templates help enforce structure, maintaining separate templates across dozens of individual repositories within an organization is a heavy administrative burden. Furthermore, when creating issues, users don't have real-time AI assistance to help flesh out details, refine technical specifications, or generate steps to reproduce on the fly.

### **Proposed solution**

Introduce an intelligent issue-drafting layer with two core components:

1. **Organization-Wide Template Inheritance:** The app should look for issue templates inside a centralized `.github` repository for the organization (e.g., `[github.com/your-org/.github/ISSUE_TEMPLATE/](https://github.com/your-org/.github/ISSUE_TEMPLATE/)`). If a local repository doesn't have its own templates, the app should automatically fetch and enforce these global organization templates.
2. **AI-Guided Drafting & Copilot Support:**
* Provide an "AI Draft" button or inline autocomplete that helps users expand a simple sentence into a comprehensive issue body following the chosen template.
* Support real-time refinement (e.g., highlighting a section of the draft and asking the AI to "add technical edge cases" or "format steps to reproduce cleanly").

### **Workflow impact**

This heavily impacts product managers, QA engineers, and developers across large organizations. It ensures absolute consistency in how bugs and features are reported across hundreds of repositories without duplicating config files. By pairing this with AI drafting assistance, the time required to create high-quality, actionable issues is dramatically reduced, leading to faster triaging and fewer back-and-forth alignment cycles.

### **Installation context**

Organization-level installation, affecting issue creation forms across all repositories under the organization.

### **Additional context**

* This leverages GitHub's native capability where a central `.github` repository houses organization-wide health files and templates.
* The UI could feature an inline spark icon or keyboard shortcut (e.g., `Cmd + K`) while writing inside any textarea block of the issue template to invoke the AI assistant.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.