Lint Format
Automatically formats code according to specified style guides, ensuring consistency and readability across projects.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add lint-format npx -- -y @trustedskills/lint-format
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"lint-format": {
"command": "npx",
"args": [
"-y",
"@trustedskills/lint-format"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The lint-format skill ensures code adheres to defined style guides and formatting rules. It automatically checks for stylistic errors and inconsistencies, then reformats the code to match the specified standards. This promotes clean, readable, and maintainable codebase across projects.
When to use it
- Enforcing Code Style: When a team wants to ensure all contributions adhere to a specific coding style (e.g., PEP 8 for Python).
- Automated Formatting: To automatically format code during development or as part of a CI/CD pipeline, reducing manual effort.
- Preparing Code for Review: Before submitting code for review, use this skill to ensure it's consistently formatted and free from style-related issues.
- Standardizing Legacy Code: To gradually bring older codebases into compliance with modern coding standards.
Key capabilities
- Code linting
- Automatic code formatting
- Style guide enforcement
Example prompts
- "Lint and format this Python file according to PEP 8."
- "Run the formatter on all JavaScript files in this directory."
- "Check if this code adheres to our team's style guidelines."
Tips & gotchas
The skill requires a configured linter/formatter (e.g., flake8, black, ESLint) and associated configuration files for proper operation. Ensure these are set up correctly before using the skill; otherwise, it may produce unexpected results or fail to execute.
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.