원클릭으로
remove-dead-code
Identify and removedead code
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Identify and removedead code
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
A brief description, shown to the model to help it understand when to use this skill
Investigate test that fails when LRS parsing is enabled
Get behavior of reference (canonical) implementation
Write a K script that can be used as a test case
Run single test
Determine what the expected result for a test script should be
SOC 직업 분류 기준
| name | remove-dead-code |
| description | Identify and removedead code |
Edit the *.csproj file for the target project, e.g., K3CSharp/K3CSharp.csproj
[ ] Add <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild> under <PropertyGroup>
[ ] Add IDE0051 In <WarningsAsErrors> (e.g., if it is empty, <WarningsAsErrors /> change it to <WarningsAsErrors>IDE0051</WarningsAsErrors>)
[ ] run dotnet clean to clean the project
[ ] run dotnet build to build the project
[ ] resolve any IDE0051 warnings:
[ ] run a search to confirm the unused code is not used elsewhere
[ ] remove the unused code, or the entire file if it is unused
[ ] repeat cycles of dotnet build and resolve any IDE0051 warnings until you reach a clean build with no more IDE0051 warnings
[ ] remove IDE0051 from <WarningsAsErrors>
[ ] remove <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild> under <PropertyGroup>