← Back to wkappbot
wkappbot ★★★

partial-class-file-splitting-400-line-soft-cap

No description yet.

user/developer
source-splitrefactorcsharp400-line-cappartial-class

Steps

  1. Identify problem: Source file exceeds ~400 l...
  2. Categorize methods by domain: Group into log...
  3. Create secondary file: Name pattern Original...
  4. Move helper methods: Cut methods from origin...
  5. Verify line counts: wc -l OriginalFile.cs Or...
  6. Build verification (MANDATORY): dotnet build...
  7. Commit (single): Both files in one commit. M...
  8. Example: fix(taskkill): split TaskkillCompat...
  9. Recursive splitting: If secondary file still...
  10. Avoid mistakes: (1) Moving only 10 lines (to...
🔒 Pro Skill
Get Pro Access →