Agent Skillsyifanfeng97/Hyper-Extract › record-designer

record-designer

GitHub

用于设计 YAML 提取模板,支持 model、list、set 三种记录类型。根据输入规范定义字段、标识符及去重规则,生成结构化数据提取方案,并区分 Schema 与 Guideline 的职责。

hyperextract-skills/record-designer/SKILL.md yifanfeng97/Hyper-Extract

Trigger Scenarios

用户需要提取结构化记录或列表 用户要求对实体进行去重处理 用户提到设计模型模板或创建项目列表提取

Install

npx skills add yifanfeng97/Hyper-Extract --skill record-designer -g -y
More Options

Non-standard path

npx skills add https://github.com/yifanfeng97/Hyper-Extract/tree/main/hyperextract-skills/record-designer -g -y

Use without installing

npx skills use yifanfeng97/Hyper-Extract@record-designer

指定 Agent (Claude Code)

npx skills add yifanfeng97/Hyper-Extract --skill record-designer -a claude-code -g -y

安装 repo 全部 skill

npx skills add yifanfeng97/Hyper-Extract --all -g -y

预览 repo 内 skill

npx skills add yifanfeng97/Hyper-Extract --list

SKILL.md

Frontmatter
{
    "name": "record-designer",
    "description": "Design YAML extraction templates for record types (model, list, set).\nUse when user says: \"design model template\", \"create item list extraction\", \"extract items\", \"deduplicate entities\".\nTrigger: User wants to extract structured records, lists, or deduplicated entities.\nSkip: User mentions graph, relations, or knowledge graph (use graph-designer instead)."
}

Record Designer: model/list/set

Input from Brainstorm

Receive design specs from brainstorm:

  • What fields to extract
  • Field types and requirements
  • Deduplication needs (for set)

Workflow

  1. Confirm type (model/list/set)
  2. Design fields (output.fields)
  3. Configure identifiers (identifiers.item_id for set)
  4. Set display (display.label)
  5. Write guideline (guideline)
  6. Review and output YAML

Critical: Output vs Guideline

Key Principle: Schema defines "WHAT", Guideline defines "HOW TO DO WELL". DO NOT repeat schema definitions in guideline.

Guideline Should Have Guideline Should NOT Have
Extraction strategy ("extract key information for...") Field definitions ("field_a is for...")
Quality requirements ("maintain format consistency") Type descriptions ("type field should be...")
Deduplication rules (for set type) Required/optional clarifications
Common mistakes to avoid Default value explanations

Type Confirmation

Type Identifiers Use Case
model Not needed Single object
list Not needed List of items
set item_id required Deduplicated entities

Output Template

language: en

name: [TemplateName]
type: [model/list/set]
tags: [...]
description: '...'

output:
  description: '...'
  fields:
    - name: field_name
      type: str/int/float/list
      description: '...'
      required: true/false
      default: '...'

guideline:
  target: 'You are a [domain] expert...'
  rules: [...]

identifiers: {}  # Or item_id for set

display:
  label: '{field_name}'

Type-Specific Output

model

type: model
identifiers: {}  # Not needed

list

type: list
identifiers: {}  # Not needed

set

type: set
identifiers:
  item_id: [deduplication field]

Cases by Type

Important: Load only the case matching user's selected type.

Type Case File
model cases/earnings-summary.yaml
list cases/product-features.yaml
set cases/entity-registry.yaml

Reference Files

Important: Check these files only when needed for the specific design task.

Topic When to Check
references/field.md When designing output.fields
references/identifier.md For set type only

Design Checklist

  • All fields have clear semantic meaning?
  • Field types are appropriate (str/int/float/list)?
  • Required vs optional is reasonable?
  • Default values are safe/meaningful?
  • For set: item_id can uniquely identify records?
  • Display label references correct fields?

Guideline (Must Check)

  • No field definitions repeated from schema?
  • Extraction strategy defined?
  • Quality requirements specified?
  • Common mistakes warned?
  • For set: deduplication rules clear?

Multi-language

  • zh descriptions use pure Chinese
  • en descriptions use pure English

Version History

  • e698804 Current 2026-07-25 05:13

Same Skill Collection

hyperextract-skills/brainstorm/SKILL.md
hyperextract-skills/graph-designer/SKILL.md
hyperextract-skills/multilingual/SKILL.md
hyperextract-skills/SKILL.md
hyperextract-skills/template-optimizer/SKILL.md
hyperextract-skills/yaml-validator/SKILL.md

Metadata

Files
0
Version
ecba6c5
Hash
f921463c
Indexed
2026-07-25 05:13

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 04:12
浙ICP备14020137号-1 $mapa de visitantes$