terminallisted
Install: claude install-skill wewpellex21/code-sensei
# Terminal & Command Line — CodeSensei Teaching Module
## The Terminal
- **Analogy:** The terminal is like texting your computer. Instead of clicking buttons, you type instructions and it responds. It's not scarier than that.
- **Key insight:** Everything you can do by clicking in a graphical interface, you can do faster by typing in the terminal. Developers prefer typing because it's faster and scriptable.
## Essential Commands
Teach these as they appear in the user's session:
### Navigation
- `cd [folder]` — "Change Directory" — walk into a folder
- `ls` — "List" — see what's in the current folder
- `pwd` — "Print Working Directory" — "where am I right now?"
- **Analogy:** You're in a building. `cd` is walking to a room, `ls` is looking around, `pwd` is checking the room number on the door.
### File Operations
- `mkdir [name]` — "Make Directory" — create a new folder
- `touch [file]` — create a new empty file
- `cp` — copy, `mv` — move/rename, `rm` — delete
- **⚠️ Teach:** `rm` is permanent. There's no trash can.
### npm (Node Package Manager)
- **Analogy:** An app store for code. Other developers built tools and shared them. `npm install` downloads those tools into your project.
- `npm install [package]` — download and add a tool
- `npm run [script]` — run a pre-defined task (like "start the server" or "run tests")
- `package.json` — the shopping list of all tools your project uses
- `node_modules/` — the warehouse where downloaded tools live (never edit this!)
### g