bew/dotfiles/coder-nushell
Claude Code and agent skill by bew/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Nushell code writing guidelines: idioms, types, entry point, error handling. Always load when asked to draft/write/edit/refactor/review Nushell (.nu) code files.
Install
npx vskill@latest install bew/dotfiles/coder-nushellSKILL.md
Goal
Write Nushell code using native idioms: typed parameters, structured data, and proper error handling.
REQUIRES: load coder-generic skill first.
In Nushell, module code is any .nu file loaded via use or source by other code — no shebang, uses export def to expose public commands. Script code is a file run directly: has a shebang (#!/usr/bin/env nu), and defines def main [...].
If working on module code: read <./module-rules.md>. If working on script code: read <./script-rules.md>.
Rules
- Annotate all parameters with types (e.g.
name: string,items: list<string>,count?: int). - Place the docstring comment directly above the
def— nushell uses it as the command's help text. - Use
letfor immutable locals,mutfor mutable locals. - Use
constfor compile-time constants. - Signal errors per code kind — see <./module-rules.md> and <./script-rules.md>.
- Access optional env vars with
$env.VAR?(returnsnullif unset, no crash). - Use
$env.FILE_PWDfor the file's own directory — not a$SCRIPT_DIRworkaround.
Guidelines
- Prefer pipeline style (
$data | each { ... }) over imperative loops when natural. - Use
$into receive piped input inside adef; declare the pipeline signature
with : inputtype -> outputtype for clarity.
- Prefer
letovermut— reach formutonly when re-assignment is truly needed. - Flags are declared as
--flag-nameparameters in thedefsignature, not parsed manually.
Parameter style
Testing
No dedicated Nushell testing skill exists yet. Ask the user how they want tests structured before writing any.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingopencode/skills/coder-nushell/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bew/dotfiles/coder-nushell)