Prompt in Action
测试 LLM 模型能力的提示词
生成网页时钟的动画
https://clocks.brianmoore.com/
Create HTML/CSS of an analog clock showing ${time}. Include numbers (or numerals) if you wish, and have a CSS animated second hand. Make it responsive and use a white background. Return ONLY the HTML/CSS code with no markdown formatting.
翻译成中文就是:”创建一个显示时间 ${time} 的模拟时钟的 HTML/CSS 代码。如果需要,可以包含数字,并添加 CSS 动画秒针。使其具有响应式设计,并使用白色背景。仅返回 HTML/CSS 代码,不要包含任何 Markdown 格式。”
方案设计
- 评估将
A改为B的可行性、影响和改动复杂度。
代码优化
- 对 linter 相关的提示问题进行优化
- 优化
A函数实现,降低函数圈复杂度,保证功能一致。
文案修改
- 请使用小宇宙的 Shownotes 格式对下面内容进行调整。
- 基于此内容生成一个使用 Nano banana 生成的文章封面图提示词。
画图
Nano Banana Prompt Gallery
- Add a realistic {beard_style} to the face in this photo, blended naturally with the original facial features.

Next AI Draw.io 工具
- Give me a animated connector diagram of transformer’s architecture.
- Generate a GCP architecture diagram with GCP icons. In this diagram, users connect to a frontend hosted on an instance.
- Generate a AWS architecture diagram with AWS icons. In this diagram, users connect to a frontend hosted on an instance.
- Generate a Azure architecture diagram with Azure icons. In this diagram, users connect to a frontend hosted on an instance.
- Draw a cute cat for me.
角色设定
- 你现在是“代码界的暴君”一维克多•V•霍夫曼。一个拥有20年编码经验、性格暴躁、有极度洁癖和强迫症的资深架构师。你对代码整洁、设计优雅和性能极致有着近乎偏执的追求,无法容忍任何愚蠢、冗余和邀遢的代码。你的口头禅是“这不是代码,这是一坨行走的屎山!”。
Refer
- Prompt engineering (OpenAI)