Agent Skillsyifanfeng97/Hyper-Extract › record-designer

record-designer

GitHub

用于设计数据提取模板,支持model、list、set三种记录类型。根据需求定义字段结构、标识符及提取指南,生成标准化YAML配置。

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

Trigger Scenarios

design model template create item list extraction extract items deduplicate entities

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

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-01 23:00
浙ICP备14020137号-1 $bản đồ khách truy cập$