AgentSkillsCN

logics-duplicate-detector

检测Logics文档中潜在的重复内容。当Codex需要扫描需求、待办事项、任务或规格的标题与内容,查找相似条目,并提出合并、拆分或去重的建议时,这一功能尤为实用。

SKILL.md
--- frontmatter
name: logics-duplicate-detector
description: Detect potential duplicates across Logics documents. Use when Codex should scan titles and content of requests/backlog/tasks/specs to find similar items and propose merge, split, or de-duplication.

Duplicate detection

Run

bash
python3 logics/skills/logics-duplicate-detector/scripts/find_duplicates.py --min-score 0.55

Output

  • Prints candidate pairs with a similarity score and file paths.
  • Use the report to decide: merge docs, close one, or split responsibilities.

Notes

  • Best-effort scoring (title + light content similarity), not a truth oracle.
  • By default it ignores docs sharing the same slug across stages (often request↔backlog↔task chains); use --include-related to include them.