Commit Graph

7 Commits

Author SHA1 Message Date
Jiri De Jonghe
f26aa5891c Add Claude Code SDK tutorials and examples (#195)
* 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>
2025-09-12 15:04:34 -07:00
Alex Notov
1653c3b47a fix(ci): specify PR number explicitly in gh pr comment commands
Update all slash commands to include the PR number from GitHub Actions
context variable when posting comments. This ensures Claude knows which
PR to comment on when running in CI.
2025-09-08 09:13:52 -06:00
Alex Notov
0db9450b22 fix(ci): explicitly instruct Claude to post PR comments
Add explicit instruction to use 'gh pr comment' command to post
reviews to the PR. Claude was performing reviews but not posting
them without this explicit direction.
2025-09-08 08:59:04 -06:00
Alex Notov
230133989a fix(ci): correct YAML key format to allowed-tools
Change from allowed_tools to allowed-tools (hyphen not underscore)
to match the correct YAML frontmatter format
2025-09-08 08:47:39 -06:00
Alex Notov
4cb0d11969 fix(ci): add allowed_tools to slash commands for PR commenting
Based on maintainer feedback, slash commands need allowed_tools
specified to enable PR commenting. Added gh pr tools for:
- gh pr comment: Post comments to PR
- gh pr diff: View PR diff
- gh pr view: View PR details
2025-09-08 08:43:35 -06:00
Alex Notov
46c5717029 fix(ci): simplify to v1 with built-in slash command support
Based on maintainer feedback:
- Move commands directly to .claude/commands/ (no symlinks needed)
- Use v1 with minimal configuration (auto mode detection)
- Remove unnecessary parameters (mode, use_sticky_comment, etc.)
- v1 automatically finds commands in .claude/commands/
2025-09-08 08:35:10 -06:00
Alex Notov
bbf6a17a85 feat(ci): convert Claude prompts to reusable slash commands
- Create .github/slash-commands/ with link-review, model-check, notebook-review
- Update GitHub Actions to use slash commands instead of inline prompts
- Add symlinks in .claude/commands/ for local development
- Document slash commands in CONTRIBUTING.md
- Use claude-code-action@v1 instead of beta

This allows developers to run the same CI validations locally using
Claude Code slash commands before pushing changes.
2025-09-08 08:03:45 -06:00