Skip to main content
Ejecuta cualquier Skill en Manus
con un clic

csharp-generic-math

Estrellas15
Forks0
Actualizado3 de abril de 2026 a las 18:59

Use C# generic math (System.Numerics interfaces, static abstract members) to write type-parameter-agnostic arithmetic and mathematical algorithms in .NET 7+. Trigger whenever the user writes or reviews generic methods that do math, asks about INumber, IAdditionOperators, IFloatingPoint, or other System.Numerics interfaces, wants to support multiple numeric types without overloads, is implementing custom numeric/vector types, or uses Math/MathF — even if they don't mention "generic math" by name. Always prefer T.Zero/T.One and type-level math over System.Math when a type parameter is involved.

Instalación

Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.

Explorador de archivos
5 archivos
SKILL.md
readonly