Skip to content
Back to search

CSharpGuidelines

A set of coding guidelines for C# up to v14, design principles, layout rules and Agent Skills for improving the overall quality of your code development.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/dennisdoomen--csharpguidelines/badge.svg)](/listings/dennisdoomen--csharpguidelines)

HTML

<a href="/listings/dennisdoomen--csharpguidelines"><img src="/api/listings/dennisdoomen--csharpguidelines/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

.claude-plugin/marketplace.json · Manifest · 17 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. {
  2. "$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
  3. "name": "csharp-guidelines",
  4. "description": "The C# Coding Guidelines by Dennis Doomen as an agent skill",
  5. "owner": {
  6. "name": "Dennis Doomen",
  7. "url": "https://github.com/dennisdoomen"
  8. },
  9. "plugins": [
  10. {
  11. "name": "csharp-guidelines",
  12. "description": "Applies the C# coding and design guidelines when writing, reviewing or refactoring C# code",
  13. "source": "./",
  14. "category": "development"
  15. }
  16. ]
  17. }
README.md · README · 59 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. Coding Guidelines for C# (up to v14)
  2. ================
  3. See the landing page at https://www.csharpcodingguidelines.com
  4. ## Use the guidelines as an agent skill
  5. The [`csharp-guidelines`](Skills/csharp-guidelines/SKILL.md) skill makes AI coding agents apply these guidelines when they write, review or refactor C# code. This repository is a plugin marketplace for Claude Code and GitHub Copilot CLI.
  6. Claude Code:
  7. ```bash
  8. claude plugin install csharp-guidelines --marketplace dennisdoomen/CSharpGuidelines
  9. ```
  10. GitHub Copilot CLI:
  11. ```bash
  12. copilot plugin marketplace add dennisdoomen/CSharpGuidelines
  13. copilot plugin install csharp-guidelines@csharp-guidelines
  14. ```
  15. ## How to create the PDFs
  16. From the root of the repo, run:
  17. ```
  18. .\build.ps1 # Windows
  19. ./build.sh # macOS / Linux
  20. ```
  21. This compiles all guideline rules into two PDF files in the `Artifacts` folder:
  22. - `CSharpCodingGuidelines.pdf` — the full guidelines document
  23. - `CSharpCodingGuidelinesCheatsheet.pdf` — the two-page cheat sheet
  24. Pandoc is downloaded automatically on first run. [Google Chrome](https://www.google.com/chrome/) must be installed for PDF rendering.
  25. ## How to preview the site locally
  26. Run the following script from the root of the repo:
  27. ```
  28. .\launch-website.ps1 # Windows
  29. ./build.sh LaunchWebsite # macOS / Linux
  30. ```
  31. This installs Ruby 3.3 (if not already present), runs `bundle install`, and starts the Jekyll development server at `http://localhost:4000`. The server monitors for changes when using the `--incremental` flag.
  32. ### Prerequisites
  33. * [.NET 10 SDK](https://dotnet.microsoft.com/download)
  34. * [Google Chrome](https://www.google.com/chrome/) (for PDF generation)
  35. * Ruby 3.3 is installed automatically when launching the website locally
  36. ### Troubleshooting
  37. * Do you receive an error around `jekyll-remote-theme` and `libcurl`? See [this issue on the pages-gem repo](https://github.com/github/pages-gem/issues/526).
  38. * Do you receive an error `Liquid Exception: SSL_connect returned=1 errno=0 state=error: certificate verify failed`? Check out [this solution in the Jekyll repo.](https://github.com/jekyll/jekyll/issues/3985#issuecomment-294266874)

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.