Agent SkillsJellypod-Inc/cartoon-studio › hyperframes-registry

hyperframes-registry

GitHub

用于在 HyperFrames 项目中安装、发现并配置可复用的 Blocks 和 Components。支持通过 CLI 添加资源,自动处理文件路径,并提供将 Block 嵌入宿主组合或合并 Component 代码至 HTML/CSS/JS 的详细接线指南与属性说明。

.agents/skills/hyperframes-registry/SKILL.md Jellypod-Inc/cartoon-studio

触发场景

用户提及 hyperframes add 命令 需要安装或发现注册表中的 Block 或 Component 需要将已安装的组件接线到现有 composition 中 涉及 hyperframes.json 配置或安装路径问题

安装

npx skills add Jellypod-Inc/cartoon-studio --skill hyperframes-registry -g -y
更多选项

非标准路径

npx skills add https://github.com/Jellypod-Inc/cartoon-studio/tree/main/.agents/skills/hyperframes-registry -g -y

不安装直接使用

npx skills use Jellypod-Inc/cartoon-studio@hyperframes-registry

指定 Agent (Claude Code)

npx skills add Jellypod-Inc/cartoon-studio --skill hyperframes-registry -a claude-code -g -y

安装 repo 全部 skill

npx skills add Jellypod-Inc/cartoon-studio --all -g -y

预览 repo 内 skill

npx skills add Jellypod-Inc/cartoon-studio --list

SKILL.md

Frontmatter
{
    "name": "hyperframes-registry",
    "description": "Install and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add, installing a block or component, wiring an installed item into index.html, or working with hyperframes.json. Covers the add command, install locations, block sub-composition wiring, component snippet merging, and registry discovery."
}

HyperFrames Registry

The registry provides reusable blocks and components installable via hyperframes add <name>.

  • Blocks — standalone sub-compositions (own dimensions, duration, timeline). Included via data-composition-src in a host composition.
  • Components — effect snippets (no own dimensions). Pasted directly into a host composition's HTML.

When to use this skill

  • User mentions hyperframes add, "block", "component", or hyperframes.json
  • Output from hyperframes add appears in the session (file paths, clipboard snippet)
  • You need to wire an installed item into an existing composition
  • You want to discover what's available in the registry

Quick reference

hyperframes add data-chart              # install a block
hyperframes add grain-overlay           # install a component
hyperframes add shimmer-sweep --dir .   # target a specific project
hyperframes add data-chart --json       # machine-readable output
hyperframes add data-chart --no-clipboard  # skip clipboard (CI/headless)

After install, the CLI prints which files were written and a snippet to paste into your host composition. The snippet is a starting point — you'll need to add data-composition-id (must match the block's internal composition ID), data-start, and data-track-index attributes when wiring blocks.

Note: hyperframes add only works for blocks and components. For examples, use hyperframes init <dir> --example <name> instead.

Install locations

Blocks install to compositions/<name>.html by default. Components install to compositions/components/<name>.html by default.

These paths are configurable in hyperframes.json:

{
  "registry": "https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry",
  "paths": {
    "blocks": "compositions",
    "components": "compositions/components",
    "assets": "assets"
  }
}

See install-locations.md for full details.

Wiring blocks

Blocks are standalone compositions — include them via data-composition-src in your host index.html:

<div
  data-composition-id="data-chart"
  data-composition-src="compositions/data-chart.html"
  data-start="2"
  data-duration="15"
  data-track-index="1"
  data-width="1920"
  data-height="1080"
></div>

Key attributes:

  • data-composition-src — path to the block HTML file
  • data-composition-id — must match the block's internal ID
  • data-start — when the block appears in the host timeline (seconds)
  • data-duration — how long the block plays
  • data-width / data-height — block canvas dimensions
  • data-track-index — layer ordering (higher = in front)

See wiring-blocks.md for full details.

Wiring components

Components are snippets — paste their HTML into your composition's markup, their CSS into your style block, and their JS into your script (if any):

  1. Read the installed file (e.g., compositions/components/grain-overlay.html)
  2. Copy the HTML elements into your composition's <div data-composition-id="...">
  3. Copy the <style> block into your composition's styles
  4. Copy any <script> content into your composition's script (before your timeline code)
  5. If the component exposes GSAP timeline integration (see the comment block in the snippet), add those calls to your timeline

See wiring-components.md for full details.

Discovery

Browse available items:

# Read the registry manifest
curl -s https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/registry.json

Each item's registry-item.json contains: name, type, title, description, tags, dimensions (blocks only), duration (blocks only), and file list.

See discovery.md for details on filtering by type and tags.

版本历史

  • e773568 当前 2026-07-30 20:18

同 Skill 集合

.agents/skills/frontend-design/SKILL.md
.agents/skills/gsap/SKILL.md
.agents/skills/hyperframes-cli/SKILL.md
.agents/skills/website-to-hyperframes/SKILL.md
.agents/skills/hyperframes/SKILL.md

元信息

文件数
0
版本
e773568
Hash
0248bfb9
收录时间
2026-07-30 20:18

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-01 00:35
浙ICP备14020137号-1 $访客地图$