Sh Style Guide
Generates a consistent style guide based on provided text, ensuring uniformity and professionalism in your writing projects.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add sh-style-guide npx -- -y @trustedskills/sh-style-guide
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"sh-style-guide": {
"command": "npx",
"args": [
"-y",
"@trustedskills/sh-style-guide"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The sh-style-guide skill provides formatting and style guidance for shell scripts. It helps ensure consistency, readability, and adherence to best practices in your scripting workflows. This includes suggestions on indentation, commenting, variable naming, and overall structure.
When to use it
- Scripting new projects: Use this skill from the start to establish a consistent coding style across all files.
- Refactoring existing scripts: Apply the guide to improve readability and maintainability of legacy shell scripts.
- Collaborative development: Ensure team members are writing code that conforms to a shared style standard.
- Automated linting: Integrate with automated tools to enforce style guidelines during development.
Key capabilities
- Provides formatting suggestions for shell scripts.
- Offers guidance on indentation and spacing.
- Suggests best practices for variable naming conventions.
- Promotes consistent commenting within scripts.
Example prompts
- "Format this script according to sh style guide: [script content]"
- "Review this shell script for style violations: [script content]"
- "What are the recommended variable naming conventions in sh style?"
Tips & gotchas
The skill's effectiveness depends on providing clear and complete shell script content. It is not a replacement for understanding shell scripting fundamentals; it complements them by enforcing stylistic consistency.
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.