anbeime/skill / skills/anything2explainer/anything2explainer
anything2explainer
Unverified给一个主题,产出一条黑底 MG 风格(幕底可选星点或点阵波)、有配音字幕章节进度条的科普讲解视频(中文或英文;Remotion 代码动画;时长由用户定,常用 3–5 分钟)。内含可编译模板、图元库、配音/分镜/渲染工具、风格与动效规范、多 agent 分工协议与 QC 判据,以及一条完整样片(《RAG 与知识库》)作为质量标尺。Turn any topic into a narrated motion-graphics explainer video in Chinese or English, on a black canvas with a star-field or dot-field backdrop, TTS voiceover, subtitles and a chapter progress bar, every frame drawn in code with Remotion. Use when the user asks for an explainer, educational or science-communication video about a topic, or wants an article or document turned into a video.
examples/rag/shots_src/G3/SC12.tsx
View on GitHubimport React from 'react';
import {useCurrentFrame} from 'remotion';
import {slideIn} from '../../common';
import {Box, CText, TechText, Svg, LineArrow, ArrowH, WHITE, abs, slideUp, fadeIn, fadeOut, exitAccel, SoftIn} from '../../ui';
import {DocCard, DOC_ITEMS, PdfIcon, WebIcon, TableIcon, ScanIcon} from './g3ui';
/**
* SC12 第一步 解析(1655–1890,S12)
* 节拍:1663 第一步解析(解析器框淡入)/ 1690 PDF 网页 表格 扫描件(四图标 2 帧错峰左滑入 + 汇聚箭头 draw-on)
* / 1760 干净的文本(文档卡自右滑入,条目每 2 帧逐行 wipe)/ 1819 保留标题段落表格结构(三枚紫标签淡入,间隔 12 帧)
* 1880 起左/中组左滑淡出,文档卡留到 1890 末帧,SC13 以同一 DocCard 几何承接。
*/
const F0 = 1655;
const ICON_Y = [232, 332, 432, 532];
const ICON_LABEL = ['PDF', '网页', '表格', '扫描件'];
const ICONS = [PdfIcon, WebIcon, TableIcon, ScanIcon];
export const DOC_CX = 980, DOC_CY = 400;
export const SC12: React.FC = () => {
const N = useCurrentFrame() + F0;
// 左/中组离场(1880 起 10 帧)
const ex = N - 1880;
const gOp = ex > 0 ? fadeOut(ex, 10) : 1;
const gDx = ex > 0 ? -exitAccel(ex, 0.6) : 0;
// 文档卡
const dn = N - 1760;
const docCx = DOC_CX + slideUp(dn, 320);
const docOp = dn < 0 ? 0 : fadeIn(dn, 6);
const reveal = Math.max(0, Math.min(DOC_ITEMS, Math.floor((N - 1766) / 2) + 1));
const labels = [0, 1, 2].map((k) => fadeIn(N - (1819 + 12 * k), 8) * gOp);
return (
<>
<div style={{position: 'absolute', inset: 0, opacity: gOp, transform: gDx ? `translateX(${gDx.toFixed(1)}px)` : undefined}}>
{/* 左列四种文件 */}
{ICONS.map((Icon, i) => {
const n = N - (1690 + i * 2);
if (n < 0) return null;
const dx = slideUp(n, 300);
return (
<div key={i} style={{...abs(-dx, 0, 1280, 720), opacity: fadeIn(n, 6)}}>
<Icon x={130} y={ICON_Y[i] - 38} />
<CText cx={215} cy={ICON_Y[i]} size={26} weight={700} opacity={fadeIn(n - 4, 6)} style={{transform: 'translate(0,-50%)'}}>
{ICON_LABEL[i]}
</CText>
</div>
);
})}
{/* 汇聚箭头 → 解析器 */}
<Svg>
{ICON_Y.map((y, i) => (
<LineArrow key={i} x0={306} y0={y} x1={556} y1={400 + (i - 1.5) * 20} p={slideIn(N - (1704 + i * 3), 14)} rodW={2.5} headL={18} headW={18} />
))}
</Svg>
{/* 解析器 */}
<SoftIn N={N} f0={1663}>
<Box x={560} y={352} w={160} h={96} r={14} sw={2.5} />
<CText cx={640} cy={400} size={28} weight={700} color={WHITE}>解析器</CText>
<TechText cx={640} cy={478} text="Parsing" fontSize={26} scaleX={0.82} />
</SoftIn>
<ArrowH x={728} y={388} w={60} h={24} p={slideIn(N - 1752, 14)} />
</div>
{/* 右:解析产物文档卡(不随左组离场) */}
{dn >= 0 ? <DocCard cx={docCx} cy={DOC_CY} reveal={reveal} labels={labels} opacity={docOp} /> : null}
</>
);
};
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 469k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |