scripting-guide

Run C# file-based data processing scripts via dotnet run in PowerShell or Bash.

Updated May 16, 2026
One-click install
npx skills add https://github.com/p-o-ke-nae/pokemondamagecalculatorforstory --skill scripting-guide-p-o-ke-nae
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: scripting-guide
Source: https://github.com/p-o-ke-nae/pokemondamagecalculatorforstory/tree/main/.github/skills/scripting-guide
Command: npx skills add https://github.com/p-o-ke-nae/pokemondamagecalculatorforstory --skill scripting-guide-p-o-ke-nae

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill shows how to perform quick data-processing tasks with C# file-based apps while avoiding the overhead of creating temporary source files.

Core Features & Use Cases

  • One-liner execution: Run simple transformations, checks, and calculations directly from PowerShell or Bash.
  • Structured data handling: Read and process JSON, CSV, and Excel data with built-in libraries and optional package directives.
  • Practical scripting patterns: Handle standard input, file arguments, and basic error handling in repeatable workflows.

Quick Start

Use the scripting-guide skill to process the attached data with a C# file-based app and avoid creating a new .cs file.

Frequently Asked Questions about scripting-guide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run C# scripts for quick data processing without creating a .cs file?▼

You can run C# scripts without creating a file by piping code directly into `dotnet run -` via PowerShell or Bash, which handles one-off transformations and data processing instantly.

Can I parse JSON and CSV files using C# scripting in PowerShell?▼

Yes, C# scripting in PowerShell can parse JSON and CSV files using built-in namespaces by default, allowing you to process structured data without generating temporary source files.

Does C# scripting support external NuGet packages for Excel analysis?▼

Yes, C# scripting supports external packages for Excel analysis by using optional package directives within your piped code, enabling lightweight data processing with external libraries.

What is the best way to execute one-off transformations with C# in Bash?▼

The best way to execute one-off transformations with C# in Bash is piping your code into `dotnet run -`, which avoids project overhead and handles standard input or file arguments directly.

Do I need to create a new project to run a simple C# data transformation script?▼

No, you do not need to create a new project to run a simple C# script. You can pipe code into `dotnet run -` to handle lightweight scripting tasks and avoid temporary source files.

When should I avoid using dotnet run for C# file-based app scripting?▼

You should avoid using `dotnet run -` for C# scripting when tasks require persistent project structures or complex workflows, as this approach targets one-off transformations and lightweight data processing.