A comprehensive Claude Code plugin for professional Nushell development. Provides skills, commands, agents, and hooks for architecting robust, well-documented Nushell scripts, commands, modules, overlays, and pipelines.
| Skill | Description |
|---|---|
nushell-fundamentals |
Core language patterns: pipelines, closures, types, modules, overlays |
nushell-data-processing |
Polars, DataFrames, LazyFrames, structured data manipulation |
nushell-http-api |
HTTP commands, API integration, webhooks, request/response handling |
nushell-storage |
stor, SQLite queries, parquet, CSV/JSON file handling |
nushell-cloudflare |
Workers, R2, Queues, Workflows, Durable Objects + wrangler integration |
nushell-tooling |
LSP, MCP server, linting, testing, documentation generation |
| Command | Description |
|---|---|
/nushell-dev:new |
Scaffold new script, module, command, overlay, plugin, or test |
/nushell-dev:lint |
Run linting and suggest fixes |
/nushell-dev:docs |
Generate documentation from code |
/nushell-dev:test |
Create or run tests for Nushell code |
/nushell-dev:convert |
Convert from bash, Python, JS, jq, awk, sed to Nushell |
| Agent | Description |
|---|---|
nushell-code-reviewer |
Review .nu files for best practices, performance, idiomatic patterns |
nushell-generator |
Generate complete Nushell scripts from natural language (MCP-validated) |
nushell-refactorer |
Modernize and optimize existing Nushell code |
- PreToolUse: Validates syntax before writing .nu files (strict mode - blocks on warnings)
- PostToolUse: Auto-formats .nu files after writes using Nushell official style
Install from the nushell-marketplace:
/plugin marketplace add danielbodnar/nushell-dev
/plugin install nushell-dev@nushell-marketplaceOr install directly with the marketplace URL:
/plugin install nushell-dev@nushell-marketplace# Run Claude Code with only this plugin
claude --plugin-dir ~/.claude/plugins/nushell-dev/plugins/nushell-dev- Nushell 0.100+ with LSP support
- nu-lint for linting (optional but recommended)
- Polars plugin for data processing features
- Cloudflare wrangler for Workers integration
# Install via cargo or plugin add
plugin add polars
plugin add formats # parquet support
plugin add query # SQL-like queriesCreate ~/.claude/nushell-dev.local.md to customize behavior:
# Nushell Dev Settings
## Code Style
- indent: 4 spaces
- line_length: 100
- trailing_newline: true
## Linting
- strictness: high
- auto_fix: true
## Templates
- default_author: Your Name
- default_license: MIT/nushell-dev:new module --name data-utils --description "Data transformation utilities"
/nushell-dev:convert ./legacy-script.sh
Ask Claude: "Review my Nushell module for best practices and performance"
Ask Claude: "Create a Nushell command that fetches GitHub stars and saves them to parquet"
This plugin leverages the Nushell MCP server for:
- Code validation: Generated code is checked via
nu-check - Live evaluation: Test snippets directly through MCP
- Command discovery: Access to
list_commandsandcommand_help
Ensure your MCP configuration includes:
{
"mcpServers": {
"nushell": {
"command": "nu",
"args": ["--mcp"]
}
}
}nushell-dev/
├── .claude-plugin/
│ └── plugin.json # Plugin manifest
├── skills/ # Auto-activating knowledge
│ ├── nushell-fundamentals/
│ ├── nushell-data-processing/
│ ├── nushell-http-api/
│ ├── nushell-storage/
│ ├── nushell-cloudflare/
│ └── nushell-tooling/
├── commands/ # Slash commands
│ ├── new.md
│ ├── lint.md
│ ├── docs.md
│ ├── test.md
│ └── convert.md
├── agents/ # Autonomous agents
│ ├── code-reviewer.md
│ ├── generator.md
│ └── refactorer.md
├── hooks/ # Event handlers
│ ├── hooks.json
│ └── scripts/
├── templates/ # Scaffolding templates
│ ├── script/
│ ├── command/
│ ├── module/
│ ├── overlay/
│ ├── plugin/
│ ├── test/
│ └── config/
└── README.md
- Fork the repository
- Create a feature branch
- Make your changes
- Run validation:
claude --plugin-dir . --validate - Submit a pull request
MIT License - See LICENSE file for details.
- Nushell - The shell itself
- nu_scripts - Community scripts
- nupm - Package manager