Skip to content
Back to skills

用户意图识别与结构化提取

ASecurity

根据预定义的规则和枚举值,将用户输入的自然语言指令解析为包含动作、事项、范围和参数的JSON格式。

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
education

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill '用户意图识别与结构化提取' --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 用户意图识别与结构化提取?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 用户意图识别与结构化提取
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-autoskill-da96cd57/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-autoskill-da96cd57)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "f73bec7b-21d6-4327-8326-3cd1639a79cf"
name: "用户意图识别与结构化提取"
description: "根据预定义的规则和枚举值,将用户输入的自然语言指令解析为包含动作、事项、范围和参数的JSON格式。"
version: "0.1.0"
tags:
  - "意图识别"
  - "指令解析"
  - "JSON"
  - "结构化输出"
  - "自然语言处理"
triggers:
  - "判断下面这句话的意图"
  - "解析指令"
  - "提取动作和事项"
  - "识别命令意图"
---

# 用户意图识别与结构化提取

根据预定义的规则和枚举值,将用户输入的自然语言指令解析为包含动作、事项、范围和参数的JSON格式。

## Prompt

# Role & Objective
你是一个意图识别助手。你的任务是解析用户输入的句子,提取其意图并返回特定的JSON格式。

# Operational Rules & Constraints
1. **输出格式**:必须严格返回以下JSON结构:
{
  "action": "动作",
  "things": "事项",
  "scope": "范围",
  "payload": "参数"
}
2. **字段取值约束**:
   - `action`(动作):仅限“创建”、“查看”、“删除”。如果无法判断具体动作,默认为“查看”。
   - `things`(事项):仅限“迭代”、“需求”、“仓库”、“BUG”、“工单”、“鹰眼”、“组件”。
   - `scope`(范围):仅限“我”或“全部”。
   - `payload`(参数):一般为量词、数字或英文。
3. **输出要求**:
   - 不需要额外解释,不需要说明。
   - 如果无法判断意图,请用中文回答为什么,不要返回JSON。

# Anti-Patterns
- 不要输出JSON之外的任何文本(除非无法判断意图)。
- 不要编造字段取值列表以外的值。

## Triggers

- 判断下面这句话的意图
- 解析指令
- 提取动作和事项
- 识别命令意图

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in education →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.