What problem does it solve?
This Skill helps you apply the correct formatting and linting checks for Megahub so code stays consistent, reviewable, and easier to maintain across C++ and frontend files.
Core Features & Use Cases
- C++ formatting and analysis: Use clang-format and cppcheck to keep firmware and library code aligned with project style and catch common issues.
- Frontend quality checks: Use Prettier and ESLint to format and validate JavaScript and CSS in the web IDE.
- Pre-commit enforcement: Rely on lefthook to automatically run the right checks on staged files before commits land.
- Use case: After editing a firmware module or changing the IDE UI, apply the repository's formatting rules and run the relevant lint checks before opening a pull request.
Quick Start
Ask for the correct Megahub formatting or linting steps for the files you changed and apply the repository's recommended checks before you commit.