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: 每周三更新一期