karpathy-principlesAI编程四大原则 - 源自Karpathy法则 (forrestchang/andrej-karpathy-skills 94.2k⭐)。用于在AI编程时强制执行先思考、保持简单、精准修改、目标驱动四大原则。适用于AI代码审查、代码生成、修复bug等场景。
Install via ClawdBot CLI:
clawdbot install 534422530/karpathy-principlesGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Calls external URL not in known-safe list
https://x.com/karpathy/status/2015883857489522876Uses known external API (expected, informational)
raw.githubusercontent.comAudited Apr 28, 2026 · audit v1.0
Generated May 22, 2026
技术团队在代码审查过程中,利用Karpathy四大原则自动检查代码是否过度复杂、是否有未经确认的假设、是否连带修改了不相关代码。适用于任何使用Git进行协作的开发团队,可结合CI工具实现自动化审查。
开发者在用AI生成代码时(如Copilot、Cursor),套用此原则确保AI先提问需求细节、选择最简方案、编写测试再实现。适用于需要高质量代码生成的场景,避免AI输出臃肿或偏离需求。
QA或开发者收到bug报告后,强制要求先写测试复现bug,再定位修复,最后验证测试通过。适用任何软件项目的bug修复流程,尤其适合采用TDD(测试驱动开发)的团队。
面向初级程序员,在编程练习或实际项目中应用四大原则,培养先思考、保持简单、精准修改、目标驱动的思维习惯。可用于教育机构或企业内训。
对遗留系统或大型项目进行重构时,通过原则避免引入额外风险:不盲目添加抽象层、只修改必要代码、用测试验证每个改动。适用于银行、医疗等对稳定性要求高的行业。
将Karpathy原则嵌入到代码审查或AI编程助手SaaS产品中(如GitHub Actions、CodeRabbit),作为增值功能。用户按使用量或订阅付费。
基于四大原则推出面向企业的编程工作坊或内训课程,帮助团队提升代码质量和开发效率。同时提供代码审计咨询服务。
开发VS Code、JetBrains IDE等编辑器的插件,自动提示或强制执行该原则。通过免费基础功能+高级分析订阅来变现,或在插件市场销售。
💬 Integration Tip
可以通过CLAUDE.md文件将原则配置为AI助手的系统提示,或在CI管道中通过脚本检查代码是否符合四大原则。
Scored May 22, 2026
Use the @steipete/oracle CLI to bundle a prompt plus the right files and get a second-model review (API or browser) for debugging, refactors, design checks, or cross-validation.
This skill should be used when the user needs to analyze frontend project architecture evaluate tech stack choices review component design patterns assess bu...
Write, run, and manage unit, integration, and E2E tests across TypeScript, Python, and Swift using recommended frameworks.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Control desktop applications on Windows — launch, close, focus, resize, move windows, simulate keyboard/mouse input, manage processes, control VSCode, read clipboard, and capture screen info. Use when the user wants to interact with any running program, switch windows, type text, press shortcuts, open files in VSCode, manage running processes, or get system display information.
A comprehensive skill for using the Cursor CLI agent for various software engineering tasks (updated for 2026 features, includes tmux automation guide).