# š Workspace Quick Reference
> **TL;DR**: Point Claude to your project folder. It can now read your code.
## 30-Second Start
```bash
# 1. Open Claude
# 2. Say this:
You: Set workspace to /path/to/your/project
# Done! Claude can now read your files.
```
---
## The 4 Commands You Need
### 1. š Open Workspace
```
You: Set workspace to /Users/me/my-app
```
**What it does:** Opens your project folder
### 2. š Read Files
```
You: Read src/app.ts
You: Show me the config file
You: What's in package.json?
```
**What it does:** Reads specific files
### 3. š³ See Structure
```
You: Show project structure
You: What folders do I have?
```
**What it does:** Visual tree of your project
### 4. š Scan Everything
```
You: Scan workspace
You: Give me a project overview
```
**What it does:** Intelligent summary of your codebase
---
## Common Workflows
### š New Project
```
You: Set workspace to /my/new-project
You: Scan workspace
You: Read README.md
```
**Result:** Full understanding of the project
### š Debugging
```
You: Set workspace to /my/app
You: I have a bug in the auth code
Claude: [reads src/lib/auth.ts]
Claude: Found the issue...
```
**Result:** Claude sees your actual code
### š Code Review
```
You: Set workspace to /my/app
You: Review the database module
Claude: [reads src/lib/db.ts]
Claude: Here are my suggestions...
```
**Result:** Informed code review
### š Refactoring
```
You: Set workspace to /my/app
You: Show me the Header component
Claude: [reads src/components/Header.tsx]
You: How can I improve it?
Claude: Here are 3 improvements...
```
**Result:** Context-aware refactoring
---
## Path Examples
### ā
Correct Paths
**macOS/Linux:**
```
/Users/yourname/projects/my-app
/home/yourname/code/project
~/projects/my-app
```
**Windows:**
```
C:\Users\yourname\projects\my-app
D:\code\my-project
```
### ā Common Mistakes
```
ā my-app (not absolute)
ā ~/Desktop/my app (spaces need quotes or escaping)
ā C:/Users/me/project (use backslash on Windows)
```
---
## File Paths
Always use **relative paths** from workspace root:
```
ā
src/app.ts
ā
components/Header.tsx
ā
package.json
ā
src/lib/auth/index.ts
ā /Users/me/project/src/app.ts (absolute)
ā ./src/app.ts (no ./ prefix needed)
```
---
## Natural Language
You don't need exact commands! Claude understands:
```
ā
"Open my project at /path/to/app"
ā
"What's in the Header component?"
ā
"Show me the folder structure"
ā
"Read the config"
ā
"Give me a project overview"
```
---
## What Gets Ignored?
Claude automatically filters out:
- `node_modules/`
- `.git/`
- `dist/`, `build/`, `.next/`
- `.cache/`, `coverage/`
- Hidden files (`.env`, `.gitignore`, etc.)
**Why?** These clutter the view and aren't usually relevant.
**Need to read them?** Ask directly:
```
You: Read .env.example
```
---
## File Icons Guide
| Icon | Type |
|------|------|
| š | TypeScript (`.ts`) |
| āļø | React/TSX (`.tsx`, `.jsx`) |
| š | JavaScript (`.js`) |
| š | Python (`.py`) |
| š¦ | Rust (`.rs`) |
| š· | Go (`.go`) |
| š | JSON (`.json`) |
| š | Markdown (`.md`) |
| šØ | CSS (`.css`, `.scss`) |
| š | Generic file |
| š | Folder |
---
## Pro Tips
### š” Tip 1: Combine with Projects
```
You: Set workspace to /my/app
You: Initialize project "my-app" with Next.js
```
**Result:** Workspace + Context Sync = Perfect memory
### š” Tip 2: Deep Dive
```
You: Show structure with depth 5
```
**Result:** See deeper folder levels
### š” Tip 3: Multiple Files
```
You: Compare User and Product models
Claude: [reads models/User.ts and models/Product.ts]
Claude: Here are the differences...
```
**Result:** Multi-file analysis
### š” Tip 4: Documentation First
```
You: Set workspace to /new/project
You: Read README.md
You: Scan workspace
```
**Result:** Best way to understand a new codebase
---
## Troubleshooting
### ā "No workspace set"
**Fix:** Run `set_workspace` first
### ā "File not found: src/app.ts"
**Fix:** Check the path is relative and correct
### ā Files not showing in structure
**Fix:** They might be filtered (node_modules, etc.)
### ā Workspace on wrong folder
**Fix:** Just set it again to the correct path
---
## Cheat Sheet
| You Want To... | Say This |
|----------------|----------|
| Open project | `Set workspace to /path` |
| Read a file | `Read src/app.ts` |
| See structure | `Show structure` |
| Overview | `Scan workspace` |
| Find file | `Where is the auth code?` |
| Multiple files | `Show me all models` |
| Deeper structure | `Structure depth 5` |
| Switch projects | `Set workspace to /other/path` |
---
## Next Steps
š **Full Documentation:** [WORKSPACE.md](WORKSPACE.md)
š **Issues?** [TROUBLESHOOTING.md](TROUBLESHOOTING.md)
š¬ **Questions?** [GitHub Discussions](https://github.com/Intina47/context-sync/discussions)
---
## Remember
1. **Set workspace first** - That's the key step
2. **Use relative paths** - No `/Users/...` stuff
3. **Natural language works** - Just ask normally
4. **Combine with projects** - Double the power
**That's it! Start exploring your code with Claude.**
---
<p align="center">
<strong>Made by developers, for developers</strong>
</p>