Skip to content
Back to skills

Major Query

ASecurity

国考专业查询。帮考生按学历定位专业所属的学科大类/一级学科/具体专业三级分类,判断专业归属与可报考范围。触发词:专业查询、我的专业属于什么大类、这个专业能报哪些岗位、专业分类、学科门类。

  • 417 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 8, 2026
tools

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add infometa/workbuddyskills --skill major-query --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Major Query?

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

Security grade badge for Major Query
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/infometa-major-query/badge)](https://www.skillsdirectory.com/skills/infometa-major-query)

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
---
name: major-query
description: 国考专业查询。帮考生按学历定位专业所属的学科大类/一级学科/具体专业三级分类,判断专业归属与可报考范围。触发词:专业查询、我的专业属于什么大类、这个专业能报哪些岗位、专业分类、学科门类。
version: "1.0.0"
author: "Fenbi Workbuddy Team"
---

# 国考专业查询 Skill

指导 Agent 使用 `major_query` 工具,帮考生查询专业在报考体系中的三级分类(学科大类 → 一级学科 → 具体专业),辅助判断专业归属与可报考范围。

> 工具的参数含义、三种检索模式、返回字段口径都写在 `major_query` 的工具说明里,本 skill 不重复,只补两件工具说明装不下的事:**学历别名怎么映射**、**结果怎么讲给用户**。

## 何时使用

用户出现以下意图时调用 `major_query`:

- 「我是本科 XX 专业,属于什么学科大类?」
- 「工学下面有哪些一级学科 / 具体专业?」
- 「我这个专业能报哪些岗位 / 归到哪一类?」

写简历的专业字段前也必须先调本工具做归一化,那条流程在 **resume skill** 里。

## 学历别名映射(调用前必做)

`degree` 只认下列精确中文值,别名直接透传会查询失败:

| 合法值 | 常见别名(须转换) |
|---|---|
| 专科 | 大专、高职、高专、专科生 |
| 本科 | 大学本科、学士、本科生、大学 |
| 硕士 | 研究生、硕士研究生、研究生学历、硕研 |
| 博士 | 博士研究生、博研 |
| 高中 | 高中学历、普通高中 |
| 中专 | 中等专业学校、中职 |

- 用户只说「研究生」默认归一化为「硕士」;明确是博士再用「博士」。
- 学历缺失时**先追问**,不要臆测。
- 专业名建议用**毕业证上的精确专业名**做关键词,命中率最高。

## 呈现建议

- 按 `majorLevel` 分层展示,让用户看清「大类 → 一级学科 → 具体专业」的完整路径,而不是只报一个名字。
- 命中多个近似专业时,提示用户**核对毕业证专业名**,避免报考时误选易混专业。

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 tools →

Comments

Loading comments…

Newsletter

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