csharp

Generates C# code with VanDaemon clean-architecture conventions and nullable reference types.

3|Updated Oct 8, 2024
One-click install
npx skills add https://github.com/StuartF303/vandaemon --skill csharp-stuartf303
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: csharp
Source: https://github.com/StuartF303/vandaemon/tree/main/.claude/skills/csharp
Command: npx skills add https://github.com/StuartF303/vandaemon --skill csharp-stuartf303

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Writes C# code following VanDaemon conventions and clean architecture patterns

Core Features & Use Cases

  • Generates services, entities, controllers, and plugins aligned with Core, Application, and Api layers.
  • Demonstrates patterns like constructor DI, structured logging, async methods, and nullable reference types.
  • Ensures consistent project structure across the VanDaemon codebase.

Quick Start

Create a new service class in Application/Services following the VanDaemon conventions.

Frequently Asked Questions about csharp

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

FAQPage Schema
How do I generate C# code that follows clean architecture patterns?

To generate C# code following clean architecture patterns, this Skill automatically produces services, entities, and controllers aligned with Core, Application, and Api layers, enforcing constructor DI, structured logging, and async methods.

What's the best way to create a VanDaemon service class with async methods?

Creating a VanDaemon service class with async methods is handled by generating code directly in the Application/Services directory, ensuring it adheres to nullable reference type conventions and clean architecture dependencies.

Does this C# code generator support dependency injection and structured logging?

Yes, this C# code generator supports dependency injection and structured logging by enforcing constructor DI patterns and integrating structured logging within the generated services, controllers, and plugins.

Can I generate VanDaemon plugins that target the Core, Application, and Api layers?

You can generate VanDaemon plugins targeting the Core, Application, and Api layers, as the code generation relies on a standard project structure to ensure consistency and enforce clean architecture across deployments.

Why does the generated C# code enforce nullable reference types?

The generated C# code enforces nullable reference types to adhere to VanDaemon conventions, ensuring safer code by explicitly defining nullability expectations across services, entities, and controllers.

What is the standard project structure for building VanDaemon services and controllers?

The standard project structure for building VanDaemon services and controllers separates code into Core, Application, and Api layers, enforcing clean architecture, consistent DI, and async patterns across the codebase.