Essential patterns, idioms, and gotchas for writing Nushell code. Use when writing Nushell scripts, functions, or working with Nushell's type system, pipelines, and data structures. Complements plugin development knowledge with practical usage patterns.
86
84%
Does it follow best practices?
Impact
85%
1.02xAverage score across 3 eval scenarios
Advisory
Suggest reviewing before use
Pipeline signatures and closure accumulation
filter-active pipeline signature
100%
100%
compute-bonus-pool pipeline signature
100%
100%
enrich-labels pipeline signature
100%
100%
No mutable closure capture in accumulation
100%
100%
Reduce or math sum for accumulation
100%
100%
Uses $in inside pipeline commands
100%
100%
Commands exported from module
100%
100%
Optional field safety in filter
0%
0%
String interpolation for full_label
100%
100%
Result files produced
100%
100%
External commands and file search patterns
Uses glob for file discovery
100%
100%
glob --exclude for skipping dirs
0%
100%
glob --depth limit
100%
100%
Caret prefix on external wc
100%
100%
Uses complete for error capture
100%
100%
Status field from complete result
100%
100%
Caret prefix on tool check command
100%
0%
No bare find or ls -r for search
100%
100%
Output files produced
100%
100%
par-each or each for file processing
100%
100%
Record iteration, table joins, and type coercion
Uses join command
100%
100%
Uses group-by --to-table
45%
100%
Explicit type conversion for arithmetic
100%
100%
Optional field access with ?
0%
0%
No each on single record for iteration
100%
100%
insert or equivalent for computed columns
40%
50%
String interpolation for formatting
100%
100%
default for missing discount
0%
0%
Output files produced
100%
100%
math sum or reduce for aggregation
100%
100%
aed1afb
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.