Javascript Style Guide
Enforces consistent JavaScript code style based on Kentoshimizu's preferences, improving readability and maintainability in backend projects.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add javascript-style-guide npx -- -y @trustedskills/javascript-style-guide
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"javascript-style-guide": {
"command": "npx",
"args": [
"-y",
"@trustedskills/javascript-style-guide"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enforces consistent JavaScript code style. It automatically formats code according to a predefined style guide, ensuring readability and maintainability across projects. The tool can handle indentation, spacing, line breaks, and other stylistic elements, promoting uniformity in the codebase.
When to use it
- Code Reviews: Automatically format code submitted for review to ensure adherence to team standards.
- New Project Setup: Quickly establish a consistent coding style from the beginning of a new JavaScript project.
- Refactoring Legacy Code: Apply a uniform style guide to older, less structured JavaScript codebases.
- Team Collaboration: Facilitate collaboration among developers by enforcing a shared coding standard.
Key capabilities
- Automated code formatting
- Predefined style guide enforcement
- Consistent indentation and spacing
- Line break management
Example prompts
- "Format this JavaScript code according to the established style guide."
- "Apply the team's JavaScript style rules to this file."
- "Ensure this code adheres to best practices for JavaScript formatting."
Tips & gotchas
The skill requires a basic understanding of JavaScript syntax. While it automates formatting, developers should still be familiar with the underlying principles of clean and readable code.
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.