Communitygithub.com

Manavv007/S.A.R.A.L.-Scheme-Access-Retrieval-Analysis-Layer-

HyperFrames 컴포지션 계약 — 하나의 렌더링 가능한 프로젝트를 빌드합니다. 컴포지션 구조, `data-*` 타이밍 속성, `class="clip"`, 트랙, 하위 컴포지션, 변수, 프레임워크 소유 미디어 재생, 결정론적 렌더링 규칙 및 검증에 사용됩니다. 컴포지션 HTML을 작성하기 전에 읽어야 합니다.

S.A.R.A.L.-Scheme-Access-Retrieval-Analysis-Layer-란 무엇인가요?

HyperFrames Core는 HTML로 비디오를 렌더링하는 프레임워크인 HyperFrames의 핵심 기술 계약서 역할을 합니다. 하나의 HyperFrames 프로젝트를 구성하는 방법을 정의하며, `data-*` 속성을 사용한 타이밍 선언, `class="clip"`을 통한 클립 식별, 트랙과 하위 컴포지션 구조화, 프레임워크에 의해 관리되는 미디어 재생, 결정론적 렌더링 규칙 등을 포함합니다. 이 스킬은 CLI(`hyperframes-cli`)와 함께 사용되며, 애니메이션, 미디어 처리, 창의적 작업 등은 별도의 도메인 스킬로 위임됩니다. 개발자는 이 문서를 통해 컴포지션을 처음부터 빌드하는 방법을 이해하고, `references/` 디렉토리의 세부 가이드를 참조하여 각 주제를 심층적으로 학습할 수 있습니다. 핵심 규칙으로는 단일 일시 정지 타임라인, 결정론적 제약 조건(예: 무작위성 금지, 유한 반복), 미디어 요소의 직접 배치, 고유 ID 요구 사항 등이 있으며, 이러한 규칙을 위반하면 `lint`, `validate`, `inspect` 명령이 감지하지 못하는 조용한 버그가 발생할 수 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Manavv007/S.A.R.A.L.-Scheme-Access-Retrieval-Analysis-Layer-/tree/HEAD/.agents/skills/hyperframes-core

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

HyperFrames Core

HyperFrames는 HTML로 비디오를 렌더링합니다. 컴포지션은 DOM이 data-* 속성으로 타이밍을 선언하고, 애니메이션 런타임이 탐색 가능하며, 미디어 재생이 프레임워크에 의해 소유되는 HTML 파일입니다.

이 스킬은 기술 계약입니다 — 하나의 HyperFrames 프로젝트를 빌드하는 방법입니다. 아래 본문은 빌드 가이드입니다. 주제별 세부 정보는 references/ (다음에 인덱스)에 있으며, 필요시 읽으십시오. 다른 문제는 형제 도메인 스킬인 hyperframes-animation, hyperframes-creative, hyperframes-media, hyperframes-cli, hyperframes-registry에 있습니다. /hyperframes의 기능 맵은 각각의 범위를 설명합니다.

참조

파일읽을 목적
references/minimal-composition.md가장 작은 렌더링 가능한 컴포지션 스켈레톤에서 시작
references/composition-patterns.md모놀리식 vs 모듈식 선택; 모듈식 index.html 구조; 하위 컴포지션 아키타입 선택
references/data-attributes.mddata-* (루트 / 클립 / 하위 컴포지션 호스트 / 레거시 별칭) 조회; class="clip" 사용
references/tracks-and-clips.mddata-track-index 선택, 동일 트랙 오버랩 / z-인덱스 처리, 다른 클립에 상대적 클립 시간 지정
references/sub-compositions.md하위 컴포지션 연결 (호스트 속성, <template>, 인스턴스별 변수) 및 내부 애니메이션
references/variables-and-media.md변수 선언; <video>/<audio> 배치, 볼륨 설정, 트림
references/determinism-rules.md탐색 가능한 타임라인 구축; 결정론 금지 사항; 애니메이션 가능 속성 허용 목록; 레이아웃 / 텍스트 맞춤
references/full-screen-motion.md공유 배경으로 전체 프레임 모션 작성
references/storyboard-format.mdSTORYBOARD.md 계획 작성 (+ 구문 분석된 매니페스트)
references/script-format.md선택적 잠금 내레이션 SCRIPT.md 작성
references/subagent-dispatch.md하위 에이전트 디스패치 동사 (병렬 팬아웃 / 백그라운드 / 대기)를 하니스에 매핑
references/tailwind.mdTailwind v4 프로젝트에서 작업 (init --tailwind; 런타임 계약이 Studio의 v3와 다름)

애니메이션 런타임 세부 정보 (GSAP API, Lottie, Three.js 등)는 hyperframes-animation → adapters/<runtime>.md로 이동하십시오.

컴포지션 빌드

두 가지 루트 형태 (상호 교환 불가)

  • 독립형 (최상위 index.html) — 루트 <div data-composition-id="…">가 <body>에 직접 위치, <template> 래퍼 없음 (래핑하면 모든 콘텐츠가 숨겨지고 렌더링이 중단됨).
  • 하위 컴포지션 (data-composition-src로 로드됨) — 루트 반드시 <template>으로 래핑되어야 함.

⚠ 전송 규칙: 런타임은 <template> 콘텐츠만 복제합니다. 그 외부의 모든 것 (<head> 스타일/스크립트 포함)은 폐기됩니다 — <style>/<script>를 템플릿 내부에 배치하십시오. ⚠ 호스트 ID 규칙: 호스트 슬롯의 data-composition-id는 내부 템플릿의 data-composition-id 및 window.__timelines["<id>"] 키와 정확히 일치해야 합니다 — -mount/-slot/-host 접미사 없음.

파일 형태, 호스트 연결 및 사전 렌더링 체크리스트 → references/sub-compositions.md.

루트는 크기가 지정되어야 함 (조용한 레이아웃 버그)

독립형 루트에는 명시적인 크기 박스 (width/height in px)가 필요하며, height:100% 요소까지의 모든 상위 요소는 해결된 높이가 있어야 합니다 — 그렇지 않으면 flex/100% 자식이 ~0으로 축소되어 콘텐츠가 왼쪽 상단 모서리에 쌓입니다. lint/validate/inspect는 이를 감지하지 못합니다. 스켈레톤 → references/minimal-composition.md.

하나의 일시 정지 타임라인

각 컴포지션은 페이지 로드 시 동기적으로 빌드된 window.__timelines["<id>"] (키 = 루트 data-composition-id)에 정확히 하나의 gsap.timeline({ paused: true })을 등록합니다. 렌더링 지속 시간 = 루트 data-duration, 타임라인 길이 아님. 수동으로 하위 타임라인을 호스트에 중첩하지 마십시오. 전체 계약 (GSAP 외 런타임 포함) → references/determinism-rules.md + hyperframes-animation/adapters/.

양보할 수 없는 규칙 (lint/validate/inspect가 잡지 못하는 조용한 버그)

여기에 표시됨; 전체 근거는 링크된 참조에 있음. 위반하지 마십시오:

  • 렌더링 시간 시계 / 시드되지 않은 Math.random / 네트워크 / 입력 상태 없음; repeat: -1 없음 (유한 횟수 사용). → determinism-rules.md
  • 시각적 속성 허용 목록만 애니메이션; display/visibility 절대 금지; 나중 장면 클립에 gsap.set 없음. → determinism-rules.md
  • 본문 텍스트에 <br> 없음; 변환된 요소는 블록 수준 + 크기 지정되어야 함; 펄싱 절대 위치 장식은 최고 피크 여유 공간 필요. → determinism-rules.md
  • <video>/<audio>는 호스트 루트의 직접 자식이어야 함 (하위 컴포지션 <template>/래퍼 내부 절대 안 됨); 프레임워크가 재생을 소유함. → variables-and-media.md
  • 모든 id는 조립된 페이지 전체에서 고유해야 함; 하위 컴포지션 내에서는 컴포지션 id로 id 접두사 (#<id>-hero). 중복된 <video>/<img> id는 빈 화면을 렌더링함 — 프로듀서가 getElementById로 프레임을 주입하고, 파일 간 중복은 lint를 통과함. → composition-patterns.md
  • 전체 화면 장면 채우기는 전체 여백 자식 (position:absolute; inset:0)에 적용되고, 컴포지션 루트 자체에는 절대 적용되지 않음 — 프로듀서의 프레임 합성은 루트 요소 자체의 background를 삭제할 수 있음 (프레임이 검은색으로 렌더링됨) 미리보기/snapshot에서는 올바르게 표시되더라도. → composition-patterns.md

기존 컴포지션 편집

  • 먼저 파일을 읽으십시오. 관련 없는 타이밍, 트랙, ID, 변수, 미디어 경로를 보존하십시오.
  • 기존 컴포지션 ID 및 타임라인 키와 일치시키십시오.
  • 클립 추가: 겹치지 않는 data-track-index를 선택하거나 의도적으로 주변 타이밍을 조정하십시오.
  • 하위 컴포지션 추가: 호스트를 연결하기 전에 내부 data-composition-id를 확인하십시오.

검증

명령어 세부 사항은 hyperframes-cli 사용

  • npx hyperframes lint 통과 (오류 0개)
  • npx hyperframes validate 통과 (콘솔 오류 0개)
  • npx hyperframes inspect 통과 (오류 0개)
  • 하위 컴포지션이 있는 프로젝트: npx hyperframes snapshot --at <midpoints> 및 각 프레임 확인
  • 리뷰를 위해 npx hyperframes preview (사용자는 Studio의 타임라인에서 무엇이든 편집 가능)
  • 사용자가 승인한 후에만 npx hyperframes render

Individual skills in this repo

This repo contains 7 individual skills — each has its own dedicated page.

Manavv007/S.A.R.A.L.-Scheme-Access-Retrieval-Analysis-Layer-

The fallback workflow for authoring custom HyperFrames video compositions at any length or format — longer or multi-scene pieces, brand / sizzle reels, montages, title cards, static loops, and freeform compositions. Input- and length-agnostic. If a specialized workflow clearly fits the input — a marketed product, a website, a topic explainer, a GitHub PR, existing footage, a short motion graphic, or a Remotion port — prefer it (see /hyperframes); use this only as the general fallback when none fit.

Manavv007/S.A.R.A.L.-Scheme-Access-Retrieval-Analysis-Layer-

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). HyperFrames-native: single paused timeline, seek-safe, deterministic.

Manavv007/S.A.R.A.L.-Scheme-Access-Retrieval-Analysis-Layer-

HyperFrames CLI dev loop. Use when running npx hyperframes init, add, catalog, capture, lint, validate, inspect, layout, snapshot, preview, play, render, publish, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, tts, or remove-background, or when troubleshooting the HyperFrames build/render environment. Entry point for AWS Lambda cloud rendering (`hyperframes lambda deploy / render / progress / destroy / policies`).

Manavv007/S.A.R.A.L.-Scheme-Access-Retrieval-Analysis-Layer-

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.

Manavv007/S.A.R.A.L.-Scheme-Access-Retrieval-Analysis-Layer-

Capture a general website/URL and turn it into a HyperFrames video (site tour, showcase, or social clip from the site's own visuals). Uses headless Chrome screenshots + brand assets. Use when intent is general — portfolio/blog/landing-page showcase or social clip from the site. NOT for: product/SaaS launch or promo (→ /product-launch-video, even from a URL); topic explainer with no site (→ /faceless-explainer); GitHub PR (→ /pr-to-video); adding captions to existing video (→ /embedded-captions); short unnarrated page-highlight motion graphic (→ /motion-graphics). Unclear launch-vs-general-site? Ask one question or start at /hyperframes.

Manavv007/S.A.R.A.L.-Scheme-Access-Retrieval-Analysis-Layer-

Audio and media assets for HyperFrames compositions, produced by one shared audio engine (`scripts/audio.mjs`) — multi-provider TTS (HeyGen / ElevenLabs / Kokoro local), background music + sound effects (HeyGen audio-library retrieval by default, with local Lyria / MusicGen BGM generation and a bundled SFX library as the no-credential fallback), Whisper transcription, background removal, and caption authoring. Use for voiceover / TTS, BGM, SFX / sound effects, transcription, captions / subtitles / lyrics / karaoke / per-word styling, voice + provider selection, and music-mood prompting.

Manavv007/S.A.R.A.L.-Scheme-Access-Retrieval-Analysis-Layer-

S.A.R.A.L. is an advanced AI-powered platform designed to bridge the "information gap" between rural Indian citizens and government welfare. While thousands of schemes exist, the complex language of official PDFs often makes them inaccessible to the common man.

관련 스킬