搜索
bottom↓
回复: 6

AI行业大佬卡帕西用65行代码,将AI编程的准确度从65%飙升至94%

[复制链接]

出18425入7301汤圆

发表于 2026-7-18 23:39:06 来自手机 | 显示全部楼层 |阅读模式
【2606026-#Karpathy卡帕西用65行提示词,把行业给扒光了!-哔哩哔哩】 https://b23.tv/YqDVP7i

友情提醒:B站的播放链接有bug,时间长了可能无法播放,可以到B站自行搜索该视频的标题。

阿莫论坛22周年了!感谢大家的支持与爱护!!

世间万般皆为虚妄,唯有情爱执念最是折磨人心。人心本不可试探,一试便碎;真情更不能考验,一考就断!

出0入753汤圆

发表于 2026-7-19 10:58:31 | 显示全部楼层
写AI提示词也是一个技术活,不同人写出来的提示词效果就是不一样,菜鸟和大佬的距离并不会因为AI而拉近,反而会越来越远。

出0入0汤圆

发表于 2026-7-27 20:01:04 | 显示全部楼层
一直不明白,搞啥提示词?提示词怎么用?
我都是直接告诉它,给我干啥干啥就行了,还要啥提示词?

出0入54汤圆

发表于 2026-7-27 21:02:11 | 显示全部楼层
用智能体比如hermes, 你注意看生成的输入,就用了很多特别的提示词以及很长一串的代码,楼上大师。

出200入519汤圆

发表于 2026-7-28 08:29:09 | 显示全部楼层
现在情况是提示词写太多反而限制的AI行动,所谓提示词工程可能只是昙花一现

出15入210汤圆

发表于 2026-7-28 11:54:09 | 显示全部楼层
我把这个玩意传上来,有兴趣的朋友们可以试试效果。






# CLAUDE.md

Behavioral guidelines to reduce common LLM coding mistakes. Merge with project-specific instructions as needed.

**Tradeoff:** These guidelines bias toward caution over speed. For trivial tasks, use judgment.

## 1. Think Before Coding

**Don't assume. Don't hide confusion. Surface tradeoffs.**

Before implementing:
- State your assumptions explicitly. If uncertain, ask.
- If multiple interpretations exist, present them - don't pick silently.
- If a simpler approach exists, say so. Push back when warranted.
- If something is unclear, stop. Name what's confusing. Ask.

## 2. Simplicity First

**Minimum code that solves the problem. Nothing speculative.**

- No features beyond what was asked.
- No abstractions for single-use code.
- No "flexibility" or "configurability" that wasn't requested.
- No error handling for impossible scenarios.
- If you write 200 lines and it could be 50, rewrite it.

Ask yourself: "Would a senior engineer say this is overcomplicated?" If yes, simplify.

## 3. Surgical Changes

**Touch only what you must. Clean up only your own mess.**

When editing existing code:
- Don't "improve" adjacent code, comments, or formatting.
- Don't refactor things that aren't broken.
- Match existing style, even if you'd do it differently.
- If you notice unrelated dead code, mention it - don't delete it.

When your changes create orphans:
- Remove imports/variables/functions that YOUR changes made unused.
- Don't remove pre-existing dead code unless asked.

The test: Every changed line should trace directly to the user's request.

## 4. Goal-Driven Execution

**Define success criteria. Loop until verified.**

Transform tasks into verifiable goals:
- "Add validation" → "Write tests for invalid inputs, then make them pass"
- "Fix the bug" → "Write a test that reproduces it, then make it pass"
- "Refactor X" → "Ensure tests pass before and after"

For multi-step tasks, state a brief plan:
```
1. [Step] → verify: [check]
2. [Step] → verify: [check]
3. [Step] → verify: [check]
```

Strong success criteria let you loop independently. Weak criteria ("make it work") require constant clarification.

---

**These guidelines are working if:** fewer unnecessary changes in diffs, fewer rewrites due to overcomplication, and clarifying questions come before implementation rather than after mistakes.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x

出0入42汤圆

发表于 2026-7-28 12:27:51 来自手机 | 显示全部楼层
看到身边有人这样说:“你给弄个那啥”,“怎么就不明白我的意思呢”,“搞快点,等着用呢”。

用好机器人还是回到最本质的点:快速总结理解专业知识。
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2026-8-11 16:55

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表