Code Style
This "Code Style" skill automatically reformats your code to adhere to a defined style guide, improving readability and consistency.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add tommyxchow-code-style npx -- -y @trustedskills/tommyxchow-code-style
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"tommyxchow-code-style": {
"command": "npx",
"args": [
"-y",
"@trustedskills/tommyxchow-code-style"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill, tommyxchow-code-style, provides automated code style formatting. It can reformat existing code to adhere to a specified coding standard and ensure consistency across projects. The tool aims to improve readability and maintainability by automatically applying consistent styling rules.
When to use it
- Code cleanup: Quickly format a messy codebase to improve readability for yourself or others.
- Project onboarding: Ensure new contributors follow the project's established coding style guidelines.
- Automated formatting checks: Integrate into CI/CD pipelines to enforce code style consistency automatically.
- Refactoring: Apply consistent styling during larger refactoring efforts.
Key capabilities
- Automated code formatting
- Adherence to specified coding standards
- Improved code readability and maintainability
- Consistent styling across projects
Example prompts
- "Format this Python code according to PEP 8."
- "Reformat the following JavaScript file using Prettier."
- "Apply Google's C++ style guide to this code snippet."
Tips & gotchas
The skill requires a defined coding standard (e.g., PEP 8, Google Style Guide) to be effective. Ensure you specify the desired style in your prompt for optimal results.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.