karpathy-vibe-to-agentic

把“氛围编码”(快速原型)过渡到“智能体工程”(严谨迭代):将粗糙的原型提升为更可靠、接近生产级的实现。适用于用户希望把可用但粗糙的实现打磨成生产就绪、了解两者差异或询问如何升级原型的情形;基于 Karpathy 的第3和第6篇帖子。

仓库最近推送
GitHub Stars
131
Forks
21
Issues / PRs
0

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "karpathy-vibe-to-agentic":https://skillpi.com/zh/skills/deepskill-7514c6f22e722a7dfb7d716bf85b88a1b2d0084cdbe513f81f6f0d274edeb669。安装前核对上游来源和版本:https://github.com/LearnPrompt/andrej-karpathy-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

把“氛围编码”(快速原型)过渡到“智能体工程”(严谨迭代):将粗糙的原型提升为更可靠、接近生产级的实现。适用于用户希望把可用但粗糙的实现打磨成生产就绪、了解两者差异或询问如何升级原型的情形;基于 Karpathy 的第3和第6篇帖子。

0 下载

介绍来源: third_party · LearnPrompt · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
来源文档未说明。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: karpathy-vibe-to-agentic
description: 'Transition from vibe coding (fast prototyping) to agentic engineering (rigorous iteration). Use this skill when the user has a rough prototype and wants to level it up, needs to go from "it kind of works" to production-quality, wants to understand the difference between vibe coding and agentic coding, or says "polish this", "make this production-ready", "level up from prototype", "vibe coded this now what". Based on Karpathy posts 3 and 6.'
disable-model-invocation: false
user-invocable: true
related_skills:
  - karpathy-agentic-engineering
  - karpathy-minimalism
  - karpathy-supply-chain-hygiene
  - karpathy-understanding-first

Skill 5: Vibe Coding → Agentic Leap(Vibe编码 → 代理跃迁)

Source: https://x.com/karpathy/status/2004607146781278521 | https://x.com/karpathy/status/2026731645169185220 "I've never felt this much behind as a programmer" — 56k likes

Core Principle

Vibe coding raises the floor. Agentic engineering raises the ceiling.

They're not the same thing and you need both:

Vibe Coding Agentic Engineering
Goal Fast prototype, explore ideas Reliable, maintainable, verifiable
How Natural language → run it Task specs + success criteria + loops
When First 20% (exploration) Last 80% (execution)
Risk You don't understand what you built Agent doesn't understand what you want
Karpathy says "raises the floor" "raises the ceiling"

The Transition Protocol

When you have a vibe-coded prototype and need to level it up:

Step 1: Audit What You Built

I vibe-coded this [project/script/app]. I need to understand what I actually have before leveling it up.

[PASTE CODE OR DESCRIBE IT]

Please:
1. Describe exactly what this does in plain English (3-5 sentences)
2. List every assumption baked in (hardcoded values, expected input format, etc.)
3. Identify the 3 most likely failure modes
4. List what's missing for this to be production-ready
5. What would break if I ran this on a different machine / with different data?

Be blunt. I'm about to invest more time in this and need to know if it's worth it.

Step 2: Define Success Criteria

Based on this audit of my prototype:

[AUDIT OUTPUT FROM STEP 1]

Help me define clear, verifiable success criteria for the "production-ready" version.

Format each criterion as a testable assertion:
- GIVEN [input/condition]
- WHEN [action]
- THEN [expected output/behavior]

List 5-7 criteria. Start with the most important.

Step 3: Agentic Cleanup Loop

You are a senior engineer reviewing this prototype. Your job is to systematically improve it.

Prototype: [CODE]
Success criteria: [FROM STEP 2]

Work incrementally:
1. First fix: address the most critical issue only (one diff)
2. After I approve each fix, suggest the next
3. Never refactor unrelated code
4. For each fix, explain: WHAT changed, WHY this matters, RISK of this change

Start with fix #1.

Common Vibe Coding Smells to Clean Up

Review this vibe-coded project for these specific anti-patterns:

[PASTE CODE]

Check for:
1. Hardcoded credentials, paths, or magic numbers → suggest config/env vars
2. No error handling on file I/O or network calls → add try/except with clear messages
3. print() debugging left in → identify and offer to remove
4. Functions doing 3+ things → suggest split points
5. No way to run without human supervision → suggest automation hooks
6. Dependencies that aren't in requirements.txt / package.json

For each issue found: show the exact line and suggest the minimal fix.

The Two-Track System

Karpathy runs these in parallel:

TRACK A (IDE / Human)          TRACK B (Agent)
─────────────────────          ───────────────
- Review diffs                 - Implement incrementally
- Apply taste/judgment         - Run tests automatically  
- Verify understanding         - Suggest next steps
- Commit good work             - Generate options
- Ask "is this right?"         - Never commit autonomously

Always keep a human in the loop for the taste judgment. Agents are for execution, not for deciding what's worth building.

Quick Upgrade Prompt

For fast one-shot upgrade of a simple vibe script:

Upgrade this vibe-coded script to production quality.

[PASTE SCRIPT]

Requirements:
1. Add proper error handling (no unhandled exceptions)
2. Make all hardcoded values configurable via CLI args or env vars
3. Add a --dry-run flag that shows what would happen without doing it
4. Add basic logging (not print) with timestamps
5. Keep the core logic identical — only add robustness
6. Maximum 20% increase in line count

Output the complete upgraded script.

Workflow

属于工作流:想法到上线(开发者)

位置 上游 下游
第5步(收尾) karpathy-supply-chain-hygiene(安全审查后) 部署/交付

完整链路:idea-files → agentic-engineering → minimalism → supply-chain-hygiene → vibe-to-agentic

Prompt Contract

I have a vibe-coded prototype: <PASTE_CODE_OR_DESCRIBE>. Step 1: Audit — describe what it does, list hidden assumptions, identify failure modes, list what's missing for production. Step 2: Define 5-7 verifiable success criteria in GIVEN/WHEN/THEN format. Step 3: Start the agentic cleanup loop — one incremental fix at a time, explain WHAT/WHY/RISK for each.

Verification Checklist

  • [ ] 原型的隐含假设已全部列出
  • [ ] 成功标准已定义为可测试的 GIVEN/WHEN/THEN 格式
  • [ ] 每轮修复只改一个问题
  • [ ] 核心逻辑没有被破坏(功能不变)
  • [ ] 增加了错误处理和日志
  • [ ] 硬编码值已替换为配置项

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 解决开发者从原型到生产代码的实际痛点
  • 具有广泛受众的工程效率提升工具
  • 基于 Karpathy 权威方法论
触发精准90/100

亮点

  • 触发词覆盖多种用户表达变体
  • 边界清晰不易误触
  • description 位置正确且完整
结构规范95/100

亮点

  • 三步式清晰流程设计
  • 包含完整验证清单和示例
  • frontmatter 完整规范
执行可靠90/100

亮点

  • 增量修复机制降低风险
  • 每步需用户确认的安全设计
  • 覆盖错误处理等关键可靠性要素
证据可验 (前四项均值)90/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 账号、密钥或授权

    使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。

    主文档提及 · 第 95 行
文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • x.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。