# Ask a question without entering interactive mode
claude -p "explain the main function in index.js"
# Pipe input for quick analysis
git diff | claude -p "review this diff"
# Process files
cat error.log | claude -p "what went wrong?"
Great for scripting and CI integration.
HANDS-ON · 10 MIN
Your Turn: Install & First Chat
Install Claude Code
Authenticate with your workshop key
Ask Claude: "What is this project about?"
Try approving a permission request
You see the Claude Code prompt and got a response.
Step 2: CLAUDE.md
Your AI's Instruction Manual
BeginnerIntermediate
~20 minutes
Without CLAUDE.md
Claude doesn't know your coding style
Doesn't know your build commands
Doesn't know your architecture decisions
Every session starts from scratch
Team members get inconsistent results
With CLAUDE.md
Persistent instructions loaded every session
Shared with your team via git
Claude follows YOUR rules, YOUR style, YOUR workflow
Powerful for teams. Prevent accidental destructive operations.
Hooks You'll Actually Use
Auto-format: Run Prettier/ESLint after every file edit
Security scan: Block commits containing secrets or API keys
Notification: Desktop alert when a long task completes
Test runner: Auto-run related tests after file changes
Logging: Record all Claude actions for audit
Start with auto-format -- highest value, lowest risk.
LIVE DEMO
Hooks in Action
Add PostToolUse lint hook to settings.json
Ask Claude to create a file with style issues
Watch hook auto-fix the style
Add PreToolUse safety hook
Ask Claude to run a "dangerous" command — blocked!
~5 minutes
HANDS-ON · 5 MIN
Add a Hook
Create .claude/settings.json in your project
Add the PostToolUse ESLint hook
Test: ask Claude to write a file
You see ESLint output after Claude edits a file.
Step 4: Slash Commands
Your Custom Toolkit
Intermediate
~10 minutes
Custom Commands for Repeatable Workflows
Markdown files in .claude/commands/ (project) or ~/.claude/commands/ (global)
Invoke with /command-name in Claude Code
Template with $ARGUMENTS placeholder
Built-in: /init, /compact, /review
Think: saved prompts with superpowers. Team-shared via git.
Example: /review Command
# File: .claude/commands/review.md
Review the following file for:
1. Bugs and logic errors
2. Security vulnerabilities (OWASP top 10)
3. Performance issues
4. Code style violations per our CLAUDE.md
File to review: $ARGUMENTS
Provide findings as a numbered list with severity
(critical/warning/info) and suggested fixes.
Usage: /review src/auth/login.ts
Commands Your Team Will Love
/test-gen <file> — Generate unit tests for a file
/explain <file> — Explain code for onboarding
/migrate <desc> — Generate a database migration
/api-doc <endpoint> — Generate API documentation
/security-scan — Security review on recent changes
The best commands encode tribal knowledge.
LIVE DEMO
Creating & Using Slash Commands
Create .claude/commands/ directory
Write review.md command file
Use /review src/index.ts in Claude Code
Show the structured review output
~4 minutes
HANDS-ON · 3 MIN
Create a Slash Command
Create .claude/commands/ in your project
Write at least one command
Test it with /your-command <argument>
Your custom command works and produces useful output.
5-Minute Break
Stretch · Grab a drink · Catch up
Caught up? Explore: claude --help
Step 5: Agent Teams
Multi-Agent Orchestration
Advanced
~15 minutes
When One Agent Isn't Enough
Context windows have limits
Some tasks have independent parallel subtasks
Research and implementation can happen simultaneously
Complex refactors touch dozens of files
Orchestration Model
Lead Agent (coordinator)
→
↓
→
Research
Implementation
Testing
Lead agent breaks down the problem
Worker agents execute in parallel
Results flow back for integration
Coordination Primitives
TaskCreate -- Define a subtask with description + dependencies
TaskUpdate -- Mark tasks in_progress / completed
TaskList -- See all tasks and their status
TaskGet -- Get full details of a specific task
SendMessage -- Communicate between agents
Built-in tools. Claude Code manages them when you use the Agent tool.
When to Use Agent Teams
Use When
Large refactors (10+ files)
Research-heavy tasks
Parallel independent work
Code gen + test gen simultaneously
Skip When
Single-file edits
Quick questions
Small projects
Heavily sequential work
Don't over-engineer. Most tasks don't need multi-agent.
LIVE DEMO
Agent Team Refactoring
"Refactor this Express app: convert 5 route files from callbacks to async/await, update tests, update docs"
Lead agent analyzes the codebase
Creates tasks for each file + tests + docs
Worker agents pick up tasks in parallel
Lead agent verifies and integrates
~8 minutes
Your Turn to Think
Think of a task from your real work that would benefit from agent teams
Share with your neighbor
We'll hear 2–3 examples
2 minutes
Mission: Build It
All Levels
~40 minutes
Your Mission
Open the starter project — DevTool CLI utility
Use Claude Code to build features, configure tools, and ship
Three checkpoints — go as far as you can
Assistants are roaming — ask for help
cp -r project ~/claude-workshop/devtool
cd ~/claude-workshop/devtool
npm install
claude
Checkpoints
CP1 · Beginner
Write CLAUDE.md Implement core feature with Claude Code
~15 min
CP2 · Intermediate
Add hooks (auto-lint) Create a slash command
~10 min
CP3 · Advanced
Multi-file refactor Test generation Agent-style delegation
~10 min
Progress Board
CP1
_
CP2
_
CP3
_
Update live as participants complete checkpoints
Show & Tell
2–3 volunteers: 60 seconds each
What did you build?
What surprised you?
Volunteers picked during the hands-on phase.
What You Learned Today
Install Claude Code and authenticate
CLAUDE.md — persistent, team-shared AI instructions
Hooks — automated quality checks and safety nets
Slash commands — repeatable custom workflows
Agent teams — multi-agent orchestration
What to Do Monday Morning
1. Add a CLAUDE.md to your main project at work
2. Set up one hook (start with auto-lint)
3. Create one slash command your team will use
4. Commit your CLAUDE.md — share it with your team