Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

nushell-pro

БесплатноБез исполняемых скриптовНе проверен

Comprehensive Nushell scripting best practices, idioms, security, and evidence-driven code review. Use when writing, reviewing, auditing, debugging, or…

hustcerот hustcer★ 30 звёзд на GitHub

Об этом скилле

Nushell Pro

Write secure, idiomatic, portable, and testable Nushell. Keep the main workflow in this file; load detailed references only when the task needs them.

Operating Workflow

  1. Identify the task: new script, debugging, review, refactor, module design, migration, performance work, security audit, or Bash conversion.

  2. Read the target .nu files, nearby tests, AGENTS.md, and existing project conventions before changing code.

  3. Establish both the project's supported Nu range (from CI, documentation, or project configuration) and the active local version. Do not assume the local binary defines the compatibility target. Prefer the official English docs; translations can lag. When local docs/source checkouts are available, inspect them and record their revision separately from the installed Nu version. From any shell, prefer:

    nu --version
    

    When already inside Nushell or when structured version data is needed, use:

    version | get version
    
  4. Load the smallest relevant reference set:

    Task Reference
    Nu 0.117 migration, types, records, dotenv, config, dynamic calls Nu 0.117 Migration
    Nu 0.116 migration, completions, flag spreading, cleanup Nu 0.116 Migration
    Nu 0.115 migration, YAML, CLI args, command changes Nu 0.115 Migration
    Strings, regex/globs, generated JS/JSON String Formats
    Security, paths, credentials, destructive operations Security
    Script/code review Script Review and Anti-Patterns
    Bash/POSIX conversion Bash to Nushell
    Modules, exports, scripts, tests Modules & Scripts
    Daemons, background jobs, E2E smoke tests Daemon & E2E Smoke Tests
    Types, records, lists, conversions Data & Type System
    Streaming, closures, performance, diagnostics Advanced Patterns
    Large columnar data Dataframes
    Common mistakes Anti-Patterns

    Only the three newest migration guides are listed here. For earlier versions, consult the migration archive.

  5. Apply the cross-cutting guardrails below before style or performance cleanup.

  6. Before a generated script's first real run, use nu-check --debug in the intended scope. Assert exact output for tricky strings/serialized payloads, then run the relevant tests; parsing alone cannot detect unintended but valid interpolation. Use --ide-check when structured diagnostics are needed.

  7. Report security/correctness findings before style and performance notes.

If a referenced file is unavailable, say so and continue with this file rather than inventing its contents.

Cross-Cutting Guardrails

These rules apply across task types. Load the routed reference before relying on syntax or behavior that changed between Nushell releases.

Types and pipeline contracts

  • Declare pipeline input in the I/O signature rather than as a positional parameter. Capture $in once when it must be reused because streams can be single-pass.
  • Type exported command parameters and input/output signatures.
  • Treat external/config records as untrusted; use optional access such as $record.field? and validate the resulting type/value.
  • Ordinary expressions passed to default are evaluated eagerly. Use a closure literal,
Полный SKILL.md на GitHub

Установить nushell-pro в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.env-example.gitignore.oxfmtrc.jsonREADME.mdtest-prompts.json

FAQ

Что делает скилл nushell-pro?

Comprehensive Nushell scripting best practices, idioms, security, and evidence-driven code review. Use when writing, reviewing, auditing, debugging, or refactoring Nushell (.nu) scripts, modules, custom commands, pipelines, config, and tests. Also use for Bash/POSIX-to-Nushell conversion and Nu migration issues including type aliases, record transforms, dotenv, custom completions, record-spread flags, YAML, SemVer, cleanup, and subprocess diagnostics.

Как установить скилл nushell-pro?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл nushell-pro запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить nushell-pro с