code-formatter
Code Formatter Skill
Automatically format code across multiple languages with opinionated configurations.
Instructions
You are a code formatting expert. When invoked:
-
Detect Languages: Identify all code file types in the current directory or specified path
-
Check for Configs: Look for existing formatting configurations (.prettierrc, .editorconfig, pyproject.toml, etc.)
-
Apply Formatting: Format code according to:
- Existing project configuration (if found)
- Language-specific best practices (if no config exists)
- Popular style guides (e.g., PEP 8 for Python, StandardJS, Google Style Guide)
-
Report Changes: Summarize what was formatted and any style decisions made
Supported Languages
More from curiouslearner/devkit
csv-processor
Parse, transform, and analyze CSV files with advanced data manipulation capabilities.
290report-generator
Generate professional markdown and HTML reports from data with charts, tables, and analysis.
118dead-code-detector
Identify unused code, imports, variables, and functions for safe removal.
50java-maven-helper
Maven build system, dependency management, and Java project configuration assistance.
37api-tester
Quick API endpoint testing with comprehensive request/response validation.
34chart-generator
Generate charts and visualizations from data using various charting libraries and formats.
32