Up
Down
Comment
collect
Report
share

启发式提示词评估器
专门解决小伙伴在写技能文档或者提示词的时候,难以判断它们的质量如何。
这里写了一个专门针对英文提示词的启发式打分脚本。
会分两层进行评分:Prompt 结构/上下文压力评分。
比如写技能文档的时候:
入口SKILL.md的目标可以定在综合90分以上。其他参考文档可以定在综合80分以上。
运行示例:
[结构层]
- 长行 (-0分): 0 行超过 80 字符,最长 78 字符
- 稀有字符 (-0分): 0 个独特稀有字符
- 非标准分隔符 (-0分): 0 个箱线/块状分隔符
- 长边界跨度 (-0分): 0 个跨度超过 400 字符的边界块,最大 0
- 嵌套深度 (-0分): 最大嵌套深度 3
- 连续特殊符号 (-0分): 0 段 4+ 连续特殊符号
- 边界完整性 (-0分): 0 个未闭合或错配边界
[上下文层]
- 体量估算 (-8分): 估算 901 tokens,区间 758-1103,置信度 low,体量级别: 较长
- 长段未切分 (-0分): 0 段超过 220 字符,最长 78 字符
- 段落/结构块负载 (-0分): 0 个 prose 段落超过 240 tokens,0 个结构块超过各自阈值,最大 81
- 远距离重复 (-0分): 0 组重复单元跨越超过 80 个单位位置
- 语言切换密度 (-0分): 0 次中英切换,密度 0.0
[非计分提示]
- 全角/半角混用: 否
- 检测到结构化块: 14 个
下载链接:
DeclarationAll articles on this site, unless otherwise indicated or marked, are original publications of this site. Any individual or organization is prohibited from copying, stealing, collecting, or publishing the content of this site to any website, book, or other media platform without the consent of the author. If the content of this site infringes upon the legitimate rights and interests of the original author, please contact us for processing: DMCA Report
Follow Us














This uploader feels lonely