dynamo-dotnet-expert

Review C#/.NET code against Dynamo coding standards and conventions.

2.0k|678|Updated Feb 9, 2012
One-click install
npx skills add https://github.com/DynamoDS/Dynamo --skill dynamo-dotnet-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dynamo-dotnet-expert
Source: https://github.com/DynamoDS/Dynamo/tree/main/.agents/skills/dynamo-dotnet-expert
Command: npx skills add https://github.com/DynamoDS/Dynamo --skill dynamo-dotnet-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides expert guidance on writing, reviewing, and maintaining C#/.NET code within the Dynamo ecosystem, ensuring adherence to project-specific standards and modern best practices.

Core Features & Use Cases

  • Code Quality: Enforces Dynamo's coding standards, naming conventions, and security requirements.
  • Modern Development: Promotes the use of modern C# patterns like records, pattern matching, and file-scoped namespaces.
  • API Management: Guides the management of the PublicAPI surface and handles breaking changes.
  • Testing & Performance: Offers best practices for NUnit testing, async programming, and performance optimization.
  • Use Case: A developer needs to implement a new feature in Dynamo that requires writing C# code. They can use this Skill to ensure their code is well-structured, performant, and follows all Dynamo-specific guidelines before submitting a Pull Request.

Quick Start

Use the dynamo-dotnet-expert skill to review the attached C# code snippet for adherence to Dynamo coding standards.

Frequently Asked Questions about dynamo-dotnet-expert

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

FAQPage Schema
How do I review C# code for Dynamo project coding standards?

To review C# code for Dynamo project standards, analyze the snippet against Dynamo's specific conventions for type design, naming, and security. This process enforces modern C# patterns, file-scoped namespaces, and proper API surface management before submission.

What are the best practices for NUnit testing in the Dynamo codebase?

NUnit testing best practices for the Dynamo codebase involve structuring tests to validate type design, async patterns, and error handling. This ensures C#/.NET code remains robust, immutable where required, and adheres to repository conventions.

How do I manage breaking changes in a .NET PublicAPI surface?

Managing breaking changes in a .NET PublicAPI surface requires careful API surface management to maintain compatibility. You must evaluate type design and refactoring decisions to ensure modern C# patterns align with repository conventions without disrupting existing integrations.

Does Dynamo development support modern C# patterns like records and pattern matching?

Dynamo development supports modern C# patterns including records, pattern matching, and file-scoped namespaces. Using these features during C#/.NET refactoring and type design ensures your code adheres to Dynamo's coding standards and repository conventions.

What is the best way to handle async programming and performance optimization in Dynamo C#?

The best way to handle async programming and performance optimization in Dynamo C# is to follow project-specific guidelines for async patterns and error handling. This approach guarantees efficient execution while maintaining immutability and security within the .NET codebase.