跳到主要内容

Lang Csharp

Navigate, test, and build C# via the dotnet CLI.

Skill metadata​

SourceBundled (installed by default)
Pathskills/software-development/lang-csharp
Version1.1.0
AuthorVibeOS
LicenseMIT
Platformslinux, macos, windows

Reference: full SKILL.md​

信息

The following is the complete skill definition that VibeOS loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.

C# / .NET Language Pack Skill

Drive C# / .NET work with the project index and standard CLI recipes. LSP hint: csharp-ls (editor-side when applicable). Zero new core tools.

What this language is (beginner)​

Язык экосистемы .NET (Microsoft). Силён в веб-API, десктопе и играх (Unity).

Лучше всего для:

  • веб-API на ASP.NET Core
  • десктоп (WPF / MAUI) и корпоративные приложения
  • игры на Unity
  • кроссплатформенный бэкенд на Linux/Windows

When to Use​

Выбирай этот pack, если:

  • репозиторий с *.csproj / *.sln
  • пользователь в мире Microsoft / Azure / Unity
  • нужен типизированный бэкенд с отличным tooling

Manifests (автодетект репозитория): *.csproj, *.sln, global.json

Обычно рядом: TypeScript фронт; SQL Server / Postgres.

См. также skill choose-language-pack, если цель ещё не ясна.

When NOT to use​

  • браузерный SPA без .NET → TypeScript
  • iOS-native → Swift
  • простые скрипты → Python

Prerequisites​

vibeos pack apply lang-csharp --apply
vibeos pack apply project-intelligence --apply

How to Run​

vibeos project index build
dotnet test
dotnet build
dotnet format --verify-no-changes

Quick Reference​

GoalCommand
Apply packvibeos pack apply lang-csharp --apply
Doctorvibeos language doctor csharp
Primary testdotnet test
Choose guideskill choose-language-pack

Procedure​

  1. Если язык ещё не выбран для нового проекта — сначала choose-language-pack.
  2. Work from the project root that matches pack manifests.
  3. Index query → read_file → edit → path-scoped tests when iterating.
  4. Prefer the package manager / toolchain already locked in the repo.
  5. Explain non-obvious toolchain choices in plain language for the user.

Pitfalls​

  • Prefer the solution (.sln) scope when multiple projects exist.
  • Do not invent core tools.
  • Do not invent core tools; stay on terminal + read_file + index CLI.

Verification​

vibeos language doctor csharp
dotnet test