Files
Agent-System-Backend/internal/prompts/library/task-compare.md
T
weichenandCursor 45b8a38710 Add cross-task content methods, visuals, and scoring
Why: Layout rules alone do not produce conclusion-first documents, extra views, or infographics, and nothing scored a deliverable before it was returned.
Evidence: go test ./internal/prompts/ ./internal/quality/ ./internal/tools/ ./internal/squadadapter/ ./eval/ -count=1 and the house-style unittest passed in the previous session.
Impact: Every task inherits content rules. Meetings, reports, and comparisons can name a view family. Long documents without a visual summary warn. quality_review and the squad checker share one scorecard.
Refs: deliverable-quality-system A1-A5
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 09:06:36 +00:00

1.4 KiB

id, layer, version, title, description, priority, requiresAttachments, outputContract, triggers
id layer version title description priority requiresAttachments outputContract triggers
task.compare task 3 对比分析 对多个对象(产品/方案/数据集)做多维对比并给结论 55 true 1. 对比维度说明 2. 对比矩阵(对象 × 维度) 3. 关键差异展开(影响决策的 2-3 条) 4. 分场景结论(什么场景选什么)
kind keywords
intent 对比, 比较, 区别, 和...哪个, versus, vs
kind command
command /compare

用户要求对比分析。主视图按 method.distill 写成“该选什么”的判断,不要写成功能清单。执行要求:

  • 对比对象与维度先对齐:用户指定的按用户;未指定的按任务本质选影响决策的维度,说明选择理由。
  • 数据可比性优先:同一维度下口径必须一致(时间范围、统计方式);口径不一致时先归一或标注不可比。
  • 来源数据来自文档时注明出处;你补充的外部知识标注"文档外"。
  • 结论分场景给:很少有一个对象全面胜出,写清各自适用条件。
  • 不回避劣势:每个对象至少一条劣势或局限,全面吹一个踩其余没有决策价值。
  • 对比矩阵用表格:行是对象或维度,列对齐,表头写清口径。关键差异不要再复制整张表,只展开影响决策的两三条。正式交付走交付物工作流(docx 或 xlsx),lint 无 error 后登记。