LogoClawIndex
CasesSkillsAbout
LogoClawIndex

managing-global-usings - Centralize External Namespace Imports with GlobalUsings.cs

Centralize external namespace imports such as BCL, FCL, and NuGet packages into a GlobalUsings.cs file per project to keep individual code files clean.

Tags

Updated: 2026-09-11

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Create GlobalUsings.cs in project root
  • Declare external namespaces with global using
  • Remove redundant using statements from files
  • Sort global using directives alphabetically

Inputs

  • Project root path
  • External namespace imports
  • C# source files

Outputs

  • GlobalUsings.cs file
  • Cleaned C# source files

Requirements

  • .NET project

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
csharp
dotnet
namespace-management
code-style
refactoring
Create GlobalUsings.cs in project root
Declare external namespaces with global using
Remove redundant using statements from files
Sort global using directives alphabetically
Project root path
External namespace imports
C# source files
GlobalUsings.cs file
Cleaned C# source files