enforcing-generated-regex
CommunityOptimize Regex performance in C# with Source Generator attributes.
Authorchristian289
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill ensures that Regex expressions in C# are optimized using the [GeneratedRegex] Source Generator attribute, improving compile-time performance.
Core Features & Use Cases
- Source Generator Attribute:强制使用[GeneratedRegex]属性,编译时优化正则表达式。
- Compile-Time Optimization:通过Source Generator在编译时生成优化后的代码,减少运行时开销。
- Use Case:适用于需要频繁使用正则表达式且对性能要求较高的应用程序,如数据验证、格式化等。
Quick Start
Apply the [GeneratedRegex] attribute to a Regex pattern in your C# code to enable compile-time optimization.
Dependency Matrix
Required Modules
GeneratedRegex
Components
scripts
💻 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: enforcing-generated-regex Download link: https://github.com/christian289/task_20260212/archive/main.zip#enforcing-generated-regex Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.