一键导入
resource-texts
Add or update localized resource texts in Reihitsu. Use this when introducing new analyzer or code-fix strings in the .resx-based resource system.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Add or update localized resource texts in Reihitsu. Use this when introducing new analyzer or code-fix strings in the .resx-based resource system.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Orchestrator for implementing a Reihitsu GitHub issue end-to-end in a Claude Code Cloud Agent environment. Triggers when the initial prompt references a GitHub issue (e.g. "implement
Orchestrator for implementing a Reihitsu GitHub issue end-to-end in Codex on Linux cloud or local Windows. Triggers when the initial prompt references a GitHub issue (e.g. "implement
Review a GitHub Pull Request for the Reihitsu repository. Triggers on "review PR", "review pull request", "check PR
Review a GitHub Pull Request for the Reihitsu repository. Triggers on "review PR", "review pull request", "check PR
Write or update Reihitsu analyzer rule markdown files under documentation/rules/RH####.md. Use this when asked to create, rewrite, or review user-facing rule documentation for an analyzer rule.
Create Reihitsu issue draft markdown files under plans/issues that pass scripts/upload-issues.ps1 validation and can be uploaded with the repository script.
基于 SOC 职业分类
| name | resource-texts |
| description | Add or update localized resource texts in Reihitsu. Use this when introducing new analyzer or code-fix strings in the .resx-based resource system. |
Use this skill when you add, rename, or update localized strings for analyzers or code fixes.
Keep resource texts consistent across:
.resx source of truthReihitsu.Analyzer\AnalyzerResources.resxReihitsu.Analyzer\AnalyzerResources.csAnalyzer resources usually contain:
RH####TitleRH####MessageFormatThese are consumed through AnalyzerResources.ResourceManager and LocalizableResourceString.
Reihitsu.Analyzer.CodeFixes\CodeFixResources.resxReihitsu.Analyzer.CodeFixes\CodeFixResources.csCode-fix resources usually contain:
RH####TitleThese are consumed through CodeFixResources.RH####Title.
When adding a new resource text:
.resx file.The resource wrapper files are handwritten source files, not generated artifacts.
.Designer.cs files.<auto-generated> comments.ResXFileCodeGenerator, LastGenOutput, AutoGen, or related project metadata.internal static class types.ResourceManager plus string-returning properties.RH####TitleRH####MessageFormatRH####TitleUse the same key name:
.resx entryReihitsu.Analyzer.AnalyzerResourcesReihitsu.Analyzer.CodeFixResourcesIf you add a new analyzer rule RH9999:
RH9999Title and RH9999MessageFormat to Reihitsu.Analyzer\AnalyzerResources.resx.Reihitsu.Analyzer\AnalyzerResources.cs:internal static string RH9999Title => GetString(nameof(RH9999Title));
internal static string RH9999MessageFormat => GetString(nameof(RH9999MessageFormat));
nameof(AnalyzerResources.RH9999Title)
nameof(AnalyzerResources.RH9999MessageFormat)
If you add a matching code fix:
RH9999Title to Reihitsu.Analyzer.CodeFixes\CodeFixResources.resx.Reihitsu.Analyzer.CodeFixes\CodeFixResources.cs:internal static string RH9999Title => GetString(nameof(RH9999Title));
Use the repository's normal validation commands:
dotnet build Reihitsu.sln -c Release --verbosity minimal
dotnet test Reihitsu.Analyzer.Test\Reihitsu.Analyzer.Test.csproj -c Release --verbosity minimal
If the change touches code fixes or formatter-coupled behavior, also run the additional relevant test project.
Do not:
.resx file and forget the wrapper property.resx keyCodeFixResourcesAnalyzerResources