standard-doc-finder
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "standard-doc-finder" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-d185adeb7b7988394ec0d4b417312b8767587199ee7858f0055de9922311dfa2. Verify the upstream source and version against https://skillhub.cn/skills/user_cee31118/standard-file-finder before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Standard document finder with download links (Chinese name): When the user inputs a standard number (with or without year) or standard name keywords, returns the standard's cloud storage download link and official download link; includes the ability to infer the year for numbers without a year. If found in the local database, returns both cloud+official links; if not found, can extend to web search to supplement results. Intended for scenarios of finding standards/specifications PDFs by number or name.
Introduction source: third_party · user_cee31118 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: standard-doc-finder
display_name: 规范标准查询返回下载链接
author: 聂志林
description: 规范标准查询返回下载链接(中文名)。当用户输入规范标准号(含或不含年份,如 GB 50068-2018、GB 50292、GB50292、JGJ 125)或标准名称关键字(如"民用建筑可靠性鉴定"、"混凝土结构加固"、"抗规")时,自动返回该标准的网盘下载链接和官方下载链接。具备"无年份标准号自助年号推断"能力——用户输入"GB 50292"时,技能会自动搜索并定位到最新版"GB 50292-2015"。命中本地数据库时直接返回网盘+官方双链接;未命中时调用 WebSearch 联网补充。在以下场景触发:用户询问某本规范/标准的下载链接、想获取某本国标/行标的网盘资源、需要按编号或名称查找 PDF 文档。
agent_created: true规范标准查询返回下载链接(Standard Doc Finder)
目录中文名:
规范标准查询返回下载链接/WorkBuddy 内部 ID:standard-doc-finder(受 WorkBuddy 命名规范硬性限制,必须小写连字符) 用户在对话中说"规范标准查询返回下载链接"或"按标准号/名称找下载链接"均会触发本技能。
Overview
本技能实现 Workflow-guifanchaxun-draft-2820 的完整语义:用户输入标准号(含/不含年份)或名称关键字 → 先查本地规范数据库(精确→标准号→无年份标准号自助推断→名称模糊)→ 未命中则联网补充 → 输出一份排版好的"标准名 + 网盘链接 + 官方下载链接"清单。
When to Use
- 用户给出 规范标准号(如
GB 50068-2018、GB50292、JGJ 125-2016)想拿下载链接 - 用户给出 标准名称关键字(如"民用建筑可靠性鉴定标准"、"混凝土加固"、"抗规")想找网盘资源
- 用户希望一次拿到 网盘链接 + 官方下载链接 两种渠道
- 命中/未命中都要给出明确反馈
Workflow Decision Tree
按原工作流 100001 → 149277 → 163054 → 选择器 → 106406 → 选择器_1 → 156967 → 900001 的回退顺序实现,并扩展了无年份标准号自助年号推断节点:
用户输入
│
▼
[Step 1] 规范化关键字
│ 去全/半角空格、统一破折号、判断是否为标准号格式(含/不含年份)
│
▼
[Step 2] 本地检索(≈ search_standard + getStandardByName 节点)
│ 调用 scripts/lookup.py 四级回退:
│ a) 标准号全等 → mode: "exact"
│ b) 标准号去横线/年份 → mode: "standard_no"
│ c) 无年份标准号前缀 → mode: "year_inferred" (新增)
│ 例: "GB 50292" → "GB 50292-2015"
│ 多版本时按年份倒序展示,默认取最新
│ d) 名称+别名模糊 → mode: "fuzzy"
│
├── 命中 ──→ [Step 3a] 整理网盘+官方双链接 → 输出(结束)
│
└── 未命中 ──→ [Step 3b] 联网搜索兜底
│ 调用 WebSearch: "<关键字> PDF 下载 site:gov.cn OR site:mohurd.gov.cn"
│ 解析结果中的可访问 PDF 链接
▼
[Step 3c] 整理输出(结束)
Step 1 — 规范化输入
将用户原文中的全角符号、空格差异、破折号统一为半角,再判定其是否形如标准号。这一步直接交给 scripts/lookup.py 的 normalize() 完成。
示例:
- "GB 50068-2018"(全角空格)→ "GB 50068-2018"
- "GB50068—2018"(长破折号)→ "GB 50068-2018"
- "民用建筑可靠性鉴定" → 保留
Step 2 — 本地检索
直接执行 scripts/lookup.py "<用户输入>" 即可。脚本返回 JSON:
精确/标准号/名称命中:
{
"query": "民用建筑可靠性鉴定",
"mode": "fuzzy",
"matched_count": 1,
"results": [{
"standard_no": "GB 50292-2015",
"standard_name": "民用建筑可靠性鉴定标准",
"netdisk_url": "https://pan.baidu.com/s/...",
"netdisk_code": "rel2",
"official_url": "http://www.mohurd.gov.cn/...",
"category": "国家标准-鉴定",
"issued_date": "2015-12-03"
}]
}
无年份标准号自助年号推断(关键能力):
{
"query": "GB 50292",
"mode": "year_inferred",
"matched_count": 1,
"results": [{
"standard_no": "GB 50292-2015",
"standard_name": "民用建筑可靠性鉴定标准",
...
}],
"inferred_from": "GB 50292 → GB 50292-2015",
"hint": "已根据标准号前缀 GB 50292 自动匹配到最新版本 GB 50292-2015。"
}
执行命令(用 managed Python):
"C:/Users/47577/.workbuddy/binaries/python/versions/3.13.12/python.exe" \
"C:/Users/47577/.workbuddy/skills/规范标准查询返回下载链接/scripts/lookup.py" \
"<用户输入>"
Step 2.5 — 无年份标准号推断的"取最新"逻辑
scripts/lookup.py 内部处理:
- 提取标准号前缀(如
GB 50292→GB50292) - 扫描数据库,找出所有以该前缀开头的标准号
- 按年份倒序排序,默认取最新版本
- 单版本:返回
mode: "year_inferred",附inferred_from字段说明推断过程 - 多版本:返回
mode: "year_inferred_multi",全部展示,最新置顶,并在 hint 提示"如需其他版本请明确指定完整标准号"
Step 3a — 命中:整理双链接输出
按以下 Markdown 模板渲染(对齐原工作流 End 节点的 **规范标准名**:{{output8}} \n\n**下载链接**:{{output7}} {{output9}}\n\n{{output10}} 结构):
**规范标准名**:{standard_name}({standard_no})
**网盘下载**:[{netdisk_url}]({netdisk_url}) 提取码:`{netdisk_code}`
**官方下载**:[{standard_no} 标准文本]({official_url})
— 分类:{category} 发布日期:{issued_date}
多条命中时(mode=fuzzy 且 matched_count > 1),用同样模板逐条列出,并按相似度从高到低排序。
如果
mode是year_inferred或year_inferred_multi,在输出顶部加一行小字说明推断来源:> 💡 您输入的"GB 50292"未带年份,已自动匹配到最新版"GB 50292-2015"。
Step 3b/3c — 未命中:联网兜底
如果 mode == "none",按顺序执行:
- 调用
WebSearch,查询模板:"{用户输入}" PDF 下载 filetype:pdf"{用户输入}" 标准 下载 site:mohurd.gov.cn OR site:std.samr.gov.cn
- 从搜索结果中筛选可访问的 PDF 直链(避开付费/广告页)
- 用同款 Markdown 模板输出,但
netdisk_url段改为:
**网盘下载**:本地未收录,已通过联网搜索补充
**在线下载**:<抓到的 PDF 直链>
- 若联网仍未找到可信链接,给出标准失败提示:
未找到"XXX"对应的规范标准文档。请核实输入是否为规范标准名称/编号;如确认无误,可能是该标准尚未收录到本知识库中。可前往住房和城乡建设部官网(mohurd.gov.cn)或全国标准信息公共服务平台(std.samr.gov.cn)手动检索。
Resources
scripts/
lookup.py— 标准号/名称关键字的四级匹配脚本,对应原工作流search_standard+getStandardByName两个插件节点的本地实现,并扩展了无年份标准号的自助年号推断能力。可被 WorkBuddy 直接通过execute_command调用,也可被未来其他 skill 复用。
references/
standards-db.json— 本地规范标准数据库(key 为标准号)。覆盖国标 GB / 行标 JGJ / 推荐性国标 GB/T 等常见工程类标准。- 字段:
standard_name/aliases/netdisk_url/netdisk_code/official_url/category/issued_date - 扩展方式:按现有结构直接追加新条目即可,无需改脚本
- 字段:
Maintenance
- 新增标准:编辑
references/standards-db.json,按现有 schema 追加一条记录 - 调整匹配阈值:修改
scripts/lookup.py中的FUZZY_THRESHOLD(默认 0.55) - 新增前缀支持:往
STANDARD_PREFIXES集合里加(如 "T/CECS"、"DB")
Quality Notes
- 本地数据库覆盖常见工程国标/行标;冷门标准、英文 ISO、地方标准需走联网兜底
- 提取码
netdisk_code在用户复制链接后需提示一并输入 - 始终同时给出网盘+官方两个渠道,避免单一来源失效
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决工程领域用户高频刚需:通过标准号或名称快速获取规范文档下载链接
- 具备无年份标准号自助推断能力,显著提升查询效率
- 提供网盘+官方双渠道链接,增强资源获取可靠性
Highlights
- 触发词覆盖全面:支持标准号(含/不含年份)、名称关键字等多种输入形式
- 场景描述清晰,边界合理,不易误触或漏触
Highlights
- 工作流决策树清晰,步骤划分合理(规范化→本地检索→命中/未命中分支)
- 包含完整端到端示例和输出模板,frontmatter 完整规范
Highlights
- 工具来源明确(scripts/lookup.py),参数正确
- 覆盖主要异常场景(未命中时联网兜底),输出模板规范稳定
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- pan.baidu.com
- std.samr.gov.cn
- www.mohurd.gov.cn
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.