Skip to content
Back to skills

Gap Normalization

ASecurity

SOP: 统一不同来源的 gap 格式为标准 GapRecord

  • 417 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 27, 2026
researchgo

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add yogsoth-ai/de-anthropocentric-research-engine --skill gap-normalization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gap Normalization?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gap Normalization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yogsoth-ai-gap-normalization/badge)](https://www.skillsdirectory.com/skills/yogsoth-ai-gap-normalization)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gap-normalization
description: "SOP: 统一不同来源的 gap 格式为标准 GapRecord"
version: 1.0.0
category: hypothesis-formation
type: sop
campaign: gap-prioritization
input: "来自不同来源的原始 gap 条目(字符串列表、结构化对象、或混合格式)"
output: "GapRecord[] — 标准化的 gap 记录数组"
dependencies:
  skills:
    - subagent-spawning
---

# Gap Normalization

统一不同来源的 gap 格式为标准 GapRecord。

## HARD-GATE

<HARD-GATE>
- 输入不得为空:必须包含至少 1 条原始 gap 条目
- 每条输出 GapRecord 必须包含非空的 id、title、description、domain、source 字段
- 若任意必填字段无法提取,该条目标记为 `status: "incomplete"` 而非静默丢弃
</HARD-GATE>

## Pipeline

1. **前置检查**: 验证输入非空;统计条目数量;识别输入格式(纯文本 / JSON / 混合)
2. **格式识别**: 逐条判断格式类型——自由文本描述、部分结构化对象、完整结构化对象
3. **字段提取**: 从每条原始条目提取 id(生成或复用)、title、description、domain、source、evidence、context
4. **标准化**: 对 title 去噪截断(≤120字符);description 补全至完整句子;domain 映射到受控词表
5. **验证**: 检查每条 GapRecord 必填字段完整性;不完整条目打标 `status: "incomplete"` 并记录缺失字段
6. **输出**: 返回 GapRecord[] 及处理摘要(总数 / 完整数 / 不完整数)

## Output Format

```json
{
  "records": [
    {
      "id": "gap_001",
      "title": "短标题(≤120字符)",
      "description": "完整描述(1-3句)",
      "domain": "领域标签",
      "source": "来源标识",
      "evidence": "支持证据(可选)",
      "context": "背景信息(可选)",
      "status": "complete | incomplete",
      "missing_fields": []
    }
  ],
  "summary": {
    "total": 0,
    "complete": 0,
    "incomplete": 0
  }
}
```

Files in this skill

  • SKILL.md1.9 KB
  • prompt.md2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.