Skip to content
Prompt

Humanizer — Copilot Instructions

by Humanizr

AI Summary

These instructions apply to the entire repository.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "Humanizer — Copilot Instructions" prompt rules to my project.
Repository: https://github.com/Humanizr/Humanizer

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities

Project Overview

• Humanizer is a .NET library for turning numbers, dates, times, enums, quantities, etc. into human-friendly text across many locales. • The main library lives in src/Humanizer; tests are under tests/.

Scope

These instructions apply to the entire repository.

Toolchain

• Primary language: C# (modern features). • Target frameworks: .NET 8.0, .NET 10.0, and .NET Framework 4.8. • Tests use xUnit and should live alongside similar tests in tests/Humanizer.Tests. • Build with the .NET CLI (dotnet). Prefer the latest SDK (see install script in .github/copilot-instructions.md).

Coding Guidelines

• Respect .editorconfig; use spaces, 4-space indentation, and file-scoped namespaces. • Use var for obvious types, and language keywords (string, int, etc.). • Order using directives with System.* first; prefer existing global usings. • Keep code self-documenting; use comments sparingly. • Never wrap imports in try/catch. • Avoid unnecessary this. and braces for one-line blocks; trim redundant blank lines. • Follow existing naming conventions (camelCase private fields, PascalCase public members/constants/static readonly). • Add XML documentation for new or modified public APIs.

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted Today
Active
Adoption1K+ stars on GitHub
9.6k ★ · Popular
DocsREADME + description
Well-documented

GitHub Signals

Stars9.6k
Forks1.0k
Issues192
UpdatedToday
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more