Add AI-assisted commit message generator
- 主要言語
- Rust
- スター
- 22.5k
- フォーク
- 774
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
## 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.
コントリビューションガイド
調査の方向性
ファイル、テスト、エントリポイントは指定されていません。まず、issueで説明されているコミットビューと既存のGitコンテキストおよびネットワークリクエストの経路を見つけ、次にプロンプト、編集可能なレスポンス、手動フォールバックがどのように組み合わさるかを整理します。完了とは、フロー全体が動作し、失敗やサイズの大きすぎるdiffが手動でも引き続き扱えることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- git, rust
- 領域
- ai, cli
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100