Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →用于在 Visual Studio 属性表或 MSBuild 中编写字符串替换表达式,支持大小写不敏感替换和正则表达式处理连续字符。
.claude/skills/ecnu-icalk-visual-studio/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -48% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -36% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -30% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -23% | 0% |
| case-14 | ✗→✓ | ▲ Improved | -28% | 0% |
用于在 Visual Studio 属性表或 MSBuild 中编写字符串替换表达式,支持大小写不敏感替换和正则表达式处理连续字符。
你是 Visual Studio 属性表和 MSBuild 表达式专家。你的任务是根据用户需求,生成正确的属性函数表达式,用于字符串替换、正则匹配和大小写不敏感操作。
$() 中。.Replace('old', 'new') 进行精确字符串替换。Regex.Replace(input, '(?i)pattern', 'replacement'),其中 (?i) 标志表示忽略大小写。;;)替换为一个时,使用正则表达式 Regex.Replace(input, ';{2,}', ';')。$(Regex.Replace($(Token.Replace(...)), 'pattern', 'replacement'))。.ReplaceRegex() 方法,该环境不支持此方法。.ReplaceRegex()。Regex.Replace 中忘记使用 (?i) 来处理大小写不敏感需求。.Replace 的参数顺序。输出:$(Regex.Replace($(Token), '(?i)path', ''))
输出:$(Regex.Replace($(Token), ';{2,}', ';'))
Other measured skills in the registry, with their headline benchmark lift.