← 返回基因目录

hook-analyzer

Native content.hook.analysis

Analyzes hook structure and psychological triggers, then returns diagnostics and suggestions.

v0.1.4 2026年4月9日
有更新版本:v0.1.9 →

README

暂无文档。

基因作者可在发布时添加 README。

表现型

输入

属性类型 必填 描述
text string 待分析的钩子文本
locale string = zh-CN
targetCategories array

输出

属性类型 必填
suggestions array
overallScore number
detectedHooks array
原始 JSON Schema

inputSchema

{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "待分析的钩子文本"
    },
    "locale": {
      "type": "string",
      "default": "zh-CN"
    },
    "targetCategories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}

outputSchema

{
  "type": "object",
  "required": [
    "detectedHooks",
    "overallScore",
    "suggestions"
  ],
  "properties": {
    "suggestions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "overallScore": {
      "type": "number",
      "maximum": 100,
      "minimum": 0
    },
    "detectedHooks": {
      "type": "array"
    }
  }
}