I'm looking to build a learning extension for pi centered around project based learning.…
- User
I'm looking to build a learning extension for pi centered around project based learning.
This quote from Andrej Karpathy is a good north start for the type of learning experiences I'm looking to build
codeBuild Ramps To Knowledge, Not Syllabi Design courses as ramps: present the pain point first, then a minimal, motivated solution. Aim for high "Eureka per second" by ordering concepts so each depends only on prior material.I want to start with a very simple solution that I can dog food myself starting with very specific concepts and grow it from there
- Assistant
- User
Ok let's do it
- User
I added credits to my openrouter account, continue
- Assistant
Implemented the first project-based learning extension.
Added
extensions/learning/index.tsextensions/learning/README.md- Package registration in
package.json - Extension documentation in the root
README.md
Commands
text/learn <concept> /learn-status /learn-stop/learncollects your starting knowledge and timebox, then activates coaching based on:Need → Attempt → Friction → Minimum lesson → Application → Proof
State persists with the current session branch, and the active concept appears in pi’s footer.
Validation
- Loaded successfully with pi
0.84.2 - Extension module imports successfully
git diff --checkpasses- Reviewer findings around streaming, wizard cancellation, and invalid persisted state were addressed
Run:
text/reloadThen dogfood it with:
text/learn pi extension lifecycle and state - User
Start a project-based learning ramp for pi extension lifecycle and state.
My current understanding: Nothing Available time: about 20 minutes.
Propose 2–3 small project options as instructed by learning mode, then wait for me to choose.
- User
Ok commit and push those changes
- Assistant
Committed and pushed to
origin/main.- Commit:
022d247 Add project-based learning extension - Branch:
main - Working tree: clean
- Commit:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.