Code Format
Automatically formats Python code to Winsor LLC's style guidelines, ensuring consistency and readability.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add winsorllc-code-format npx -- -y @trustedskills/winsorllc-code-format
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"winsorllc-code-format": {
"command": "npx",
"args": [
"-y",
"@trustedskills/winsorllc-code-format"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill formats code according to a consistent style. It can take raw, unformatted code as input and return it with proper indentation, spacing, and line breaks. The tool aims to improve readability and maintainability of the code by enforcing a specific coding standard.
When to use it
- You have a block of Python code that needs to be formatted for submission or review.
- You're working on a project with multiple contributors and need to ensure consistent code style.
- You want to quickly clean up messy, hand-written code snippets.
- You are generating code programmatically and require it to adhere to specific formatting rules.
Key capabilities
- Code Formatting
- Consistent Style Enforcement
- Readability Improvement
Example prompts
- "Please format this Python code: [paste code here]"
- "Can you clean up the following JavaScript snippet? [paste code here]"
- "Format this block of code to be readable."
Tips & gotchas
The skill's formatting style is pre-defined; it doesn’t currently allow for customization of specific rules. Ensure the input code is valid and complete 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.