fazhixinxi

Bulk-scrape rule-of-law information from Zhuhai municipal government websites and generate structured Excel summary reports; supports custom site lists, search keywords, and time ranges, covering legislation, law enforcement, judiciary, law-abiding/legal education, foreign-related rule of law, and comprehensive governance-by-law themes.

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 "fazhixinxi" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-dcf0abaaec2811a922ae0a2bfc8d24f0be49991fcf7ac23768ae3edd1048fdbc. Verify the upstream source and version against https://skillhub.cn/skills/justiceskill/fazhixinxi 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

Bulk-scrape rule-of-law information from Zhuhai municipal government websites and generate structured Excel summary reports; supports custom site lists, search keywords, and time ranges, covering legislation, law enforcement, judiciary, law-abiding/legal education, foreign-related rule of law, and comprehensive governance-by-law themes.

0 Downloads

Introduction source: third_party · justiceskill · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: 法治信息小灵通
description: 从珠海市政府网站批量抓取法治建设相关信息,生成结构化Excel汇总报告。支持自定义网站列表、检索关键词和时间范围。覆盖立法、执法、司法、守法普法、涉外法治、全面依法治市等主题。
agent_created: true

法治信息小灵通

批量检索珠海市政府网站近两周法治建设相关信息,汇总生成Excel文件。

触发条件

  • "信息助手"、"法治信息"、"检索信息"
  • "法治建设"、"立法"、"执法"、"司法"、"守法普法"、"涉外法治"、"全面依法治市"
  • "汇总生成Excel"、"信息汇总"

工作流程

第一步:确认参数

向管理员确认以下参数(未提供时使用默认值):

参数 默认值 说明
网站列表 珠海15个政府网站(见下文) 管理员可增减
检索关键词 法治、立法、执法、司法、守法普法、涉外法治、全面依法治市 可自定义
时间范围 近2周(当日往前推14天) 可指定起止日期
输出文件名 法治信息结果.xlsx 可自定义

第二步:抓取网站

默认网站列表(管理员可调整):

https://www.zhrd.gov.cn/           # 珠海市人大
https://www.zhuhai.gov.cn/          # 珠海市政府
https://www.zhzf.gov.cn/            # 珠海市委政法委
http://www.zhcourt.gov.cn/          # 珠海市中级人民法院
https://www.zhuhai.jcy.gov.cn/      # 珠海市人民检察院
https://ga.zhuhai.gov.cn/           # 珠海市公安局
https://zhjy.zhuhai.gov.cn/         # 珠海市教育局
https://zhrsj.zhuhai.gov.cn/        # 珠海市人社局
https://wgltj.zhuhai.gov.cn/        # 珠海市文体旅游局
https://audit.zhuhai.gov.cn/        # 珠海市审计局
https://www.zhuhai.gov.cn/sfj/gkmlpt/index    # 珠海市司法局
https://www.zhuhai.gov.cn/scjgj/gkmlpt/index  # 珠海市市场监管局
https://fgj.zhuhai.gov.cn/          # 珠海市发改局
https://swj.zhuhai.gov.cn/          # 珠海市商务局
https://www.zhuhai.gov.cn/zwfwglj/gkmlpt/index # 珠海市政务服务局

抓取策略:

  1. 优先抓取首页:使用 WebFetch 工具获取每个网站首页,提取文章列表
  2. 定向搜索补充:对首页抓取不成功的网站,使用 WebSearch 工具以 site:域名 关键词 方式搜索
  3. 要闻栏目深挖:对 zhuhai.gov.cn 额外抓取 /xw/xwzx/zhyw/index.html 及分页(index_2.html, index_3.html...)
  4. 已知限制:
    • zhcourt.gov.cn(法院网)通常 fetch 失败,需通过 WebSearch 搜索
    • zhzf.gov.cn(政法委)有内容策略限制
    • 司法局/市场监管局/政务服务局的信息公开平台为动态加载页面,首页抓取常为空,需 WebSearch 补充

第三步:筛选文章

对每篇文章按以下规则判定是否收录:

  1. 关键词匹配:标题或摘要中至少包含一个检索关键词
  2. 时间过滤:发布日期在指定时间范围内
  3. 去重:相同URL的文章只保留一条

收录优先级:

  • 直接相关(标题含"法治""立法""执法""司法"等核心词)→ 必收
  • 间接相关(执法公告、行政处罚、普法宣传等)→ 酌情收录

第四步:生成Excel

使用 Python openpyxl 生成结构化Excel,格式要求:

列结构:

列 列名 宽度 说明
A 序号 6 自动编号
B 文章标题 52 完整标题
C 文章链接(网址) 58 可点击超链接
D 发布日期 13 YYYY-MM-DD格式
E 来源 28 网站/部门名称

样式规范:

  • 标题行:第1行(合并A1:E1),蓝色(#2F5496)加粗14号微软雅黑
  • 副标题行:第2行(合并A2:E2),灰色(#666666)10号字,显示检索时间范围和关键词
  • 表头:第3行,白字蓝底(#2F5496),加粗12号字
  • 数据行:11号微软雅黑,隔行浅蓝底色(#F2F7FB)
  • 链接列:蓝色(#0563C1)下划线,可点击
  • 所有单元格:细边框(#B4C6E7),垂直居中
  • 底部备注:灰色9号字,注明抓取时间及数据局限性

生成脚本模板:见 scripts/generate_report.py

使用示例

管理员说:

信息助手网址:
https://www.zhrd.gov.cn/
https://www.zhuhai.gov.cn/
...(省略)
检索近2周,检索内容:关于法治建设的信息

将搜索到的信息汇总生成Excel文件

→ 技能自动执行全部四步,最终交付Excel文件。

注意事项

  1. 并发抓取:独立网站使用并行 WebFetch 调用,减少耗时
  2. 容错处理:单个网站抓取失败不影响整体流程,在报告备注中说明
  3. 去AI味:最终Excel不含"使用说明"列或冗余备注,保持简洁公文风格
  4. 文件命名:默认输出到当前工作目录,文件名参考管理员指定

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value95/100

Highlights

  • 直接解决政府网站法治建设信息抓取与汇总的核心痛点
  • 支持自定义网站列表、检索关键词和时间范围,灵活性强
  • 覆盖立法、执法、司法、守法普法、涉外法治、全面依法治市等主题
Trigger Precision85/100

Highlights

  • 触发词覆盖合理,包含核心关键词和场景描述
  • 边界清晰,不易与其他Skill重叠
Structure and Standards88/100

Highlights

  • Phase/步骤清晰,有出口条件
  • 含端到端示例,frontmatter完整
  • 单文件≤500行,结构良好
Execution Reliability82/100

Highlights

  • 工具来源明确,参数正确
  • 覆盖主要异常,不可逆操作有确认机制
  • 并发抓取与容错处理机制完善
Evidence Verifiability (mean of the first four)88/100

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.

  • audit.zhuhai.gov.cn
  • fgj.zhuhai.gov.cn
  • ga.zhuhai.gov.cn
  • swj.zhuhai.gov.cn
  • wgltj.zhuhai.gov.cn
  • www.zhcourt.gov.cn
  • www.zhrd.gov.cn
  • www.zhuhai.gov.cn
  • www.zhuhai.jcy.gov.cn
  • www.zhzf.gov.cn
  • zhjy.zhuhai.gov.cn
  • zhrsj.zhuhai.gov.cn

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

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.