coding-standards-ai-kit

Enforce clean code standards for C# naming, design, functions, and structure.

Updated May 11, 2026
One-click install
npx skills add https://github.com/ducthang-hub/nw-ai-kit --skill coding-standards-ai-kit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards-ai-kit
Source: https://github.com/ducthang-hub/nw-ai-kit/tree/main/.agents/skills/coding-standards-ai-kit
Command: npx skills add https://github.com/ducthang-hub/nw-ai-kit --skill coding-standards-ai-kit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams reduce code complexity and improve long-term maintainability by applying consistent C# and general clean code standards.

Core Features & Use Cases

  • Naming and readability guidance: Enforces conventions like PascalCase/camelCase, meaningful variable names, and replacing magic numbers with constants.
  • Design and function rules: Promotes small functions, single responsibility at the function level, minimal parameters, and avoiding flag arguments.
  • Architecture hygiene: Encourages dependency injection, Law of Demeter compliance, configurable data at high levels, and safer control flow patterns.

Quick Start

Use the coding-standards-ai-kit skill to review a C# method or class for naming, readability, structure, and adherence to clean code rules, then return concrete improvements.

Frequently Asked Questions about coding-standards-ai-kit

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

FAQPage Schema
How do I enforce clean code standards in C# during code review?

To enforce clean code standards in C# during code review, apply consistent naming conventions like PascalCase, eliminate magic numbers, and ensure functions maintain single responsibility. This approach enforces design rules and improves long-term maintainability across your projects.

What are the key C# coding conventions for improving readability and maintainability?

Key C# coding conventions for readability include using meaningful variable names, replacing magic numbers with constants, and writing small functions with minimal parameters. Adhering to these standards reduces code complexity and improves maintainability.

Does dependency injection improve C# code architecture?

Dependency injection improves C# code architecture by promoting architecture hygiene and decoupling components. It works alongside the Law of Demeter to encourage configurable data at high levels, resulting in safer control flow patterns and more maintainable designs.

How do I refactor C# functions to follow the Boy Scout Rule and KISS principle?

To refactor C# functions following the Boy Scout Rule and KISS principle, focus on creating small functions with single responsibility, avoiding flag arguments, and minimizing parameters. This process yields concrete improvements and aligns your code with clean code guidelines.

Can I use clean code rules for general software engineering tasks outside of C#?

Yes, you can apply clean code rules for general software engineering tasks outside of C#. Standards like the Boy Scout Rule, KISS principle, and Law of Demeter are general software engineering practices that improve code quality across various project contexts.