Tender/Bidding Document Cover Formatting Skill
Skill Purpose
Convert Markdown content of tender/bidding document covers into Markdown format compliant with printing specifications (using HTML tags for styling), facilitating subsequent conversion to Word documents.
Applicable Scenarios
Identify documents of the following types as covers:
- Titles containing keywords such as "招标文件 (Tender Document)", "投标文件 (Bidding Document)", "报价文件 (Quotation Document)", "商务文件 (Commercial Document)", "技术文件 (Technical Document)", "技术协议 (Technical Agreement)", "采购文件 (Procurement Document)"
- Content structure conforms to cover characteristics (company information, project information, tenderee/quoter/bidder information, etc.)
Core Requirements
1. Cover Identification Rules
Identification Signals: A document is considered a cover if any of the following conditions are met:
- Title line contains: Quotation Document, Commercial Document, Technical Document, Technical Agreement, Procurement Document
- Content includes information such as quoter, bidder, etc.
- Structural features: Company/project information at the top, quoter/date information at the bottom
2. Content Parsing Rules
Input Content Analysis:
- Extract all non-empty lines
- Identify semantic groups:
- Company Information Section: Top 1-2 lines, containing company name and project information
- If there is only one line but includes both company name and project information, intelligently separate them (identify the boundary between company name and project description)
- Volume Information Section: Middle part, containing volume identification (e.g., "Volume 2"), document type (e.g., "Technical Part"), "Quotation Document", etc.
- Quoter Information Section: Bottom 2-3 lines
- 2 lines: Quoter (or Procurer) + Date
- 3 lines: Procurer + Procurement Institution + Date
Default Assumptions (if information is missing):
- If volume information is incomplete, retain existing content but adjust spacing
- If "Volume 2" information is missing, do not adjust the format
- The number of content lines may vary, but try to keep it within one page as much as possible
2.1 Text Formatting Rules
Date Format Standardization:
- Input: or
- Output: (Unify to "YYYY年MM月" format, no spaces)
Volume Identification Spacing Rules:
- Input: ,
- Output: , (Add a space after "卷 (Volume)")
Project Information Processing Rules:
- Keep project name and project subject on the same line, do not split into paragraphs
- Use the original input content directly for the second line, including the complete project description
3. Markdown Output Format Specifications (Using HTML Tags for Styling)
Font Size Conversion Table (Chinese Font Size → pt):
| Chinese Font Size | pt Value |
|---|
| 一号 | 26pt |
| 二号 | 22pt |
| 三号 | 16pt |
| 四号 | 14pt |
| 小三号 | 15pt |
Font Specifications:
- 黑体: Used for all cover information (company information, project information, volume information, quoter information, date)
Line Height Benchmark: 1 line ≈ 22pt
Format Templates
Standard Cover Format (8 Lines)
markdown
<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>
Simplified Cover Format (Fewer Than 8 Lines)
Adjust flexibly according to the actual number of content lines:
- If volume information (Line 5) is missing, adjust the size of the middle blank space
- If date (Line 8) is missing, remove the corresponding div
- Core Principle: Maintain visual balance and keep content within one page as much as possible
Processing Flow
Step 1: Identify Cover
Check if the input content is a cover document:
- Scan the title line to find keywords
- Analyze content structural features
- Proceed if confirmed, otherwise prompt the user
Step 2: Parse Content
Extract information by semantic sections:
- Company Information Section (Top)
- Volume Information Section (Middle)
- Quoter Information Section (Bottom)
Step 3: Generate Markdown
Apply format templates based on parsed content:
- Fill in placeholders
- Adjust before-paragraph spacing and blank spaces
- Ensure font and font size specifications are followed
- Output in Markdown format (using HTML tags for styling)
Step 4: Output Result
Return the complete Markdown code
Important Notes
- Output Format: Output as a Markdown file, but use HTML tags to wrap text content for styling
- Font Name: Uniformly use "黑体"
- Font Size Unit: Uniformly use 22pt (二号)
- Spacing Unit: Uniformly use pt
- Date Format: Keep the complete format "YYYY年MM月" (no spaces), do not abbreviate to "YYYY.MM"
- Full Name of Quoter: Keep the full business license name, do not abbreviate
- One-Page Limit: Ensure content layout is within one A4 page
- Blank Line Handling: Use empty to set margin-top, do not use
- Tag Format: Each occupies a single line, no indentation inside the tag (keep Markdown concise)
- Center Alignment: All tags containing text must include style to ensure content is center-aligned
Example
Input (Markdown)
markdown
国能信控技术股份有限公司
陕西公司店塔电厂MIS系统升级改造项目燃料与检修管理系统、备份等设备
报价文件
第二卷技术部分
报价人:马鞍山市睿峰信息技术有限公司
2025年12月
Output (Markdown Using HTML Tags)
markdown
<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>
Quality Check List
Must check before outputting Markdown: