Conversation
This adds a comprehensive Claude Code skill that helps developers build applications with Apache Burr. When active in Claude Code, it provides: - Expert guidance on Burr APIs and patterns - Code generation for actions, state machines, and applications - Code review for best practices - Debugging assistance - Working examples for common patterns The skill includes: - SKILL.md: Main skill instructions for Claude - api-reference.md: Complete API documentation - examples.md: Working code examples - patterns.md: Best practices and design patterns - troubleshooting.md: Common issues and solutions - README.md: Installation and usage guide - plugin.json: Plugin manifest for easy installation Easy installation via Claude CLI: claude skill install https://github.com/apache/burr/.claude/skills/burr Or manual install by copying to ~/.claude/skills/burr/ for personal use or .claude/skills/burr/ for project-specific use. Documentation added at: - docs/getting_started/claude-skill.rst: Full usage guide - CLAUDE_SKILL.md: Quick start guide - Main README updated with installation instructions Contributions welcome via issues or pull requests!
|
A preview of 2e90eaf is uploaded and can be seen here: ✨ https://burr.dagworks.io/pull/644 ✨ Changes may take a few minutes to propagate. Since this is a preview of production, content with |
skrawcz
commented
Jan 31, 2026
.claude/skills/burr/examples.md
Outdated
Comment on lines
375
to
378
| # These three run in parallel | ||
| ("start", "analyze_sentiment"), | ||
| ("start", "extract_entities"), | ||
| ("start", "extract_keywords"), |
Contributor
Author
There was a problem hiding this comment.
this is incorrect...
skrawcz
commented
Jan 31, 2026
skrawcz
commented
Jan 31, 2026
|
|
||
| Given the same state and inputs, an action should always produce the same output. | ||
|
|
||
| **❌ Bad - Non-deterministic:** |
skrawcz
commented
Jan 31, 2026
.claude/skills/burr/patterns.md
Outdated
| graph.GraphBuilder() | ||
| .with_actions(summarize, analyze_sentiment, extract_topics, create_report) | ||
| .with_transitions( | ||
| # Parallel execution |
skrawcz
commented
Jan 31, 2026
skrawcz
commented
Jan 31, 2026
|
|
||
| 1. **Type annotations**: Always use type hints for state and action parameters | ||
| 2. **Action purity**: Actions should be deterministic given the same state | ||
| 3. **State immutability**: Never mutate state directly, always use `.update()` or `.append()` |
This commit corrects and improves the Claude Code skill documentation with three major fixes: 1. Fix parallelism documentation - Remove incorrect graph-based parallelism examples - Add correct MapStates, MapActions, MapActionsAndStates patterns - Include RunnableGraph for subgraph parallelism - Update examples in SKILL.md, examples.md, patterns.md, troubleshooting.md 2. Fix state management guidance - Correct action return pattern: Tuple[dict, State] - Show proper state access with bracket notation: state["key"] - Document state immutability and method chaining - Add comprehensive Pydantic typed state section - Contrast regular state vs Pydantic typed state patterns - Update all examples to show correct patterns 3. Use proper noun "Apache Burr" consistently - Update all skill files to use "Apache Burr" instead of just "Burr" - Maintain consistency across documentation Additional improvements: - Delete redundant CLAUDE_SKILL.md (consolidate with .claude/skills/burr/README.md) - Update README.md to point to correct skill location - Add complete state method documentation (update, append, extend, increment, etc.) - Add Pydantic typed state examples to examples.md
Restructures the Burr plugin from a flat skill structure to a nested marketplace-ready format that matches the Hamilton plugin organization. Changes: - Move from .claude/skills/burr/ to .claude/plugins/burr/ structure - Add .claude-plugin/ subdirectory with separated metadata: - plugin.json: References ./skills/ directory - marketplace.json: Marketplace distribution metadata - Add plugin-level documentation: - CHANGELOG.md: Version history and changes - README.md: Installation and usage guide - Nest skill content under skills/burr/ subdirectory - Remove embedded skill config from plugin.json This structure supports marketplace distribution, enables multiple skills per plugin, and follows Claude Code plugin best practices.
Adds detailed State Management Patterns section to patterns.md covering both regular dictionary-based state and Pydantic typed state patterns, bringing it in line with SKILL.md.
Removed sections on state immutability and deterministic actions from patterns.md.
Rearranged best practices for Apache Burr code to improve clarity.
Removed section on multi-source/target transitions from API reference.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Claude Code Plugin for Apache Burr
This PR adds an official Claude Code skill/plugin that provides expert AI assistance for building Burr applications.
Summary
Adds a comprehensive Claude Code plugin at .claude/plugins/burr/ that teaches Claude how to build stateful applications using Apache Burr. The plugin includes extensive documentation
covering APIs, patterns, examples, and troubleshooting.
What's Included
Plugin Structure:
Documentation Updates:
Installation
Users can install the skill in three ways:
From GitHub (easiest)
claude skill install https://github.com/apache/burr/.claude/plugins/burr
Manual personal install
cp -r /path/to/burr/.claude/plugins/burr ~/.claude/plugins/
Project-level install
cp -r /path/to/burr/.claude/plugins/burr .claude/plugins/
Usage
Once installed, users can activate the skill by:
The skill provides expert guidance on:
Testing
To test the plugin:
Changes
How I tested this
Notes
Checklist