checking-code-formatting
Installation
SKILL.md
Code Formatting Checker
Instructions
Analyze code files for formatting issues and inconsistencies. Provide a comprehensive report with specific file locations and recommendations.
Step 1: Determine Scope
-
Identify target files:
- If user specifies files/directories, check those
- If no target specified, analyze current directory recursively
- Focus on source code files:
.py,.js,.ts,.jsx,.tsx,.rs,.go,.java,.cpp,.c,.h, etc.
-
Use
list_directoryto explore the codebase structure -
Use
grep_searchto find source files by extension
Step 2: Language-Agnostic Formatting Checks
Use grep_search and read_file to check for these common issues: