mirror of
https://github.com/hanzoai/skills.git
synced 2026-11-19 00:47:36 +00:00
Four MIT collections ported — growthOS, openclaw-marketing-skills, Marketing-Skills and pm-skills — as 160 skills, 12 agents and 45 commands, each naming its origin in its own frontmatter so the tree can be checked against THIRD_PARTY_NOTICES rather than trusted. Sixteen names appeared in more than one collection and none of the copies were identical; the longest wins, which lands on the more developed text where they genuinely diverge. A fifth collection is deliberately absent. awesome-growth-hacking-skills carries NO licence, which leaves its author every right by default — and it is a list of links rather than a collection of skills, so there is nothing in it to port and no permission to port it with. It is cited as a directory to read. THE CONNECTOR SKILLS ARE REWRITTEN, not ported. They arrived installing vendor SDKs, running OAuth flows of their own, and ending with long-lived credentials in JSON files under .agents/ and ~/.growthos/ at mode 600. That is a secret on a disk with no rotation path, protected from other users and not from the agent — and one auth implementation per skill. Hanzo holds these connectors in Go, per user, sealed in KMS, so `connect` is the one home for the flow and the platform skills defer to it by provider id: google_ads, meta_ads, x. It is reachable as HTTP or as MCP tools at api.hanzo.ai/v1/mcp — the same routes, typed once in Go, so a tool and a curl cannot disagree. Two had nothing real behind them and now say so. There is no search_console provider, so that skill names what does answer the same questions (google_analytics, google_bigquery) and states that the remedy is a provider in hanzoai/cloud rather than a vendor SDK here. And getxapi-connect was a wrapper around a paid reseller of X's public data with the vendor's key in an env var; it is `listen` now, on our own x connector — a skill named after a vendor makes the vendor the capability and dies with it. The skills referenced paths that only existed inside the source repo, so the shared material they read is ported to reference/ and the paths rewritten. Three skills need the growthOS APPLICATION rather than its data; per the estate's own split an application belongs in hanzoai/ads, social, email or sms as a cloud plugin, so those three say what they need instead of carrying an import that resolves to nothing. Third-party product names are out of our prose and kept in the notices, which is where the licence requires them and the only place they belong. A skill's persona names a role, not somebody else's product. Co-authored-by: Hanzo Dev <[email protected]>
512 lines
29 KiB
HTML
512 lines
29 KiB
HTML
<!doctype html>
|
||
<html lang="en"><head>
|
||
<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||
<title>showcase-tech-terminal</title>
|
||
<meta name="color-scheme" content="dark">
|
||
<style>
|
||
/* Committed to one visual world: a dark instrument panel. No light variant —
|
||
the dot field and the hairline rules only read on black, and a naive
|
||
inversion would wash both out. Every colour is painted explicitly so the page
|
||
never borrows a host background. */
|
||
@font-face{font-family:'Zen';src:url('/fonts/Zen-Variable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
|
||
@font-face{font-family:'Zen';src:url('/fonts/Zen-Italic-Variable.woff2') format('woff2');font-weight:100 900;font-style:italic;font-display:swap}
|
||
@font-face{font-family:'Zen Mono';src:url('/fonts/ZenMono-Variable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
|
||
@font-face{font-family:'Zen Mono';src:url('/fonts/ZenMono-Italic-Variable.woff2') format('woff2');font-weight:100 900;font-style:italic;font-display:swap}
|
||
@font-face{font-family:'Zen Pixel Square';src:url('/fonts/ZenPixel-Square.woff2') format('woff2');font-style:normal;font-display:swap}
|
||
|
||
:root{
|
||
--ink:#f4f4f2; --soft:#9c9c98; --faint:#6a6a66; --ground:#000; --panel:#0a0a0a;
|
||
--line:#232323; --line-hi:#3a3a3a; --accent:#f4f4f2;
|
||
--font-zen-sans:'Zen',-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
|
||
--font-zen-mono:'Zen Mono',ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace;
|
||
--font-zen-pixel-square:'Zen Pixel Square',monospace;
|
||
--mono:var(--font-zen-mono);
|
||
--sans:var(--font-zen-sans);
|
||
/* Controls are pills and surfaces are soft, as on hanzo.ai. */
|
||
--r:999px; --r-soft:14px;
|
||
}
|
||
*{box-sizing:border-box}
|
||
html{-webkit-text-size-adjust:100%}
|
||
body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--sans);
|
||
font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}
|
||
.wrap{max-width:60rem;margin:0 auto;padding:0 1.75rem}
|
||
|
||
/* The dot field. A halftone made of one repeating radial-gradient, faded out
|
||
along the diagonal by a mask so it reads as a wave rather than wallpaper. */
|
||
/* No overflow clip here: the dot field is inset to the box already, and a clip
|
||
would cut off the copy-prompt menu. */
|
||
.hero{position:relative;border-bottom:1px solid var(--line)}
|
||
.hero::before{content:"";position:absolute;inset:0;
|
||
background-image:radial-gradient(var(--line-hi) 1px, transparent 1px);
|
||
background-size:7px 7px;
|
||
-webkit-mask-image:linear-gradient(115deg,#000 0%,rgba(0,0,0,.55) 38%,transparent 72%);
|
||
mask-image:linear-gradient(115deg,#000 0%,rgba(0,0,0,.55) 38%,transparent 72%);
|
||
pointer-events:none}
|
||
.hero .wrap{position:relative;padding-top:5.5rem;padding-bottom:4rem}
|
||
|
||
nav{border-bottom:1px solid var(--line)}
|
||
nav .in{max-width:60rem;margin:0 auto;padding:1.1rem 1.75rem;display:flex;
|
||
justify-content:space-between;align-items:center;gap:1rem}
|
||
.brand{font-family:var(--mono);font-size:.85rem;letter-spacing:.14em;
|
||
text-transform:uppercase;color:var(--ink);text-decoration:none;
|
||
display:inline-flex;align-items:center;gap:.6rem}
|
||
.brand i{font-style:normal;color:var(--faint)}
|
||
.mark{width:1.15em;height:1.15em;display:block;flex:0 0 auto}
|
||
nav a.up{font-family:var(--mono);font-size:.72rem;letter-spacing:.14em;
|
||
text-transform:uppercase;color:var(--soft);text-decoration:none}
|
||
nav a.up:hover{color:var(--ink)}
|
||
|
||
h1{font-family:var(--mono);font-size:clamp(2rem,5.4vw,3.4rem);line-height:1.12;
|
||
letter-spacing:-.02em;margin:0 0 1.1rem;font-weight:500;text-wrap:balance}
|
||
h1 em{font-style:normal;color:var(--faint)}
|
||
.lede{color:var(--soft);font-size:1.05rem;max-width:52ch;margin:0 0 2.25rem}
|
||
|
||
.btns{display:flex;flex-wrap:wrap;gap:.7rem;margin:0 0 .5rem;align-items:center}
|
||
.btn{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--mono);
|
||
font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;
|
||
padding:.8rem 1.4rem;border:1px solid var(--line-hi);border-radius:var(--r);
|
||
color:var(--ink);text-decoration:none;background:transparent;cursor:pointer;
|
||
line-height:1.2;font-weight:400}
|
||
.btn:hover{background:#141414;text-decoration:none;border-color:var(--soft)}
|
||
.btn.solid{background:var(--ink);color:#000;border-color:var(--ink)}
|
||
.btn.solid:hover{background:#d8d8d4}
|
||
.btn .chev{width:.7em;height:.7em;flex:0 0 auto;transition:transform .15s ease}
|
||
.btn[aria-expanded="true"] .chev{transform:rotate(180deg)}
|
||
|
||
/* Copy-prompt selector. Each row copies the prompt for its own target. */
|
||
.copy{position:relative;display:inline-flex}
|
||
.menu{position:absolute;top:calc(100% + .5rem);left:0;z-index:20;min-width:21rem;
|
||
background:var(--panel);border:1px solid var(--line-hi);border-radius:var(--r-soft);
|
||
padding:.4rem;display:flex;flex-direction:column;
|
||
box-shadow:0 12px 32px rgba(0,0,0,.75)}
|
||
.menu[hidden]{display:none}
|
||
.mi{display:flex;align-items:center;gap:.7rem;width:100%;text-align:left;
|
||
padding:.62rem .8rem;border:0;border-radius:calc(var(--r-soft) - .35rem);
|
||
background:transparent;color:var(--ink);font-family:var(--mono);font-size:.76rem;
|
||
letter-spacing:.04em;text-decoration:none;cursor:pointer;line-height:1.3;
|
||
white-space:nowrap}
|
||
.mi:hover,.mi:focus-visible{background:#181818;outline:none}
|
||
.mi .mark{width:1.05rem;height:1.05rem;color:var(--soft)}
|
||
.mi:hover .mark{color:var(--ink)}
|
||
.mi u{margin-left:auto;color:var(--faint);text-decoration:none;font-size:.68rem;
|
||
letter-spacing:.1em;text-transform:uppercase}
|
||
|
||
/* Works-with bar: one scrolling row, name and mark per agent. */
|
||
.strip{border-bottom:1px solid var(--line);background:var(--panel)}
|
||
.strip .in{max-width:60rem;margin:0 auto;padding:.9rem 1.75rem;display:flex;
|
||
align-items:center;gap:1.25rem;font-family:var(--mono);font-size:.72rem;
|
||
letter-spacing:.1em;text-transform:uppercase;color:var(--faint)}
|
||
.strip b{color:var(--soft);font-weight:400;flex:0 0 auto;
|
||
border-right:1px solid var(--line);padding-right:1.25rem;align-self:stretch;
|
||
display:flex;align-items:center}
|
||
.bar{display:flex;align-items:center;gap:.5rem;flex:1 1 auto;min-width:0;
|
||
overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity;
|
||
-webkit-overflow-scrolling:touch;
|
||
-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 3rem),transparent);
|
||
mask-image:linear-gradient(90deg,#000 calc(100% - 3rem),transparent)}
|
||
.bar::-webkit-scrollbar{display:none}
|
||
.agent{display:inline-flex;align-items:center;gap:.45rem;flex:0 0 auto;
|
||
padding:.4rem .85rem;border:1px solid var(--line);border-radius:var(--r);
|
||
color:var(--soft);white-space:nowrap;scroll-snap-align:start;
|
||
text-decoration:none;background:var(--ground)}
|
||
.agent:hover{color:var(--ink);border-color:var(--line-hi);text-decoration:none}
|
||
.agent .mark{width:.95rem;height:.95rem}
|
||
|
||
h2{font-family:var(--mono);font-size:1.1rem;letter-spacing:-.01em;margin:2.75rem 0 .75rem;font-weight:500}
|
||
h3{font-size:1rem;margin:2rem 0 .5rem;font-weight:600}
|
||
h4,h5,h6{font-size:.94rem;margin:1.5rem 0 .5rem;font-weight:600}
|
||
p{margin:0 0 1rem;max-width:70ch}
|
||
ul,ol{margin:0 0 1rem;padding-left:1.35rem;max-width:70ch}
|
||
li{margin:.22rem 0}
|
||
a{color:var(--ink);text-decoration:underline;text-underline-offset:3px;
|
||
text-decoration-color:var(--line-hi)}
|
||
a:hover{text-decoration-color:var(--ink)}
|
||
a:focus-visible{outline:1px solid var(--ink);outline-offset:3px}
|
||
code{font-family:var(--mono);font-size:.85em;background:var(--panel);
|
||
border:1px solid var(--line);border-radius:5px;padding:.1em .36em}
|
||
pre{background:var(--panel);border:1px solid var(--line);padding:1rem 1.1rem;
|
||
border-radius:var(--r-soft);overflow-x:auto;margin:0 0 1.25rem}
|
||
pre code{background:none;border:0;padding:0;font-size:.82rem;line-height:1.7}
|
||
blockquote{margin:0 0 1rem;padding-left:1rem;border-left:1px solid var(--line-hi);color:var(--soft)}
|
||
hr{border:0;border-top:1px solid var(--line);margin:2.5rem 0}
|
||
table{border-collapse:collapse;width:100%;margin:0 0 1.25rem;font-size:.92rem;
|
||
display:block;overflow-x:auto}
|
||
th,td{border:1px solid var(--line);padding:.5rem .7rem;text-align:left}
|
||
|
||
.curl{display:block;background:var(--panel);border:1px solid var(--line);
|
||
border-radius:var(--r-soft);padding:.95rem 1.1rem;font-family:var(--mono);
|
||
font-size:.8rem;color:var(--soft);overflow-x:auto;margin:0 0 2.5rem;
|
||
white-space:pre;line-height:1.9}
|
||
.curl b{color:var(--ink);font-weight:400}
|
||
.curl i{font-style:normal;color:var(--faint)}
|
||
|
||
/* index */
|
||
#q{width:100%;padding:.85rem 1.2rem;font-family:var(--mono);font-size:.85rem;color:var(--ink);
|
||
background:var(--panel);border:1px solid var(--line);border-radius:var(--r);margin:0 0 .6rem}
|
||
#q::placeholder{color:var(--faint);text-transform:uppercase;letter-spacing:.1em;font-size:.72rem}
|
||
#q:focus{outline:none;border-color:var(--soft)}
|
||
#count{color:var(--faint);font-family:var(--mono);font-size:.72rem;letter-spacing:.1em;
|
||
text-transform:uppercase;margin:0 0 2rem}
|
||
.cat{margin:2.5rem 0 .5rem;font-family:var(--mono);font-size:.7rem;letter-spacing:.16em;
|
||
text-transform:uppercase;color:var(--faint);border-bottom:1px solid var(--line);
|
||
padding-bottom:.45rem}
|
||
.row{display:block;padding:.6rem .9rem;margin:0 -.9rem;border-bottom:1px solid var(--line);
|
||
border-radius:var(--r-soft);text-decoration:none}
|
||
.row:hover{background:#0a0a0a}
|
||
.nm{font-family:var(--mono);font-size:.84rem;color:var(--ink);display:block}
|
||
.ds{color:var(--soft);font-size:.9rem;display:block;margin-top:.12rem}
|
||
footer{margin-top:4rem;padding:2rem 0 4rem;border-top:1px solid var(--line);
|
||
color:var(--faint);font-size:.85rem}
|
||
footer a{color:var(--soft)}
|
||
.fmap{display:grid;gap:1.75rem;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));
|
||
margin:0 0 2rem;font-size:.85rem}
|
||
.fmap b{display:block;font-family:var(--mono);font-size:.68rem;letter-spacing:.16em;
|
||
text-transform:uppercase;color:var(--faint);font-weight:400;margin:0 0 .6rem;
|
||
border-bottom:1px solid var(--line);padding-bottom:.4rem}
|
||
.fmap a{display:inline-block;color:var(--ink);text-decoration:none;margin:.3rem .35rem 0 0}
|
||
.fmap a:hover{text-decoration:underline}
|
||
.fmap div{color:var(--faint);line-height:1.5}
|
||
.fend{border-top:1px solid var(--line);padding-top:1.25rem;font-size:.82rem}
|
||
|
||
@media (max-width:640px){
|
||
.hero .wrap{padding-top:3.25rem;padding-bottom:2.75rem}
|
||
.btns{gap:.5rem}
|
||
.btn{padding:.75rem 1.15rem;font-size:.68rem}
|
||
.copy,.copy .btn{width:100%;justify-content:center}
|
||
.menu{left:0;right:0;min-width:0}
|
||
.strip .in{flex-direction:column;align-items:flex-start;gap:.6rem;padding:.9rem 1.75rem}
|
||
.strip b{border-right:0;padding-right:0}
|
||
.bar{width:100%}
|
||
}
|
||
</style>
|
||
<link rel="alternate" type="text/markdown" href="/showcase-tech-terminal.md">
|
||
|
||
<link rel="icon" href="/favicon.svg">
|
||
<link rel="canonical" href="https://hanzoskills.com/showcase-tech-terminal">
|
||
</head>
|
||
<!-- Reading this with a machine? Every page here is also plain markdown.
|
||
This one: https://hanzoskills.com/showcase-tech-terminal.md
|
||
Index: https://hanzoskills.com/llms.txt
|
||
Corpus: https://hanzoskills.com/all.md
|
||
Append .md to any path for the markdown twin. -->
|
||
<body>
|
||
<nav><div class="in">
|
||
<a class="brand" href="/"><svg class="mark" viewBox="0 0 67 67" fill="currentColor" aria-hidden="true"><path d="M22.21 67V44.6369H0V67H22.21Z"/><path d="M66.7038 22.3184H22.2534L0.0878906 44.6367H44.4634L66.7038 22.3184Z"/><path d="M22.21 0H0V22.3184H22.21V0Z"/><path d="M66.7198 0H44.5098V22.3184H66.7198V0Z"/><path d="M66.7198 67V44.6369H44.5098V67H66.7198Z"/></svg> HANZO<i>SKILLS</i></a>
|
||
<a class="up" href="/">All skills</a>
|
||
</div></nav>
|
||
|
||
<div class="wrap">
|
||
<h1>showcase-tech-terminal</h1><p class="lede">Tech Terminal showcase — animated CLI/terminal output for developer-focused videos. Typewriter commands, line-by-line outputs, progress bars, and GlassmorphismCard highlights. Produces a 15–45s 16:9 MP4 via the TechTerminal composition.</p><h1>Showcase: Tech Terminal</h1>
|
||
<p>Specialist skill for the <strong>Tech Terminal</strong> showcase. Activated by the <code>remotion-pro</code> orchestrator when the user selects showcase <code>2</code> (<code>terminal</code>, <code>cli</code>, <code>tech</code>, <code>código</code>, <code>code</code>). Receives a context object with <code>video_profile</code>, <code>brand_voice</code>, <code>remotion</code>, and <code>briefing</code>.</p>
|
||
<hr>
|
||
<h2>Overview</h2>
|
||
<p>The Tech Terminal showcase produces developer-centric videos featuring a realistic terminal emulator window. Commands appear with typewriter animation, outputs render line-by-line, and progress bars animate for install or build sequences. After the core terminal sequence, the 2–3 most impressive results are featured in glassmorphic highlight cards.</p>
|
||
<p><strong>Best for:</strong> CLI tools, developer libraries, DevOps products, open-source projects, API demos, build pipelines, npm packages, Homebrew formulae.</p>
|
||
<p><strong>Composition ID:</strong> <code>TechTerminal</code> <strong>Aspect ratio:</strong> 16:9 (1920×1080) <strong>FPS:</strong> 30 <strong>Duration range:</strong> 15–45 seconds (450–1350 frames)</p>
|
||
<hr>
|
||
<h2>Components Used</h2>
|
||
<p>| Component | File | Purpose in video | |---|---|---| | <code>TerminalEmulator</code> | <code>components/TerminalEmulator.tsx</code> | Realistic terminal window with configurable theme, prompt, title, font size | | <code>AnimatedText</code> | <code>components/AnimatedText.tsx</code> | Typewriter effect for individual command and output lines | | <code>ProgressBar</code> | <code>components/ProgressBar.tsx</code> | Animated install/build progress bar inside terminal lines | | <code>GlassmorphismCard</code> | <code>components/GlassmorphismCard.tsx</code> | Glassmorphic highlight cards for the top 2–3 result moments | | <code>BackgroundGradient</code> | <code>components/BackgroundGradient.tsx</code> | Dark branded gradient background | | <code>BrandWatermark</code> | <code>components/BrandWatermark.tsx</code> | Handle overlay at watermark position |</p>
|
||
<p>The <code>TerminalEmulator</code> accepts a <code>commands: TerminalCommand[]</code> array. Each <code>TerminalCommand</code> has:</p>
|
||
<pre><code class="lang-typescript">{
|
||
text: string;
|
||
type: "input" | "output" | "spinner" | "success" | "error" | "blank";
|
||
color?: string;
|
||
delay?: number; // frames to wait before this line appears
|
||
typeSpeed?: number; // chars per frame for "input" type
|
||
}</code></pre>
|
||
<hr>
|
||
<h2>Scene Flow Template</h2>
|
||
<p>Default sequence for a medium-pacing, 4-command demo:</p>
|
||
<pre><code>Scene 1 — Hook (0s–2.5s, frames 0–74)
|
||
AnimatedText: product/tool name fades in
|
||
Subtext: one-line pitch, animation: fade-in delay 12
|
||
|
||
Scene 2 — Terminal Opens (2.5s–4s, frames 75–119)
|
||
TerminalEmulator window fades up (slide-up animation)
|
||
Blinking cursor appears at prompt
|
||
Title bar shows: "[tool-name] — zsh — 80×24"
|
||
|
||
Scene 3 — Commands Type (4s–[dynamic]s, frames 120–[calculated])
|
||
All TerminalCommand[] lines render sequentially
|
||
input lines: typewriter at typeSpeed chars/frame
|
||
output lines: appear immediately after input finishes
|
||
spinner lines: animate for spinner_duration frames then resolve
|
||
success lines: appear in green
|
||
error lines: appear in red
|
||
blank lines: add breathing room between command groups
|
||
|
||
Scene 4 — Output Highlight (after terminal, 4s)
|
||
Terminal blurs slightly (opacity 0.4)
|
||
2–3 GlassmorphismCard overlays slide in with key results
|
||
Each card: metric label + value, animation: slide-up
|
||
|
||
Scene 5 — CTA (3.5s, last frames)
|
||
Cards fade out
|
||
AnimatedText: CTA headline (install command or URL)
|
||
Accent-colored pill with package name / URL</code></pre>
|
||
<p><strong>Pacing multipliers:</strong></p>
|
||
<ul><li><code>fast</code>: typeSpeed × 1.5 (types faster), shorter delays</li><li><code>medium</code>: typeSpeed = 2 chars/frame (default)</li><li><code>slow</code>: typeSpeed × 0.7, longer pauses between commands</li></ul>
|
||
<hr>
|
||
<h2>Storyboard Generation Rules</h2>
|
||
<h3>Step 1 — Parse the briefing</h3>
|
||
<pre><code>tool_name → explicit name in briefing OR brand-voice.yaml → brand.name
|
||
description → one-line pitch from briefing OR brand-voice.yaml → brand.tagline
|
||
commands → explicit command list in briefing (ordered, code blocks preferred)
|
||
vague_trigger → briefing is vague ("show ", "demo my CLI") → use default command set
|
||
highlights → pick 2–3 output lines with numbers, percentages, or success indicators
|
||
cta_text → explicit in briefing OR brand-voice.yaml → cta.default
|
||
OR auto-generate: "npm install [tool_name]"</code></pre>
|
||
<h3>Step 2 — Build TerminalCommand list</h3>
|
||
<p><strong>If briefing provides explicit commands:</strong></p>
|
||
<p>Parse code blocks and command-output pairs from the briefing. For each item:</p>
|
||
<pre><code>1. If line starts with $ or > → type: "input"
|
||
2. If line contains [===] or (N%) → type: "spinner" + embed ProgressBar
|
||
3. If line starts with ✓ or ✅ or "Success" → type: "success"
|
||
4. If line starts with ✗ or ✘ or "Error" / "Failed" → type: "error"
|
||
5. Empty line → type: "blank"
|
||
6. Everything else → type: "output"</code></pre>
|
||
<p><strong>If briefing is vague (no explicit commands):</strong></p>
|
||
<p>Use this default impressive command set tailored to the tool_name:</p>
|
||
<pre><code class="lang-typescript">const defaultCommands: TerminalCommand[] = [
|
||
{ type: "input", text: `$ [tool_name] --version`, typeSpeed: 3 },
|
||
{ type: "output", text: `[tool_name] v2.1.0`, color: "#A3E635" },
|
||
{ type: "blank", text: "" },
|
||
{ type: "input", text: `$ [tool_name] init my-project`, typeSpeed: 2 },
|
||
{ type: "spinner", text: `Initializing project...`, delay: 8 },
|
||
{ type: "success", text: `✓ Project created in 0.8s`, color: "#22C55E" },
|
||
{ type: "blank", text: "" },
|
||
{ type: "input", text: `$ [tool_name] build --prod`, typeSpeed: 2 },
|
||
{ type: "spinner", text: `Bundling 847 modules...`, delay: 30 },
|
||
{ type: "output", text: ` dist/main.js 42.3 kB`, color: "#60A5FA" },
|
||
{ type: "output", text: ` dist/styles.css 8.1 kB`, color: "#60A5FA" },
|
||
{ type: "success", text: `✓ Built in 1.2s`, color: "#22C55E" },
|
||
{ type: "blank", text: "" },
|
||
{ type: "input", text: `$ [tool_name] deploy`, typeSpeed: 2 },
|
||
{ type: "spinner", text: `Deploying to production...`, delay: 45 },
|
||
{ type: "success", text: `✓ Live at https://[tool].app`, color: "#22C55E" },
|
||
];</code></pre>
|
||
<p>Substitute <code>[tool_name]</code> with the actual tool name from the briefing or brand-voice.yaml.</p>
|
||
<h3>Step 3 — Pick output highlights (2–3 GlassmorphismCards)</h3>
|
||
<p>Scan the TerminalCommand list for the most impressive moments to feature:</p>
|
||
<p><strong>Priority order for highlight selection:</strong></p>
|
||
<ol><li>Lines with time metrics: "1.2s", "0.8s", "847ms" → "Built in 1.2s"</li><li>Lines with size metrics: "42.3 kB", "12 MB" → "Bundle: 42.3 kB"</li><li>Lines with counts: "847 modules", "12 tests passed" → "847 Modules"</li><li>Lines with URLs or deploy confirmation → "Live at [URL]"</li><li>Success lines (✓) → first 2–3 success lines</li></ol>
|
||
<p>If fewer than 2 candidates: use first and last success lines.</p>
|
||
<p>Format each highlight as a GlassmorphismCard:</p>
|
||
<pre><code class="lang-yaml">- label: "[short label, 1-3 words]"
|
||
value: "[metric or key phrase]"
|
||
icon: "[relevant emoji]"</code></pre>
|
||
<h3>Step 4 — Calculate duration</h3>
|
||
<pre><code>hook_duration = 2.5s (always)
|
||
terminal_open = 1.5s (always)
|
||
per_input_line = ceil(text.length / typeSpeed) / 30 seconds
|
||
per_output_line = 0.3s per line
|
||
per_spinner_line = delay / 30 seconds (min 1s)
|
||
per_blank_line = 0.3s
|
||
output_highlight = 4s (always, covers all cards overlapping)
|
||
cta_duration = 3.5s (always)
|
||
|
||
terminal_section_s = sum of per-line durations
|
||
total_s = hook + terminal_open + terminal_section + output_highlight + cta
|
||
|
||
IF total_s < 15: add additional default commands to pad
|
||
IF total_s > 45: trim output lines to first 3 per command, remove blank lines</code></pre>
|
||
<h3>Step 5 — Output storyboard YAML</h3>
|
||
<pre><code class="lang-yaml"># storyboard.yaml — Tech Terminal
|
||
showcase: TechTerminal
|
||
tool: "[tool_name]"
|
||
description: "[one-line pitch]"
|
||
total_duration_s: [calculated]
|
||
pacing: "[fast|medium|slow]"
|
||
terminal:
|
||
theme: dark
|
||
prompt: "$ "
|
||
title: "[tool_name] — zsh — 80x24"
|
||
font_size: 14
|
||
|
||
scenes:
|
||
- id: hook
|
||
type: hook
|
||
duration_s: 2.5
|
||
text: "[tool_name]"
|
||
subtext: "[description]"
|
||
animation: fade-in
|
||
|
||
- id: terminal-open
|
||
type: terminal
|
||
duration_s: 1.5
|
||
animation: slide-up
|
||
|
||
- id: commands
|
||
type: terminal
|
||
duration_s: [calculated]
|
||
commands:
|
||
- { type: input, text: "$ [command]", typeSpeed: 2 }
|
||
- { type: output, text: "[output line]" }
|
||
- { type: spinner, text: "[progress text]", delay: 30 }
|
||
- { type: success, text: "✓ [result]", color: "#22C55E" }
|
||
# ... full command list
|
||
|
||
- id: output-highlight
|
||
type: output-highlight
|
||
duration_s: 4
|
||
cards:
|
||
- { label: "[label]", value: "[value]", icon: "[emoji]" }
|
||
- { label: "[label]", value: "[value]", icon: "[emoji]" }
|
||
|
||
- id: cta
|
||
type: cta
|
||
duration_s: 3.5
|
||
text: "[cta headline]"
|
||
subtext: "[install command or URL]"
|
||
animation: bounce</code></pre>
|
||
<hr>
|
||
<h2>Composition Mapping</h2>
|
||
<p>Convert storyboard to Remotion props for the <code>TechTerminal</code> composition:</p>
|
||
<h3>Frame calculation</h3>
|
||
<pre><code>scene.duration_s × 30 = scene.durationFrames
|
||
startFrame[N] = sum of durationFrames[0..N-1]</code></pre>
|
||
<h3>Props object structure</h3>
|
||
<pre><code class="lang-typescript">// TechTerminalProps (from types.ts)
|
||
{
|
||
brand: {
|
||
name: "[tool_name]",
|
||
handle: brand_voice.brand.handle,
|
||
colors: {
|
||
primary: design_tokens.primary_color,
|
||
secondary: design_tokens.secondary_color,
|
||
background: "#0D1117", // dark terminal default
|
||
text: "#F0F6FC",
|
||
accent: design_tokens.accent_color,
|
||
},
|
||
watermark_position: "bottom-right",
|
||
},
|
||
terminalTitle: "[tool_name] — zsh — 80x24",
|
||
terminalTheme: "dark",
|
||
showProgressBar: true,
|
||
showWatermark: true,
|
||
scenes: [
|
||
{
|
||
type: "hook",
|
||
startFrame: 0,
|
||
durationFrames: 75,
|
||
text: "[tool_name]",
|
||
subtext: "[description]",
|
||
animation: "fade-in",
|
||
},
|
||
{
|
||
type: "terminal",
|
||
startFrame: 75,
|
||
durationFrames: 45,
|
||
animation: "slide-up",
|
||
commands: [], // empty — just opens terminal
|
||
},
|
||
{
|
||
type: "terminal",
|
||
startFrame: 120,
|
||
durationFrames: [calculated],
|
||
commands: [
|
||
{ text: "$ [command]", type: "input", typeSpeed: 2 },
|
||
{ text: "[output]", type: "output" },
|
||
{ text: "[progress]", type: "spinner", delay: 30 },
|
||
{ text: "✓ [result]", type: "success", color: "#22C55E" },
|
||
// ...
|
||
],
|
||
},
|
||
{
|
||
type: "output-highlight",
|
||
startFrame: [after terminal],
|
||
durationFrames: 120,
|
||
// GlassmorphismCards defined here
|
||
text: "[top metric label]",
|
||
subtext: "[top metric value]",
|
||
animation: "slide-up",
|
||
},
|
||
{
|
||
type: "cta",
|
||
startFrame: [after highlight],
|
||
durationFrames: 105,
|
||
text: "[cta headline]",
|
||
subtext: "[install command or URL]",
|
||
animation: "bounce",
|
||
},
|
||
],
|
||
}</code></pre>
|
||
<h3>Terminal theme color mapping</h3>
|
||
<p>| Theme | Background | Text | Prompt color | |---|---|---|---| | <code>dark</code> (default) | <code>#0D1117</code> | <code>#F0F6FC</code> | <code>#22C55E</code> | | <code>dracula</code> | <code>#282A36</code> | <code>#F8F8F2</code> | <code>#50FA7B</code> | | <code>solarized</code> | <code>#002B36</code> | <code>#839496</code> | <code>#859900</code> |</p>
|
||
<p>The terminal window border and title bar use <code>brand.colors.primary</code> at 30% opacity.</p>
|
||
<hr>
|
||
<h2>Config Reading</h2>
|
||
<h3>From video-profile.yaml</h3>
|
||
<p>| Field | Used for | |---|---| | <code>design_tokens.primary_color</code> | <code>brand.colors.primary</code>, terminal border | | <code>design_tokens.accent_color</code> | ProgressBar color, CTA pill | | <code>style.pacing</code> | typeSpeed multiplier | | <code>style.theme</code> | terminal theme selection |</p>
|
||
<h3>From brand-voice.yaml</h3>
|
||
<p>| Field | Used for | |---|---| | <code>brand.name</code> | tool_name fallback | | <code>brand.handle</code> | <code>brand.handle</code> watermark | | <code>brand.tagline</code> | hook subtext fallback | | <code>cta.default</code> | CTA text fallback | | <code>automation.autonomy</code> | output bundle level |</p>
|
||
<h3>Briefing overrides (highest priority)</h3>
|
||
<p>Any explicit value in the user's briefing (tool name, commands, CTA text) takes precedence over both YAML files.</p>
|
||
<hr>
|
||
<h2>Render Command</h2>
|
||
<p>After generating the composition props, return to the orchestrator with:</p>
|
||
<pre><code class="lang-yaml">composition_id: TechTerminal
|
||
props: { ...full TechTerminalProps JSON... }</code></pre>
|
||
<p>The orchestrator renders using the discovered Remotion CLI:</p>
|
||
<pre><code class="lang-bash">cd "${REMOTION_PROJECT}" && npx remotion render src/index.ts TechTerminal "${OUTPUT_DIR}/video.mp4" \
|
||
--props='{"brand":{...},"scenes":[...],"terminalTitle":"..."}' \
|
||
--fps=30</code></pre>
|
||
<hr>
|
||
<h2>Briefing Collection UI</h2>
|
||
<p>When the orchestrator routes here, display this briefing prompt:</p>
|
||
<pre><code>TECH TERMINAL SHOWCASE
|
||
─────────────────────────────────────────────────────────
|
||
I'll create a developer terminal video with animated
|
||
commands, typewriter output, and highlighted results.
|
||
|
||
Tool / project name:
|
||
> [e.g. " CLI" or "my-npm-package"]
|
||
|
||
What to demonstrate (paste commands + outputs, or describe):
|
||
> [e.g. "show npm install, then init, then build with output"
|
||
or paste actual terminal session]
|
||
|
||
Terminal theme: [dark / dracula / solarized] (default: dark)
|
||
>
|
||
|
||
CTA text (optional):
|
||
> [e.g. "npm install " or "docs.brand.app"]
|
||
|
||
Pacing: [fast / medium / slow] (default: medium)
|
||
>
|
||
─────────────────────────────────────────────────────────</code></pre>
|
||
<p>If user pastes a raw terminal session (no structure), parse it line-by-line using the Step 2 rules above. Lines starting with <code>$</code> or <code>></code> are input; everything else is output.</p>
|
||
<hr>
|
||
<h2>Error Handling</h2>
|
||
<p>| Error condition | Response | |---|---| | Briefing too vague with no tool name | Ask: "What's the name of the CLI tool or package?" | | Command list results in duration > 45s | Trim: keep first input + output block per command group, remove blanks | | Command list results in duration < 15s | Expand with 2–3 additional default commands (version, help, deploy) | | No highlight candidates found | Use first and last success/output lines as highlights | | User pastes non-terminal content | Gently note format, ask to paste actual terminal session or describe commands |</p>
|
||
<hr>
|
||
<h2>Output</h2>
|
||
<p>Return to orchestrator:</p>
|
||
<pre><code class="lang-yaml">status: ready
|
||
composition_id: TechTerminal
|
||
storyboard_path: "[OUTPUT_DIR]/storyboard.md"
|
||
props: { ...TechTerminalProps JSON... }
|
||
estimated_duration_s: [N]
|
||
command_count: [N]
|
||
highlight_count: [N]</code></pre>
|
||
<p>The orchestrator handles the render call, thumbnail, captions, and output bundle.</p>
|
||
<footer>
|
||
<div class="fmap">
|
||
<div><b>Build</b>
|
||
<a href="https://hanzo.app">hanzo.app</a> app builder
|
||
<a href="https://hanzo.codes">hanzo.codes</a> code with an agent
|
||
<a href="https://hanzoskills.com">hanzoskills.com</a> what an agent reads</div>
|
||
<div><b>Run</b>
|
||
<a href="https://console.hanzo.ai">console.hanzo.ai</a> cloud console
|
||
<a href="https://api.hanzo.ai">api.hanzo.ai</a> the API</div>
|
||
<div><b>Account</b>
|
||
<a href="https://hanzo.id">hanzo.id</a> sign in
|
||
<a href="https://pay.hanzo.ai">pay.hanzo.ai</a> top up
|
||
<a href="https://billing.hanzo.ai">billing.hanzo.ai</a> invoices and usage</div>
|
||
<div><b>Company</b>
|
||
<a href="https://hanzo.ai">hanzo.ai</a> canonical
|
||
<a href="https://hanzo.ventures">hanzo.ventures</a> ventures</div>
|
||
</div>
|
||
<div class="fend"><a href="/showcase-tech-terminal.md">This page as plain text</a> · <a href="/llms.txt">Index for agents</a></div>
|
||
</footer>
|
||
</div></body></html> |