-
Notifications
You must be signed in to change notification settings - Fork 57
feat: add Claude Code skill for Data Designer library #309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
johnnygreco
wants to merge
3
commits into
main
Choose a base branch
from
johnny/feat/add-library-skill
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,79 @@ | ||
| # Data Designer Skill for Claude Code | ||
|
|
||
| A [Claude Code skill](https://docs.anthropic.com/en/docs/claude-code/skills) that teaches Claude how to generate synthetic datasets using [NVIDIA NeMo Data Designer](https://github.com/NVIDIA-NeMo/DataDesigner). | ||
|
|
||
| When activated, Claude can design and build complete data generation pipelines β choosing the right column types, writing prompts, wiring up dependencies, and iterating on previews β all from a natural language description of the dataset you want. | ||
|
|
||
| ## What's in the skill | ||
|
|
||
| ``` | ||
| .claude/skills/data-designer/ | ||
| βββ SKILL.md # Core skill definition and workflow guide | ||
| βββ references/ | ||
| β βββ api_reference.md # Complete API documentation | ||
| β βββ advanced_patterns.md # Custom columns, MCP tools, multimodal, etc. | ||
| βββ examples/ # 5 runnable pattern-reference scripts | ||
| βββ scripts/ # Discovery tools for API introspection | ||
| βββ hooks/ # Session startup check, ruff lint, ty type-check | ||
| ``` | ||
|
|
||
| ## Prerequisites | ||
|
|
||
| - **[uv](https://docs.astral.sh/uv/getting-started/installation/)** β used for environment management and required by the skill's session hooks | ||
| - **[Claude Code](https://docs.anthropic.com/en/docs/claude-code/overview)** β the CLI that runs the skill | ||
| - **Python 3.10+** β any version from 3.10 to 3.13 works (`uv` will install it for you) | ||
| - **An LLM provider API key** β e.g., an [NVIDIA API key](https://build.nvidia.com/) (`NVIDIA_API_KEY`) | ||
|
|
||
| ## Quick start | ||
|
|
||
| ### 1. Set up a project and download the skill | ||
|
|
||
| ```bash | ||
| mkdir my-project && cd my-project | ||
| mkdir -p .claude/skills | ||
| ``` | ||
|
|
||
| Download the `skill/data-designer` folder into `.claude/skills/data-designer`: | ||
|
|
||
| ```bash | ||
| # with curl | ||
| curl -L https://github.com/NVIDIA-NeMo/DataDesigner/archive/refs/heads/main.tar.gz \ | ||
| | tar xz --strip-components=2 -C .claude/skills "DataDesigner-main/skill/data-designer" | ||
|
|
||
| # or with wget | ||
| wget -qO- https://github.com/NVIDIA-NeMo/DataDesigner/archive/refs/heads/main.tar.gz \ | ||
| | tar xz --strip-components=2 -C .claude/skills "DataDesigner-main/skill/data-designer" | ||
| ``` | ||
|
|
||
| ### 2. Create a Python environment and install Data Designer | ||
|
|
||
| ```bash | ||
| uv venv --python 3.13 | ||
| source .venv/bin/activate | ||
| uv pip install --pre data-designer | ||
| ``` | ||
|
|
||
| > **Note:** The `--pre` flag installs the latest pre-release. | ||
|
|
||
| ### 3. Set up your default model providers and models | ||
|
|
||
| Use the Data Designer CLI to configure your LLM provider(s) and model(s) interactively: | ||
|
|
||
| ```bash | ||
| # Configure a provider (endpoint, API key, etc.) | ||
| data-designer config providers | ||
|
|
||
| # Configure model(s) that use the provider | ||
| data-designer config models | ||
|
|
||
| # Verify your configuration | ||
| data-designer config list | ||
| ``` | ||
|
|
||
| The CLI walks you through each setting with an interactive prompt. You only need to do this once β configurations are saved to `~/.data-designer/`. | ||
|
|
||
| ### 4. Launch Claude Code | ||
|
|
||
| ```bash | ||
| claude | ||
| ``` |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ugh, these leaked over from a different PR π€¦ββοΈ