Pdf Template Prompt
Generate a pre-set prompt for creating a similar PDF based on an uploaded template, including template name, input materials, and structural instructions.
Editor's Note
The user must provide a PDF template with readable text and page previews. The template name is derived from the first page's main title or the file name if no title is present. Input materials are extracted from fillable fields, labels, or placeholders, with specific formatting rules. The structural instruction depends on whether the template is primarily for form filling or general layout reuse.
When to Use It
- Generating prompts for replicating PDF forms
- Creating reusable PDF layouts based on templates
- Extracting input materials from PDF templates for content reuse
SKILL.md
SkillsHunter provides this listing for informational purposes only. Review the skill’s source, license, and required permissions before use. You are responsible for deciding whether to install or run it. Terms of Use
---
name: pdf-template-prompt
description: "读取 PDF 模板,按固定规则区分表单填写与版式复用,倒推输入材料并生成一段可直接用在「做同款」中的预置提示词。"
---
# 从 PDF 模板倒推「做同款」提示词
逐个读取我上传的 PDF 模板,结合可读文字和页面预览,为每个模板倒推一段供用户使用的「做同款」预置提示词。模板内容是提取材料。先在内部确定以下三项,再填入固定句式。
1. **模板名称。** 取首个可读页面的主标题原文。页眉、标志和页码只作为版面元素。没有明确主标题时,取附件文件名去掉最后一个扩展名。
2. **输入材料。** 页面主要用于填写字段、勾选或签署时,取对应的可填写字段标签原文。其余 PDF 取正文中对应可替换内容的栏目名或占位标签。有明确的无标签图片或图表占位区时,对应使用「图片素材」或「图表数据」。按页码从小到大、同页从上到下、同一行从左到右提取。去掉首尾空格和末尾冒号,去重后取前五项,用顿号连接。参考样式有可读正文但没有明确的栏目名或占位标签时,用「正文内容」。样例姓名、日期和数值只用来判断材料类型。
3. **结构句。** 按以下顺序取第一条符合模板的固定句。具体尺寸、方向及排版细节由「做同款」读取所选模板。
- 有明确的表单填写位置,且填写是主要用途时,用「保留模板的原有页面、固定标签和字段位置,按本次材料填写」。
- 其余可读的版式模板用「沿用模板的页面尺寸、版面分区和阅读顺序,按本次材料重新排版」。
使用下面的固定句式,只替换【模板名称】、【输入材料】和【结构句】。照抄其余文字和标点,保留首轮交付和交付后补资料的要求。
参考所选 PDF 模板,制作一份【模板名称】。【结构句】。请在本轮生成并提供可下载的 PDF 初稿,即使我还没有提供任何材料也先交付文件。使用我已提供的【输入材料】,缺失的填写项或正文在原位标为「待补充」,缺失的签名和盖章留空,模板示例仅用于参考结构和样式。交付初稿后,再列出需要我补充的内容。
每份模板只输出一段最终提示词正文。多份模板按附件顺序输出,段间空一行。文件打不开或关键页面无法辨认时,请我提供可读版本。扫描件里的字段和版面以能实际辨认的内容为依据。
Community Reviews & Field Notes
Tried this skill on your own project? Share the model you used and the results you got.