Add AI-assisted commit message generator
- Lingua principale
- Rust
- Stelle
- 22.5k
- Fork
- 773
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
## Summary\nCreate an AI-assisted commit flow that can draft commit messages based on the user\'s staged changes.\n\n## Requirements\n- Provide a UI entry point (button/modal) in the commit view to request an AI-generated message.\n- Gather the relevant git context that Gitui already tracks (branch name, staged diff per file, linked issue/branch metadata, optional user hint).\n- Serialize that context into a deterministic prompt (e.g., structured sections with fenced diff blocks) and send it to a backend proxy LLM endpoint.\n- Display the returned suggestion so the user can edit/accept it before committing.\n- Ensure network failures or empty responses gracefully fall back to the normal manual workflow.\n\n## Notes\n- The backend proxy already exists; Gitui only needs to assemble the prompt text/JSON and call it.\n- Keep request size reasonable—consider truncating or batching very large diffs.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Non vengono indicati file, test o punti di ingresso. Inizia individuando la vista del commit e i percorsi esistenti per il contesto Git e le richieste di rete descritti nell’issue, quindi mappa come si integrano il prompt, la risposta modificabile e il fallback manuale. Il lavoro è completato quando l’intero flusso funziona e gli errori e i diff troppo grandi restano utilizzabili manualmente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- git, rust
- Ambito
- ai, cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100