Zsh Style Guide
This Zsh Style Guide AI helps you write cleaner, more consistent Zsh scripts by suggesting best practices and formatting improvements for readability.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add zsh-style-guide npx -- -y @trustedskills/zsh-style-guide
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"zsh-style-guide": {
"command": "npx",
"args": [
"-y",
"@trustedskills/zsh-style-guide"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides guidance and enforces a consistent style for Zsh configuration files. It helps maintain readability, reduces errors, and ensures that customizations are applied correctly within a Zsh environment. The skill aims to improve the overall quality and manageability of shell scripts and configurations.
When to use it
- New Zsh users: To learn best practices and avoid common pitfalls when customizing their shell.
- Team environments: Enforcing consistent styling across multiple developers' Zsh configurations.
- Large projects: Maintaining a clean and organized shell environment for complex workflows.
- Automated configuration: Integrating style checks into CI/CD pipelines to ensure quality.
Key capabilities
- Style checking of Zsh configuration files.
- Enforcement of consistent formatting rules.
- Guidance on best practices for Zsh customization.
Example prompts
- "Check my
.zshrcfile for style errors." - "Apply the recommended zsh styling to this snippet:
alias ls='ls -l'" - "Explain why this line in my
.zshrcis not following best practices."
Tips & gotchas
The skill assumes you have Zsh installed and are working with Zsh configuration files (e.g., .zshrc, .zprofile). While the skill provides guidance, it doesn't automatically modify your files; you’ll need to apply the suggestions manually or through scripting.
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.