frame-logo-outro
Logo piecewise assembly entrance + glow bloom + tagline reveal, suitable for video outros / brand closings
1How It Works & Mechanism
This skill is not an executable program, but a prompt injected into the local coding-agent CLI: the host takes the body of SKILL.md, prepends a site-wide shared design instruction, appends user content to assemble a prompt, passes it to the logged-in agent, and retrieves the agent's stdout as HTML.
【输入格式】: ${opts.format} 【用户内容】: ${opts.content}
The shared instruction layer (which does not belong to any single skill, but governs every template) pins the output as a 'self-contained single-file HTML' and explicitly forbids the agent from using filesystem tools like Write/Edit/Bash, streaming HTML directly as conversation text.
- **禁止使用 Write / Edit / MultiEdit / Bash / Create / 任何文件系统工具**。不要把 HTML 写到任何 \`.html\` 文件里。前端直接捕获你的 stdout 文本, 文件落盘由前端负责。
Beyond SKILL.md, there is a 'content-driven quantity' override rule: any page, frame, or card count specified in the template is strictly treated as a reference baseline minimum; the actual quantity is determined by user content—preventing the agent from compressing user content to match template numbers.
- 模板只定义"可用版面 / 风格 / 配色 / 字体 / 组件库", **不定义** slide / 帧 / 卡片 / section 的数量。
The loading convention is 'one skill = one directory': SKILL.md (YAML frontmatter for the selector + body as template prompt), optional example.md (sample input), and example.html (directly openable preview sample); adding new templates only requires adding directories without modifying TS code.
* SKILL.md — frontmatter (id, scenario, tags, …) + prompt body * example.md — (optional) sample input content * example.html — (optional) pre-rendered preview, shown inline in the picker
The selection pipeline (CLI side) is a three-stage funnel: strong keyword signals (2 points per matched word, threshold 3) → falls back to tags/scenario scoring → if still uncertain, feeds the first 800 characters of user content to the local agent for single-sentence classification.
const CONFIDENCE_THRESHOLD = 3;
The preview pipeline is independent of generation: /api/templates/<id>/preview returns example.html as text/html verbatim to the iframe; the frontend iframe uses sandbox="allow-scripts allow-same-origin".
sandbox="allow-scripts allow-same-origin"
The logo is not an image but required to be 4-8 geometric blocks (circle / square / triangle / hairline) drawn with CSS / inline SVG. Upon entrance, each block slides in from different off-screen directions + scale 1.4→1.0 + opacity 0→1, staggered by 80ms across a 1.2s total duration.
- 入场动画: 每个块从屏幕外滑入 (±100px 不同方向) + scale 1.4→1.0 + opacity 0→1, 错峰 80ms; 总时长 1.2s。
After assembly, two concluding animation segments follow: the entire logo receives a glow bloom (drop-shadow 24px accent at 40% opacity), while a shimmer sweeps across the logo using mask-image (500ms).
description: "Logo 分块组装入场 + glow bloom + tagline 揭示, 适合视频片尾 / 品牌闭幕"
Text enters layered along a timeline: brand name starts at 1.4s (typewriter or fade-up), tagline fades in at 1.8s, and the bottom CTA/metadata line uses 11px uppercase + letter-spacing 0.16em + opacity 0.4 + hairline dividers.
- **品牌名**: logo 下方 6-8% 位置, 大字 (Inter Tight / SF Pro Display, 48-72px, weight 700, letter-spacing -0.02em), 入场: typewriter or fade-up after logo bloom (1.4s 开始)。
Ending frame semantics are explicitly specified: the entire animation freezes upon completion and does not loop—because it serves as a video closing frame rather than a looping motion graphic.
- 单文件 HTML; 整个动画完成后 freeze (不要 loop, 这是视频结尾帧)。
Color schemes offer a choice of four with mixing strictly prohibited (Midnight Indigo / Solar Amber / Forest Mint / Bone & Ink), and explicitly state that logos must never use external images and must be geometrically drawn purely in CSS/inline SVG.
example_tagline: "Midnight Indigo + glow bloom"
2Core Capabilities
3External Dependencies
| Kind | Dependency / Endpoint |
|---|---|
| network | Google Fonts(Inter Tight / Inter / Noto Sans SC,示例页实际引用) |
| network | Tailwind Play CDN(共享指令强制;示例页亦引用) |
| network | hyperframes 目录页(frontmatter 出处标注,非运行时请求) |
4Recommended Governance & Evidence
- SKILL.md: Pure prompt instructions and rule text; contains no script execution or external side effects
5Second-Pass Verification
- [ok] 装配动画/时间轴规格 — 重读 SKILL.md【布局】四段,逐字复核 ±100px、scale 1.4→1.0、80ms 错峰、1.2s、1.4s/1.8s 等数值。
- [ok] freeze 语义 — SKILL.md 原文:单文件 HTML; 整个动画完成后 freeze (不要 loop, 这是视频结尾帧)。引用逐字通过。
- [ok] recommended 定位 — frontmatter recommended: 8;README 推荐组按 recommended 排序 + 截图 docs/screenshots/skills/frame-logo-outro.png 双重印证。
- [ok] 『禁外链 logo』结论 — SKILL.md 原文:**绝不**: 用外链 logo 图片; logo 必须用纯 CSS / 内联 SVG 几何绘制。;示例页扫描无图片资源域。
- [ok] 安全面 — 目录内 3 个文件无自写脚本、无凭证、无写盘、无表单外发;示例页仅 Tailwind CDN 标签。
- [ok] meta 元数据 — GitHub API 实查 stars=8827、pushed_at=2026-09-15T03:36:24Z、license Apache-2.0。
- [unlocatable] 安装量 — 无公开安装量数据源,installs=null。
6Verdict & Scenarios
2b9a714941c3e7ad…