chore: 初始化仓库,提交 vibevideo 源码
- src/: HyperFrames 封装 CLI(hv)、组件、品牌样式、音频(TTS/混音)工具 - projects/: 各项目 project.yaml 与文案 - interactive/: 井字棋演示页 - .gitignore: 忽略 node_modules、构建产物与 HyperFrames 运行期缓存
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
title: 三个 Cursor 实用技巧
|
||||
aspect: 横屏
|
||||
fps: 60
|
||||
lang: zh-CN
|
||||
|
||||
scenes:
|
||||
- component: intro
|
||||
duration: 3.5
|
||||
props:
|
||||
kicker: 技巧合集
|
||||
title: 三个 Cursor 实用技巧
|
||||
subtitle: 让你写代码少一半时间
|
||||
|
||||
- component: codedemo
|
||||
duration: 8
|
||||
props:
|
||||
filename: fib.py
|
||||
language: python
|
||||
dimOthers: "true"
|
||||
highlight: "3,4,5"
|
||||
code: |
|
||||
def fib(n):
|
||||
"""斐波那契数列"""
|
||||
if n < 2:
|
||||
return n
|
||||
return fib(n - 1) + fib(n - 2)
|
||||
|
||||
for i in range(10):
|
||||
print(f"fib({i}) = {fib(i)}")
|
||||
|
||||
- component: terminal
|
||||
duration: 6
|
||||
props:
|
||||
title: zsh
|
||||
prompt: "$ "
|
||||
script: |
|
||||
[
|
||||
{ "text": "python fib.py", "kind": "cmd" },
|
||||
{ "text": "fib(0) = 0", "kind": "out" },
|
||||
{ "text": "fib(1) = 1", "kind": "out" },
|
||||
{ "text": "fib(8) = 21", "kind": "ok" },
|
||||
{ "text": "9 行代码,递归一次跑通。", "kind": "dim" }
|
||||
]
|
||||
|
||||
- component: lowerthird
|
||||
duration: 3
|
||||
props:
|
||||
text: 技巧一:先描述意图,再让它动手
|
||||
sub: 上下文质量决定了产出质量
|
||||
|
||||
- component: outro
|
||||
duration: 4
|
||||
props:
|
||||
cta: 觉得有用就点个关注
|
||||
handle: "@你的频道"
|
||||
foot: 每周三更新一期
|
||||
Reference in New Issue
Block a user