Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Natural Language Intent Routing

オープン
#216 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github-actions, typescript
領域
ai, ci-cd

調査の方向性

まず、既存の dispatcher workflow とその slash-command 処理を確認し、次に run-gemini-cli を使用した提案済みの分類ステップを調査します。review、triage、invoke、あいまいなリクエストをどのようにルーティングするかを定義し、既存の slash command が引き続き適切に処理されることを確認しながら、自然言語の例が機能することを検証します。

索引モデルが issue の本文から書いたものです。

説明

area/workflows kind/enhancement priority/p2

Problem

The current dispatcher pattern relies on slash commands (@gemini-cli /review, @gemini-cli /triage) limits the natural interaction experience:

  • Rigid syntax: Users must remember exact slash commands (/review, /triage)
  • Poor discoverability: No way to know what commands are available except by reading workflows
  • Unnatural interaction: Doesn't leverage Gemini's natural language understanding capabilities
  • Limited flexibility: Can't handle variations or synonyms (e.g., "please review this" vs "/review")
  • User friction: Have to context-switch to remember command syntax

Solution

Intent routing involves:

  • Parse natural language requests instead of requiring slash commands
  • Automatically detect intent from user requests
  • Route to appropriate workflows based on semantic understanding
  • Provide fallback handling for ambiguous requests

Here are some examples:

  • Review intent: "review", "analyze", "check", "examine", "audit"
  • Triage intent: "categorize", "label", "classify", "organize", "tag"
  • Implement intent: "fix", "update", "change", "modify", "improve"
  • General query intent: "explain", "help", "what", "how", "why"

Example

This is an example routing step:

# Example enhanced dispatcher logic
- name: 'Classify intent'
  if: |-
    ${{ !startsWith(github.event.comment.body, '@gemini-cli /') }}
  env:
    REQUEST_BODY: '${{ github.event.comment.body || github.event.review.body || github.event.issue.body }}'
  uses: 'google-github-actions/run-gemini-cli@main'
  with:
    prompt: |-
      Classify this request into one of: review, triage, invoke
      Request: "${REQUEST_BODY}"
      Return only the classification.

This would be the outcome:

❌ Before: "@gemini-cli /review focus on security"
✅ After: "@gemini-cli please review this PR for security issues"

❌ Before: "@gemini-cli /triage" 
✅ After: "@gemini-cli can you help categorize this issue?"
主要言語
TypeScript
スター
2.1k
フォーク
285
平均マージ
8時間 8分
マージ済み PR(30日)
1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

google-github-actions/run-gemini-cli のほかの issue

google-github-actions/run-gemini-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。