rm-guide-namespaces

Community

Align C# namespaces with folder structure

Authormichaelvolz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Keeping namespaces aligned with file scopes and folder paths is easy to forget when creating or refactoring C# files, which leads to inconsistent organization and harder navigation.

Core Features & Use Cases

  • File-scoped namespace reminder: Always structure namespaces to match the new file scope so that each type benefits from the simplified syntax introduced in modern C#.
  • Folder-path alignment: Translate the directory hierarchy into the namespace path for predictable placement across layers of redmuffin.Blazor.StaticWeb.
  • Use Case: When adding a component under Features/Home, set the namespace to redmuffin.Blazor.StaticWeb.Features.Home to reflect both its responsibility and its folder location.

Quick Start

Ask for rm-guide-namespaces when adding or moving a C# file so namespaces stay file-scoped and mirror the folder path.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rm-guide-namespaces
Download link: https://github.com/michaelvolz/redmuffin.Blazor.StaticWeb/archive/main.zip#rm-guide-namespaces

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.