MCPcopy Create free account
hub / github.com/StepfenShawn/ShitCodify / getTransformationLevelDescription

Function getTransformationLevelDescription

src/utils/styleRules.ts:1–14  ·  view source on GitHub ↗
(level: string)

Source from the content-addressed store, hash-verified

1export function getTransformationLevelDescription(level: string): string {
2 switch (level) {
3 case 'low':
4 return '轻微混乱 - 代码仍然可以理解,但增加了一些不必要的复杂性';
5 case 'medium':
6 return '适度混乱 - 代码变得明显难以理解,但结构仍然可以辨认';
7 case 'high':
8 return '严重混乱 - 代码非常难以理解,结构被严重扭曲';
9 case 'extreme':
10 return '极端混乱 - 代码几乎不可能理解,使用了所有可能的混淆技术';
11 default:
12 return '适度混乱 - 代码变得明显难以理解,但结构仍然可以辨认';
13 }
14}
15
16export function getVariableNamingTechniques(style: string): string {
17 switch (style) {

Callers 2

generateCursorRulesFunction · 0.90
generatePromptFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected