我是一个剪辑学徒,完全没学过编程。但过去一个月,我用AI写了:
全程没写过一行代码,都是让AI写的。下面把我踩过的坑、总结的方法分享给你。
写代码用哪个AI?我测试过几个:
| AI工具 | 代码能力 | 中文理解 | 免费额度 | 推荐度 |
|---|---|---|---|---|
| DeepSeek | ★★★★★ | ★★★★★ | 完全免费 | ⭐⭐⭐⭐⭐ 首选 |
| Claude | ★★★★★ | ★★★★☆ | 需付费 | ⭐⭐⭐⭐ 质量最高 |
| ChatGPT | ★★★★☆ | ★★★☆☆ | 需付费 | ⭐⭐⭐ 英文好中文一般 |
| 通义灵码 | ★★★☆☆ | ★★★★☆ | 免费 | ⭐⭐⭐ 适合简单任务 |
结论:新手从DeepSeek开始,免费且中文理解最好。
这是最关键的一步。AI写代码的质量,90%取决于你怎么描述需求。
帮我做一个网站
AI不知道你要什么,只能给个通用模板。
帮我做一个AI工具导航网站,要求: 1. 深色主题(黑色/深蓝背景) 2. 顶部固定导航栏,包含"工具导航""教程文章""赚钱攻略"三个栏目 3. 工具按分类展示(视频生成、图片生成、AI写作等) 4. 每个工具显示:图标、名称、一句话介绍、跳转链接 5. 手机端适配(屏幕宽度小于600px时卡片变单列) 6. 纯HTML+CSS+JS,不依赖任何框架 7. 中文界面
AI会给你一份完整可用的代码,直接就能用。
https://chat.deepseek.com,免费注册登录index.htmlindex.html,用浏览器打开看效果以本站为例,我给DeepSeek的完整Prompt:
帮我做一个AI工具导航网站,面向剪辑学徒和AI新手。 风格要求: - 深色主题,GitHub风格(黑+深蓝) - 现代简洁,不要花哨 - 卡片式布局 功能要求: - 首页Hero区域:一句话Slogan + CTA按钮 - 工具导航:按分类展示(视频生成/图片生成/AI写作/AI音乐/剪辑工具) - 教程文章列表:显示标题+日期+标签 - 赚钱攻略网格:显示摘要+标签 - 关于我:简短介绍 技术要求: - 纯HTML+CSS+JS,不依赖框架 - 手机端适配 - 代码结构清晰,方便后续用AI修改 内容要求: - 工具介绍要真实,我亲测过的 - 语言风格:直接、不废话、有点俏皮 - 面向中文用户
DeepSeek一次性给了 index.html + style.css + main.js 三份代码。我本地测试后,又提了3轮修改意见("导航栏固定""卡片hover效果""手机端字体太小"),最终定型。
整个过程不到2小时。
直接把错误信息复制给AI,说"运行后报错:XXX",AI会自动修复。通常1轮就能解决。
继续对话,追加需求。比如"再加上一个搜索框功能""工具卡片加上收藏按钮"。AI会在原有代码基础上修改,不用重新开始。
在Prompt里加上设计参考,比如"参考GitHub Dark主题""类似Stripe官网的风格""苹果官网的简洁感"。AI会模仿你给的参考。
跟AI说"注释用中文""变量名用拼音也可以"。或者直接用,不影响运行。我到现在也分不清很多英文变量名,但不妨碍我用AI写代码。
除了做网站,AI还能帮你写各种小工具脚本,提升工作效率。下面是我让AI写的几个实用脚本:
这些脚本都不需要你懂编程,AI写完后你复制保存为 .py 或 .bat 文件,双击运行就行。
— 小卡拉米,2026.06.15(最后更新:2026.06.23)
I'm a film-editing apprentice with zero programming experience. But over the past month, I've used AI to write:
Not a single line of code written by me—all of it done by the AI. Below I'll share the pitfalls I hit and the method I settled on.
Which AI should you use for coding? I tested a few:
| AI Tool | Coding | Chinese | Free Quota | Recommendation |
|---|---|---|---|---|
| DeepSeek | ★★★★★ | ★★★★★ | Completely free | ⭐⭐⭐⭐⭐ Top pick |
| Claude | ★★★★★ | ★★★★☆ | Paid | ⭐⭐⭐⭐ Best quality |
| ChatGPT | ★★★★☆ | ★★★☆☆ | Paid | ⭐⭐⭐ Good English, so-so Chinese |
| Tongyi Lingma | ★★★☆☆ | ★★★★☆ | Free | ⭐⭐⭐ Good for simple tasks |
Verdict: beginners should start with DeepSeek—it's free and understands Chinese best.
This is the most critical step. The quality of the AI's code is 90% determined by how you describe the requirements.
Build me a website
The AI doesn't know what you want and can only hand you a generic template.
Build me an AI tools directory website. Requirements: 1. Dark theme (black / dark-blue background) 2. Fixed top navbar with three sections: "Tools", "Tutorials", "Money-Making Tips" 3. Tools grouped by category (video generation, image generation, AI writing, etc.) 4. Each tool shows: icon, name, one-line description, and link 5. Mobile responsive (cards collapse to a single column when screen width < 600px) 6. Pure HTML + CSS + JS, no frameworks 7. Chinese UI
The AI will give you complete, ready-to-use code that works right away.
https://chat.deepseek.com and sign up / log in for freeindex.htmlindex.html and open it in a browser to see the resultUsing this site as an example, here's my full prompt for DeepSeek:
Build me an AI tools directory website for film-editing apprentices and AI beginners. Style: - Dark theme, GitHub-style (black + dark blue) - Modern and clean, nothing flashy - Card-based layout Features: - Homepage hero: one-line slogan + CTA button - Tools nav: grouped by category (video gen / image gen / AI writing / AI music / editing tools) - Tutorial article list: title + date + tags - Money-making tips grid: summary + tags - About me: short intro Tech: - Pure HTML + CSS + JS, no frameworks - Mobile responsive - Clean code structure for easy later edits with AI Content: - Tool descriptions must be real and things I've personally tested - Tone: direct, no fluff, a bit playful - For Chinese-speaking users
DeepSeek returned index.html + style.css + main.js in one go. After local testing I gave 3 more rounds of feedback ("pin the navbar", "card hover effect", "mobile font too small") and finalized it.
The whole process took under 2 hours.
Just copy the error message to the AI and say "I get this error when running it: XXX"—the AI will fix it automatically. Usually solved in one round.
Keep chatting and add requests, e.g. "add a search box", "add a bookmark button to the tool cards". The AI modifies the existing code instead of starting over.
Add design references in the prompt, e.g. "reference the GitHub Dark theme", "like Stripe's site", "the clean feel of Apple's site". The AI will mimic your references.
Tell the AI "use Chinese comments" or "pinyin variable names are fine". Or just use them as-is—it won't affect how the code runs. I still can't tell many English variable names apart, but it doesn't stop me from using AI to write code.
Besides building websites, AI can also write all kinds of small utility scripts to boost your efficiency. Here are a few practical ones I had the AI write:
None of these scripts require you to know programming. Once the AI writes them, you just copy and save as a .py or .bat file and double-click to run.
— Xiao Kalami, 2026.06.15 (last updated: 2026.06.23)