← ClaudeAtlas

clean-abaplisted

Check ABAP code for compliance with Clean ABAP principles. Use this skill when users ask to check, validate, review, or analyze ABAP code for clean code compliance, code quality, best practices, or adherence to Clean ABAP guidelines. Triggers include requests like "check this ABAP code", "is this clean ABAP", "review my ABAP for clean code", "validate ABAP against clean code principles", or "analyze ABAP code quality".
williamcorrea23/sap-router-skill · ★ 1 · AI & Automation · score 66
Install: claude install-skill williamcorrea23/sap-router-skill
# Clean ABAP This skill provides comprehensive checking of ABAP code against Clean ABAP principles, based on the Clean ABAP style guide which adapts Robert C. Martin's Clean Code for ABAP. ## How to Use This Skill When checking ABAP code for Clean ABAP compliance: 1. **Read the code** provided by the user 2. **Categorize issues** by Clean ABAP sections (Names, Language, Constants, Variables, Tables, Strings, Booleans, Conditions, Ifs, Classes, Methods, Error Handling, Comments, Formatting, Testing) 3. **Identify violations** with specific line references when available 4. **Provide actionable recommendations** with code examples showing both the problem and the clean solution 5. **Prioritize issues** by impact (critical, major, minor) ## Check Categories ### 1. Names **Key Principles:** - Use descriptive names that convey content and meaning - Prefer solution domain and problem domain terms - Use pronounceable names - Use snake_case consistently - Avoid abbreviations unless necessary - Use nouns for classes, verbs for methods - Avoid noise words like "data", "info", "object" - Pick one word per concept - Avoid encodings (Hungarian notation, prefixes like iv*, rv*, lt\_) - Avoid obscuring built-in functions **Check for:** - Non-descriptive variable/method/class names (e.g., `data1`, `temp`, `x`) - Inconsistent abbreviations across the code - Mixed naming conventions (not snake_case) - Noise words in names - Hungarian notation or unnecessary prefixes (iv*, ev*, rv*, l