Project guard

From senrecep/CSharpEssentials · View interactive version

Project guard is an AI agent skill from the GitHub repository senrecep/CSharpEssentials. CSharpEssentials project guardrails. Use before committing or when reviewing changes to catch common violations.

How to use this skill

Skill file

Project guardrails

Before committing, verify the following.

Code quality

Multi-targeting

```csharp

#if NET9_0_OR_GREATER

// newer API

#else

// fallback for net8.0 and netstandard

#endif

```

Other symbols in use: NETSTANDARD, NETSTANDARD2_0, and CSHARP_ESSENTIALS_ENABLE_UNIONS (defined on net11.0).

Project files

Build and tests

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.