jianli-pangzhan-docx
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 "jianli-pangzhan-docx" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-7fe396d1c99dbb42ab88a879a2f4de0c942669466dc6c5a87e6f7ebcfb207de0. Verify the upstream source and version against https://skillhub.cn/skills/user_8c865e02/jianli-pangzhan-docx 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
Automatically generate standardized 'Supervision On-site Record' Word (.docx) documents. When the user provides only on-site record content and photos, it produces a docx that complies with engineering document standards and matches the layout of existing 'On-site Record/Notice' templates. Built-in preset fields include project name, supervising unit/supervisor, construction unit/constructor, and chief or professional supervising engineer. A Tencent IMA knowledge-base channel is reserved—when citing standards, it preferentially queries the IMA knowledge base and, if no result, then searches online.
Introduction source: third_party · user_8c865e02 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Limits and differences
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: 监理旁站记录-docx
description: >-
自动生成规范的《监理旁站记录》Word(.docx)文档。当用户需要制作施工监理旁站记录、
且希望仅提供旁站内容与现场照片即可生成符合工程资料规范、排版与既有《旁站记录/通知单》
模板一致的 docx 时使用。本技能内置预设字段(项目名称、监理单位/监理方、施工单位/施工方、
总监理工程师或专业监理工程师),并预留腾讯 IMA 知识库通道——引用规范时优先调取 IMA 知识库,
无果再联网精确查找。监理旁站记录-docx
将用户提供的旁站内容(文字)与现场照片,优化生成为一份排版规范、风格统一、
可直接归档的《监理旁站记录》.docx 文档。输出严格参照工作区内既有《旁站记录》模板的
页面、表格结构、字体、边框、列宽与内容顺序;并在模板基础上预留监理单位、总监理工程师/专业
监理工程师签字行,以及带边框、排版整齐的影像资料区。
何时使用
- 用户要生成「监理旁站记录」「旁站监理记录」等工程资料文档。
- 用户给出旁站经过的文字描述 + 若干现场照片,希望一键生成规范 docx。
- 用户希望规范引用(如 GB 50268-2008 等)优先来自其 IMA 知识库,缺失时再联网查找。
预设字段(必读)
生成前先读取 assets/preset_config.json,其中 meta 段已预设:
project_name项目名称(对应表格「工程名称」)supervisor_name监理单位 / 监理方名称construction_name施工单位 / 施工方名称engineer_name总监理工程师或专业监理工程师姓名recorder_name旁站监理人员姓名code编号、date旁站日期、part_process关键部位工序、start_time/end_time起止时间
规则:
- 预设已填且本次未提供 → 沿用预设。
- 本次用户提供 → 以用户提供为准(脚本会自动覆盖预设)。
- 预设为空且本次未提供 → 向用户一次性追问缺失的必填项(工程名称、关键部位工序、起止时间、日期)。
ima段:知识库 ID/名称可预设,也可在对话中「后期设置」;enabled=true时启用 IMA 优先。
工作流程
1. 读取预设与通道
读 assets/preset_config.json,拿到 meta 与 ima 配置。
2. 收集并补全信息
用户通常只给「旁站内容 + 照片」。据预设与用户提供,确定 meta 全部字段;缺失必填项
(工程名称、旁站的关键部位/关键工序、起止时间、日期)若预设也未填,则向用户一次性补充询问。
3. 规范引用(IMA 优先)
若旁站内容涉及规范条文,按 references/ima_integration.md 执行:
- 优先从腾讯 IMA 知识库调取(预设了
knowledge_base_id/name则定向该库;否则跨用户知识库检索)。 - IMA 无果 → 联网查找,但编号与名称必须准确(见
references/norm_guidance.md:须含年号、以权威来源核验、禁止臆造)。 - 将规范要点融入文本,并以「(依据 GB ×××-×××× 第×条)」标注出处。
4. 优化与结构化为规范文本
把用户的原始、口语化、碎片化内容,改写为专业、客观的监理用语,并组织为两段主文:
- 旁站的关键部位、关键工序施工情况:建议按 7 小节展开——
- 施工人员情况 2. 施工材料情况 3. 施工机械设备情况
- 安全技术交底情况 5. 施工过程详细记录 6. 关键参数检测记录 7. 监理工作开展情况
- 发现的问题及处理情况:每条「问题现象 → 处理措施 → 复查结果」。
多行文本用 \n 分隔(脚本会按 <w:br/> 换行,与模板一致)。
5. 组装输入 JSON
构造如下结构,写入临时 .json(置于当前工作目录):
{
"meta": {
"project_name": "开元大道西延",
"supervisor_name": "××监理有限公司",
"construction_name": "河南六建",
"engineer_name": "张三",
"recorder_name": "李帅兵",
"code": "BZ-2026-007",
"date": "2026-07-10",
"part_process": "K0+000-K0+500 段道路水泥混凝土面层浇筑",
"start_time": "2026-07-10 07:00",
"end_time": "2026-07-10 17:30"
},
"construction_situation": "1. 施工人员情况\n现场管理人员6人……\n2. 施工材料情况\n……",
"problems_handling": "1. 高温天气下混凝土表面水分蒸发较快……\n处理:……",
"images": [
{"path": "C:/.../photo1.jpg", "caption": "图1:混凝土浇筑现场"},
{"path": "C:/.../photo2.jpg", "caption": "图2:试块留置"}
],
"docx_options": {"title_spaced": true, "reserve_image_slots": 4, "bold_subsections": false}
}
- 用户上传的照片会得到本地路径,直接填入
images[].path,并补一句中文图注caption。 - 未上传照片时,
images置[]或不填,脚本自动生成带边框的「照片预留位置」占位格。
6. 调用生成脚本
使用隔离 Python(含 python-docx)执行:
python <skill>/scripts/generate_docx.py <input.json> [output.docx]
脚本会:
- 自动以预设补全
meta中缺失字段; - 忠实复刻模板:A4 页面、左右 2.18cm/上下 2.54cm 页边距、6 列「Table Grid」表格、
全部
single/sz=4细边框、中文宋体/西文 Times New Roman、标题 18pt 加粗居中、正文 12pt; - 按既定内容顺序输出:标题 → 工程名称/编号 → 监理单位/旁站日期 → 关键部位工序/施工单位 → 起止时间 → 施工情况 → 问题及处理 → 总监或专监签字 / 旁站监理人员签字;
- 在表格下方生成「影像资料(旁站照片)」区:2 列网格、每格带边框,图片缩放居中并附图注; 照片不足时以「照片预留位置」空格补齐,保证网格整齐。
7. 交付
用 present_files 将生成的 .docx 交付给用户预览/下载,并简要说明本次使用的预设与规范出处。
目录结构
监理旁站记录-docx/
├── SKILL.md
├── assets/
│ └── preset_config.json # 预设字段 + IMA 通道配置
├── references/
│ ├── ima_integration.md # IMA 知识库优先调取流程
│ └── norm_guidance.md # 规范编号准确性指引
└── scripts/
└── generate_docx.py # 忠实复刻模板的 docx 渲染器
注意事项
- 输出格式、字体、边框、内容顺序以工作区内既有《旁站记录》模板为唯一权威参照。
- 监理单位、总监理工程师/专业监理工程师签字行为满足用户「预设」要求而在模板基础上新增, 视觉风格(字体/边框/列宽)与模板保持一致。
- 联网查找规范时,编号带年号、名称完整、以权威来源核验,绝不臆造。
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 面向工程监理专业场景,解决生成规范《监理旁站记录》Word 文档的实际痛点
- 支持预设字段、IMA 知识库优先引用、规范条文自动标注,提升专业性和效率
Highlights
- 触发词精准覆盖用户使用场景,边界清晰,无歧义
Highlights
- Phase/步骤清晰,有端到端示例和完整目录结构,frontmatter 规范
Highlights
- 工具来源明确,参数正确,覆盖主要异常,交付机制可靠
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.
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.