Search

PythonReactSEOPDF
GitHub Skill

prompt-analyzer

ユーザープロンプトを分析し、topic_type(instruction/question/context)を判定する。

M2AI-jp☆ 1 Repository stars2 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions

Prompt Analyzer Skill

ユーザープロンプトを分析し、構造化データを返す Skill。

Purpose

  • topic_type 判定: プロンプトを instruction / question / context に分類
  • 5W1H + リスク + 曖昧さ検出: タスク依頼の詳細分析
  • 論点分解: 複数指示の分離
  • pm 支援: playbook 作成前の情報収集

When to Use

triggers:
  - 全てのユーザープロンプト(Hook から強制呼び出し)

invocation:
  Task(subagent_type='prompt-analyzer', prompt='ユーザープロンプト')

Output

analysis:
  summary:
    primary_topic_type: instruction|question|context
    confidence: high|medium|low
    ready_for_playbook: true|false
    blocking_issues: ["{問題}"]
  必須アクション:
    - id: 1
      action: "この分析結果をチャットに出力"
    - id: 2
      action: "{topic_type に基づくアクション}"

Next Action

instruction:
  action: Skill(skill='playbook-init')
question:
  action: 直接回答
context:
  action: 現在タスクに統合

Related Files

ファイル 役割
agents/prompt-analyzer.md SubAgent 詳細定義
.claude/hooks/prompt.sh Hook(呼び出し元)

Examples

Read the usage examples in the source repository.

View source ↗

Source history

Indexed on
2026-01-20
Index updated
2026-01-26
Branch
main

Index and sync dates describe this directory. View the source repository for code history.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!