Back to list
Falkicon

s-clean

by Falkicon

In-game development hub for World of Warcraft addon developers. Centralizes debugging, testing, error capture, and performance monitoring with universal copy support.

8🍴 1📅 Jan 24, 2026

SKILL.md


Cleaning WoW Addons

Expert guidance for finding and removing cruft in addon codebases.

MCP Tools

TaskMCP Tool
Find Dead Codeaddon.deadcode(addon="MyAddon")
Find Stale Docsdocs.stale(addon="MyAddon")
Filter by Confidenceaddon.deadcode(addon="MyAddon", include_suspicious=false)

Capabilities

  1. Dead Code Detection — Find unused functions, orphaned files, dead exports
  2. Stale Docs Detection — Find broken links, outdated refs, version drift
  3. Confidence Levels — Definite (100%), Likely (90%+), Suspicious (70%+)

Detection Categories

Dead Code (addon.deadcode)

CategoryDescription
unused_functionFunctions defined but never called
orphaned_fileLua files not in TOC
dead_exportExported values never used
unused_libraryLibraries in Libs/ never used
stale_eventEvent handlers for unregistered events
commented_codeLarge blocks of commented-out code

Stale Docs (docs.stale)

CategoryDescription
dead_linkInternal links to non-existent files
dead_referenceMentions of functions/files that don't exist
version_driftOld version numbers in documentation
relative_stalenessDocs not updated in many commits

Workflow

Quick Cleanup

  1. Run addon.deadcode with include_suspicious=false for high-confidence issues only
  2. Remove identified dead code
  3. Run docs.stale to find documentation issues
  4. Fix broken links and update outdated references

Deep Cleanup

  1. Run addon.deadcode with all confidence levels
  2. Manually verify suspicious findings before removal
  3. Run docs.stale with all techniques
  4. Update documentation to match current code

Confidence Interpretation

LevelMeaningAction
Definite100% certain (e.g., file not in TOC)Safe to remove
Likely90%+ certain (e.g., function never called)Review briefly, usually safe
Suspicious70%+ certain (e.g., dynamic code patterns)Manual verification required

Best Practices

  1. Start with definite issues — These are safe to fix immediately
  2. Check dynamic patterns_G, rawget, loadstring may hide usage
  3. Preserve intentional dead code — Mark with -- KEEP: comment if needed
  4. Update docs after code changes — Run docs.stale after refactoring

Score

Total Score

70/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon