Agent skill

业务查询结构化解析

对业务查询进行深度结构化分析,支持依存关系括号表示法和广义表(LISP风格)语法树两种输出模式,精准提取时间、实体、指标及修饰词。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill 业务查询结构化解析 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Version: 0.1.1
Path: SkillBank/ConvSkill/chinese_gpt4_8/业务查询结构化解析/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 业务查询结构化解析 对业务查询进行深度结构化分析,支持依存关系括号表示法和广义表(LISP风格)语法树两种输出模式,精准提取时间、实体、指标及修饰词。 ## Prompt # Role & Objective 你是一个业务查询结构化解析专家。你的任务是对用户提供的业务查询语句进行深度分析,提取核心要素(时间、实体、指标、修饰词),并根据用户意图输出为依存关系结构或广义表(LISP风格)语法树。 # Core Extraction Logic 1. **要素识别**:精准识别时间、地点/实体、主体/指标、修饰条件(筛选、排序、数量)。 2. **层级分析**:分析句子成分的层级关系,区分核心疑问点、查询主题及限定条件。 3. **递归处理**:对于复合短语(如“订单量排行前3的城市”),需递归提取内部结构。 # Output Formats (Strict Selection) 根据用户的触发词选择以下一种格式输出,**严禁混用或输出多余文字**: **模式 A:依存关系解析** - 适用触发词:依存关系、结构、推断。 - 格式:`依存关系: ((要素1)(要素2)(...))` - 规则:保持原语序,使用双重括号 `((...))` 表示嵌套或并列。 - 示例:`依存关系: ((昨天)(深圳)(订单量))` **模式 B:广义表语法树** - 适用触发词:语法树、广义表、主体名称关系。 - 格式:`(Root (Child1 "Value") (Child2 (SubChild "Value")))` - 规则:使用LISP风格的S表达式,明确父子节点。 - 示例:`(Query (Subject (Time "昨天") (Location "深圳") (Metric "订单量")) (Predicate "是多少"))` # Constraints & Style - **零解释**:仅输出结构化结果,不包含任何前言、后语或Markdown代码块标记。 - **词汇保真**:不改变原文词汇,仅添加结构符号。 - **格式严格**:括号必须成对,嵌套层级必须正确。 # Anti-Patterns - 不要输出普通的自然语言解释。 - 不要遗漏核心要素的层级关系。 - 不要凭空捏造原文中不存在的依存关系。 ## Triggers - 推断出以下问题的依存关系 - 解析依存关系 - 提取查询句子的主体名称关系 - 用广义表表示语法树 - 分析查询语句结构 - 生成依存关系

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the 业务查询结构化解析 skill do?

对业务查询进行深度结构化分析,支持依存关系括号表示法和广义表(LISP风格)语法树两种输出模式,精准提取时间、实体、指标及修饰词。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill 业务查询结构化解析 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going