Loading video...

Video Failed to Load

Go Home

Introducing "codebase to course", a skill that turns any codebase into an interactive coding course So that you can learn coding through your own projects, complete with visualization, plain-English code translations, metaphors, even quizzes... I vibe code a lot but have no idea how the code works under the...

209,217 views • 7 months ago •via X (Twitter)

35 Comments

Zara Zhang's profile picture
Zara Zhang7 months ago

Skill:

Gaurang Karia's profile picture
Gaurang Karia7 months ago

Cool. Agree that among with Vibe coding, Vibe learning should go hand in hand. I built this to help along the way as you cover with Claude code.

Ken's profile picture
Ken7 months ago

this is actually genius. Most people learn to code backwards, they study theory for months then try to build something. This flips it. Build first then understand what u built. Its like learning to drive by actually driving not by reading the car manual for 6 months

Siim Haugas's profile picture
Siim Haugas7 months ago

this is way closer to how people actually learn now. build first, then inspect the weird part you just shipped while the pain is still fresh.

Lumina Strategy's profile picture
Lumina Strategy7 months ago

"Build first, learn later" is the most underrated principle in AI right now. Everyone thinks you need to understand AI before you use it. You don't. You need to use it, get results, then understand why it worked. Same way nobody learned to drive by studying an engine. You got in the car and figured it out. This is how every business owner should approach AI. Start. Then learn.

TDM (e/λ) (L8 vibe coder 💫)'s profile picture
TDM (e/λ) (L8 vibe coder 💫)7 months ago

Love it. My take on this is to convert a codebase into an interactive explainer. Do checkout at -

Sentenza | The Escape Plan's profile picture
Sentenza | The Escape Plan7 months ago

this is what i actually want when i inherit a codebase. not docs. a guided tour that explains the why behind the structure

FUNL's profile picture
FUNL7 months ago

This is my project that has similar intent that helps non-tech vibe coder better understand codebase and progress.

jon - building 🍎's profile picture
jon - building 🍎7 months ago

hey zara! would love to get your thoughts on this its more codex focussed, but its about getting to that level of leveraging ai tools to be the best study companion that you can have

Trevor I. Lasn's profile picture
Trevor I. Lasn7 months ago

the visualization angle is interesting. the hardest part of learning a codebase isn't the code itself but the reasoning behind the architecture. does it surface the "why" behind patterns or mostly the "what"?

Jeremy's profile picture
Jeremy7 months ago

woww i have been thinking of something like this for a long time. but you have brought it into the world much better than i was thinking! great work 👏🏽

Jessi Cao's profile picture
Jessi Cao7 months ago

Love all skills you are sharing!!! And "follow builders, not influencer" you have said impress me a lot. Users who built first retained 3x longer than those in "learn first" tutorials. Momentum beats theory!! Build first, Build in AI, learn later.

Andrey's profile picture
Andrey7 months ago

@DamiDina this is going to be awesome for beginners that wanna dive in deeper with tech. awesome work!!

Kartik Katyal's profile picture
Kartik Katyal6 months ago

love the visualizations, built something similar a few days back. it gives you a detailed read into the tech stack, architecture, design tradeoffs, and explains the code with code snippets. the quiz also has a surprise at the end lol.

Andika Rachman's profile picture
Andika Rachman7 months ago

Build first, learn later is the most natural way humans have ever learned anything. We just forgot because school taught us the opposite for 20 years. Kids don't study grammar before speaking. They speak, then understand why. This is that, but for code.

Atif Saleem's profile picture
Atif Saleem7 months ago

I was thinking of creating something similar because I am also vibe building while learning on the go. I have usually added in Agents rule to walk me through after each session in a structured manner. I’ll try this skill to see how it goes. Thanks

Somi's profile picture
Somi7 months ago

learning from code you vibe coded is actually smarter than generic tutorials because you already know what it's supposed to do. you just don't know how

Pavan Kumar's profile picture
Pavan Kumar6 months ago

Love it! So good! Need this right now!!

Frank (Haofan) Wang's profile picture
Frank (Haofan) Wang7 months ago

This idea is quite similar to @WonderingApp.

Pacey Li's profile picture
Pacey Li6 months ago

Yesterday I just used frontend-slides to study my code.

Thomas Tao's profile picture
Thomas Tao7 months ago

Build first, learn later is probably right. I’ve learned way more once the code had stakes and context.

Cell 细胞's profile picture
Cell 细胞7 months ago

@tangjinzhou fork

JP's profile picture
JP7 months ago

Nice one @zarazhangrui! This is what I think future of education looks like

Nathan Wang's profile picture
Nathan Wang6 months ago

"Build first, learn later" is such a great philosophy for the AI era. Using a Claude Code skill to reverse-engineer your own vibe-coded projects into a custom curriculum is brilliant. It perfectly bridges the gap between just generating code and actually understanding what you built.

Azeem's profile picture
Azeem7 months ago

A paradigm shift for learning to code.

Adam ∣ Building to $10K/mo live's profile picture
Adam ∣ Building to $10K/mo live7 months ago

This is also how senior engineers actually work, they read source code, not tutorials. The risk with build-first is encoding bad patterns early. Your skill sidesteps that by making the code explain itself. That's the real unlock.

Santiago Pravisani's profile picture
Santiago Pravisani7 months ago

Zara cooking! Love these skills!

Mykola Kondratiuk's profile picture
Mykola Kondratiuk7 months ago

honestly the hardest part of learning from a codebase is knowing where to even start. this makes that a lot less painful

Cherry | Collab Manager's profile picture
Cherry | Collab Manager7 months ago

This is really a good share.

Vladyslav Hunt's profile picture
Vladyslav Hunt7 months ago

build first learn later is how every kid learns to walk. we just forgot that approach somewhere around college textbooks

Tanay Sharma's profile picture
Tanay Sharma7 months ago

This would be a boon for non-tech users, who fear when handed over with a Github codebase link.

Dotya's profile picture
Dotya7 months ago

"Build first, learn later" is the thesis most people still aren't ready to hear. We've seen non-technical founders ship production features in week one, then retroactively understand what they built. The codebase IS the curriculum now.

Botanium's profile picture
Botanium7 months ago

This skill has a huge potential, i don’t need to code everything but i need to be able to read and understand it.

Kwok's profile picture
Kwok7 months ago

Such a great skill Zara. I will try it on some codebase.

Julian Alvarez's profile picture
Julian Alvarez6 months ago

very cool, love this!

Related Videos

I'm teaching a new course! AI Python for Beginners is a series of four short courses that teach anyone to code, regardless of current technical skill. We are offering these courses free for a limited time. Generative AI is transforming coding. This course teaches coding in a way that’s aligned with where the field is going, rather than where it has been: (1) AI as a Coding Companion. Experienced coders are using AI to help write snippets of code, debug code, and the like. We embrace this approach and describe best-practices for coding with a chatbot. Throughout the course, you'll have access to an AI chatbot that will be your own coding companion that can assist you every step of the way as you code. (2) Learning by Building AI Applications. You'll write code that interacts with large language models to quickly create fun applications to customize poems, write recipes, and manage a to-do list. This hands-on approach helps you see how writing code that calls on powerful AI models will make you more effective in your work and personal projects. With this approach, beginning programmers can learn to do useful things with code far faster than they could have even a year ago. Knowing a little bit of coding is increasingly helping people in job roles other than software engineers. For example, I've seen a marketing professional write code to download web pages and use generative AI to derive insights; a reporter write code to flag important stories; and an investor automate the initial drafts of contracts. With this course you’ll be equipped to automate repetitive tasks, analyze data more efficiently, and leverage AI to enhance your productivity. If you are already an experienced developer, please help me spread the word and encourage your non-developer friends to learn a little bit of coding. I hope you'll check out the first two short courses here!

Andrew Ng

1,226,579 views • 2 years ago

New short course: Building Code Agents with Hugging Face smolagents! Learn how to build code agents in this course, created in collaboration with Hugging Face, and taught by Thomas Wolf, its co-founder and CSO, and m_ric, Hugging Face’s Project Lead on Agents. Tool-calling agents use LLMs to generate multiple function calls sequentially to complete a complex sequence of tasks. They generate one function call, execute it, observe, reason, and decide what to do next. Code agents take a different approach. They consolidate all these calls into a single block of code, letting the LLM lay out an entire action plan at once, which can be executed efficiently to provide more reliable results. You’ll learn how to code agents using smolagents, a lightweight agentic framework from Hugging Face. Along the way, you’ll learn how to run LLM-generated code safely and develop an evaluation system to optimize your code agent for production. In detail, you’ll learn: - How agentic systems have evolved, gaining greater levels of agency over time—and why code agents are a next step. - How code agents write their actions in code. - When code agents outperform function-calling agents. - How to run code agents safely in your system using a constrained Python interpreter and sandboxing using E2B. - To trace, debug, and assess the code agent to optimize its behaviours for complex requests. - How to build a research multi-agent system that can find information online and organize it into an interactive report. By the end of this course, you’ll know how to build and run code agents using smolagents, and deploy them safely with a structured evaluation system in your projects. Please sign up here!

Andrew Ng

127,724 views • 1 year ago