skills/bid-cover-formatter/SKILL.md
Format tender/bidding document covers from Markdown to HTML-styled Markdown. Use when converting Chinese document covers (招标文件/投标文件/报价文件/商务文件/技术文件/技术协议/采购文件) to formatted output with Chinese fonts (黑体/宋体), pt-based spacing, center alignment, and proper layout for A4 printing.
npx skillsauth add foxian/skills bid-cover-formatterInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
将招投标书封面 Markdown 内容转换为符合打印规范的 Markdown 格式(使用 HTML 标签表示样式),便于后续转换为 Word 文档。
识别以下类型文档为封面:
识别信号:以下任一条件满足即视为封面
输入内容分析:
默认假设(如果信息缺失):
日期格式标准化:
2025年12月 或 2025.122025年12月(统一使用"年月"格式,不添加空格)卷册标识空格规则:
第二卷技术部分、第三卷技术分册第二卷 技术部分、第三卷 技术分册(在"卷"字后添加空格)项目信息处理规则:
字号对照表(中文字号 → pt): | 中文字号 | pt 值 | |---------|-------| | 一号 | 26pt | | 二号 | 22pt | | 三号 | 16pt | | 四号 | 14pt | | 小三号 | 15pt |
字体规范:
行高基准:1 行 ≈ 22pt
<div style="font-family: 黑体; font-size: 22pt; font-weight: normal; margin-top: 0pt; text-align: center;">{公司名称}</div>
<div style="font-family: 黑体; font-size: 22pt; font-weight: normal; text-align: center;">{项目信息}</div>
<div style="font-family: 黑体; font-size: 22pt; font-weight: normal; margin-top: 11pt; text-align: center;">{文件类型}</div>
<div style="margin-top: 176pt;"></div>
<div style="font-family: 黑体; font-size: 22pt; font-weight: normal; margin-top: 0pt; text-align: center;">{卷册标识} {卷册名称}</div>
<div style="margin-top: 242pt;"></div>
<div style="font-family: 黑体; font-size: 22pt; font-weight: normal; margin-top: 0pt; text-align: center;">报价人:{报价人全称}</div>
<div style="font-family: 黑体; font-size: 22pt; font-weight: normal; margin-top: 11pt; text-align: center;">{日期}</div>
根据实际内容行数灵活调整:
检查输入内容是否为封面文档:
按语义分段提取信息:
根据解析内容应用格式模板:
返回完整的 Markdown 代码
<div> 标签包裹文本内容来表示样式<div> 设置 margin-top,不使用 <br><div> 独占一行,标签内部无缩进(保持 Markdown 简洁)<div> 标签必须包含 text-align: center; 样式,确保内容居中对齐。国能信控技术股份有限公司
陕西公司店塔电厂MIS系统升级改造项目燃料与检修管理系统、备份等设备
报价文件
第二卷技术部分
报价人:马鞍山市睿峰信息技术有限公司
2025年12月
<div style="font-family: 黑体; font-size: 22pt; font-weight: normal; margin-top: 0pt; text-align: center;">国能信控技术股份有限公司</div>
<div style="font-family: 黑体; font-size: 22pt; font-weight: normal; text-align: center;">陕西公司店塔电厂MIS系统升级改造项目燃料与检修管理系统、备份等设备</div>
<div style="font-family: 黑体; font-size: 22pt; font-weight: normal; margin-top: 11pt; text-align: center;">报价文件</div>
<div style="margin-top: 176pt;"></div>
<div style="font-family: 黑体; font-size: 22pt; font-weight: normal; margin-top: 0pt; text-align: center;">第二卷 技术部分</div>
<div style="margin-top: 242pt;"></div>
<div style="font-family: 黑体; font-size: 22pt; font-weight: normal; margin-top: 0pt; text-align: center;">报价人:马鞍山市睿峰信息技术有限公司</div>
<div style="font-family: 黑体; font-size: 22pt; font-weight: normal; margin-top: 11pt; text-align: center;">2025年12月</div>
输出 Markdown 前必须检查:
<div> 而非 <br><div> 独占一行<div> 都包含 text-align: center;tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
testing
Use when creating, testing, and iterating Agent skills with validation. Extends skill-creator with dual validation modes.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.