Lesson 6 of 21 ~15 min
Course progress
0%

Setting Up Your Workspace

Configure your environment for maximum productivity when working with Claude Sonnet 4.5.

A well-organized workspace is crucial for effective collaboration with Claude. Let’s set up an environment that maximizes productivity.

Organizing Your Projects

Project Structure Create a dedicated folder structure for Claude interactions:

claude-workspace/
├── projects/
│   ├── current/
│   ├── archived/
│   └── templates/
├── conversations/
│   ├── exported/
│   └── important/
├── prompts/
│   ├── reusable/
│   └── templates/
└── outputs/
    ├── code/
    ├── documents/
    └── research/

Benefits:

  • Easy retrieval of past conversations
  • Reusable prompt templates
  • Organized outputs
  • Clear project separation

Browser Setup (for claude.ai)

Browser Extensions Install these helpful extensions:

1. Claude Saver

  • Export conversations
  • Save prompts
  • Organize threads

2. Text Expander

  • Quick prompt insertion
  • Common questions
  • Formatting shortcuts

3. Markdown Preview

  • Preview Claude’s markdown
  • Better readability
  • Export formatted docs

Browser Configuration:

// Bookmark these URLs for quick access
https://claude.ai/new          // New conversation
https://claude.ai/projects     // Projects view
https://claude.ai/settings     // Settings

Code Editor Integration

VS Code Setup

Install and configure:

{
  "claude.apiKey": "${env:ANTHROPIC_API_KEY}",
  "claude.model": "claude-sonnet-4.5-20241022",
  "claude.maxTokens": 4096,
  "editor.wordWrap": "on",
  "editor.fontSize": 14
}

Useful Extensions:

  • Claude Assistant
  • Markdown All in One
  • Code Spell Checker
  • GitLens (for context)

Keyboard Shortcuts:

Cmd+Shift+P → "Ask Claude"
Cmd+K → Inline Claude
Cmd+/ → Toggle Claude sidebar

Terminal Setup

API Client Configuration

Create a CLI wrapper for quick access:

#!/bin/bash
# ~/bin/claude

PROMPT="$*"

curl https://api.anthropic.com/v1/messages \
  -H "x-api-key: $ANTHROPIC_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d "{
    \"model\": \"claude-sonnet-4.5-20241022\",
    \"max_tokens\": 1024,
    \"messages\": [{
      \"role\": \"user\",
      \"content\": \"$PROMPT\"
    }]
  }" | jq -r '.content[0].text'

Make it executable:

chmod +x ~/bin/claude
export PATH="$HOME/bin:$PATH"

Usage:

claude "Explain async/await in JavaScript"

Documentation System

Markdown Templates

Create reusable templates:

Project Brief Template:

# Project: [NAME]
Date: [DATE]
Status: [In Progress/Complete]

## Objective
[What are you trying to achieve?]

## Context
[Relevant background information]

## Current Approach
[What you've tried]

## Questions for Claude
1. 
2. 
3. 

## Outcomes
[Results and next steps]

Conversation Log Template:

# Conversation: [TOPIC]
Date: [DATE]
Model: Claude Sonnet 4.5

## Summary
[Quick overview]

## Key Insights
- 
- 

## Follow-up Actions
- [ ] 
- [ ] 

## Related Conversations
- [Link to related thread]

Context Management

Building a Knowledge Base

Create a personal knowledge repository:

knowledge-base/
├── about-me.md           # Your background, preferences
├── projects/
│   └── current-project.md
├── technical-specs/
│   ├── tech-stack.md
│   └── architecture.md
└── preferences/
    └── style-guide.md

about-me.md Example:

# About Me

## Role
Senior Full-stack Developer

## Tech Stack
- Primary: TypeScript, React, Node.js
- Databases: PostgreSQL, MongoDB
- Cloud: AWS, Vercel

## Coding Preferences
- Functional programming style
- Comprehensive error handling
- TypeScript strict mode
- Test-driven development

## Communication Style
- Direct and concise
- Technical depth when needed
- Practical examples

Prompt Library

Create Reusable Prompts

# Code Review Prompt
Please review the following code for:
1. Security vulnerabilities
2. Performance issues  
3. Code quality and best practices
4. Potential bugs

[PASTE CODE HERE]

---

# Documentation Prompt
Generate comprehensive documentation for this function including:
- Purpose and usage
- Parameters with types
- Return value
- Examples
- Edge cases

[PASTE FUNCTION HERE]

---

# Debugging Prompt
I'm experiencing this error: [ERROR]

Context:
- What I'm trying to do: [GOAL]
- What's happening: [BEHAVIOR]
- What I've tried: [ATTEMPTS]

Code:
[PASTE CODE HERE]

Workflow Optimization

Daily Routine with Claude

Morning:

  1. Review overnight thoughts
  2. Plan day with Claude’s help
  3. Prioritize tasks

During Work:

  1. Quick questions via terminal
  2. Code reviews in IDE
  3. Research via web interface

Evening: 4. Export important conversations 5. Update project docs 6. Plan next day

Backup and Organization

Conversation Backups

#!/bin/bash
# backup-claude-conversations.sh

DATE=$(date +%Y-%m-%d)
BACKUP_DIR="~/claude-backups/$DATE"

mkdir -p "$BACKUP_DIR"

# Export conversations (if using API)
# Copy important threads
# Archive completed projects

Weekly Review:

  • Export valuable conversations
  • Update prompt library
  • Clean up workspace
  • Archive completed projects

Collaboration Setup

Team Usage

Shared Prompt Library:

  • Version control prompts in Git
  • Document effective patterns
  • Share learnings
  • Standardize approaches

Project Templates:

  • Consistent structure
  • Shared context files
  • Team style guides
  • Review processes

Next Module: Fundamentals

With your workspace configured, you’re ready to dive into Claude’s core capabilities and learn how to leverage them effectively. The next module covers fundamental concepts that will form the foundation of your Claude mastery.