mirror of
https://github.com/anthropics/claude-cookbooks.git
synced 2025-10-06 01:00:28 +03:00
* Add Claude Code SDK tutorials and examples This PR adds comprehensive tutorials and examples for the Claude Code SDK, including: - Research agent implementation with web search capabilities - Chief of Staff agent with multi-agent coordination - Observability agent with Docker configuration - Supporting utilities and documentation The examples demonstrate key SDK features: - Multi-turn conversations with ClaudeSDKClient - Custom output styles and slash commands - Hooks for automated actions and governance - Script execution via Bash tool - Multi-agent orchestration patterns --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: rodrigo olivares <rodrigoolivares@anthropic.com> Co-authored-by: Alex Notov <zh@anthropic.com>
1.8 KiB
1.8 KiB
allowed-tools, description
| allowed-tools | description |
|---|---|
| Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*) | Comprehensive review of Jupyter notebooks and Python scripts |
Review the changes to Jupyter notebooks and Python scripts in this PR. Please check for:
Model Usage
Verify all Claude model references against the current list at: https://docs.anthropic.com/en/docs/about-claude/models/overview.md
- Flag any deprecated models (older Sonnet 3.5, Opus 3 versions)
- Flag any internal/non-public model names
- Suggest current alternatives when issues found
- Recommend aliases ending in -latest for stability
Code Quality
- Python code follows PEP 8 conventions
- Proper error handling
- Clear variable names and documentation
- No hardcoded API keys (use os.getenv("ANTHROPIC_API_KEY"))
Notebook Structure
- Clear introduction explaining what the notebook demonstrates and why it's useful
- Configuration instructions (how to set up API keys, install dependencies, etc.)
- Connecting explanations between cells that help users understand the flow
- Clear markdown explanations between code cells
- Logical flow from simple to complex
- Outputs preserved for educational value
- Dependencies properly imported
Security
- Check for any hardcoded API keys or secrets (not just Anthropic keys)
- Ensure all sensitive credentials use environment variables (os.environ, getenv, etc.)
- Flag any potential secret patterns (tokens, passwords, private keys)
- Note: Educational examples showing "what not to do" are acceptable if clearly marked
- Safe handling of user inputs
- Appropriate use of environment variables
Provide a clear summary with:
- ✅ What looks good
- ⚠️ Suggestions for improvement
- ❌ Critical issues that must be fixed
IMPORTANT: Post your review as a comment on the pull request using the command: gh pr comment $PR_NUMBER --body "your review"