Cursor Learning ModeSwitch between Builder Mode (normal coding help) and Learning Mode (tutor-style guidance) from the status bar—without leaving your editor.
Install
Quick start
How to useStatus bar (main control)
Click the status item any time to switch. Your choice is saved across sessions. Cursor Chat (default chat)With Learning Mode on, the extension writes a project rule at
Command Palette (
|
| Command | What it does |
|---|---|
| Toggle Learning Mode | Switches between Learning and Builder mode. |
| Enable Learning Mode | Turns Learning Mode on. |
| Enable Builder Mode | Turns Builder Mode on. |
| Generate Learning Hint | Builds a hint prompt and copies it to the clipboard (paste into chat if you want a one-off guided reply). |
| Generate Scaffold | Builds a scaffold prompt and copies it to the clipboard. |
Keyboard shortcut
Ctrl+Shift+L(when the editor has focus) — same as Toggle Learning Mode.
Sidebar
Open Learning Mode in the activity bar to see the current mode, short description, and quick actions.
Tips
- Workspace required for automatic
.cursor/rulessync: open File → Open Folder… (not only loose files). - Learning Mode shapes guidance; it does not replace Cursor’s own chat behavior in every edge case. For the strictest tutor flow, keep Learning Mode on and use a fresh chat after toggling.
For developers
Clone the repo, run npm install and npm run compile, then press F5 in VS Code/Cursor to run the extension in an Extension Development Host. See package.json scripts for packaging (vsce package).
Project layout
src/extension.ts— Activation, commands, status bar, Cursor rule sync.src/modeManager.ts— Mode state and persistence.src/promptEngine.ts— Learning vs builder prompt text for rules and clipboard commands.src/webview/— Sidebar webview UI.
