Go Google Style Guide
Ensures text adheres to Google's style guide for clarity, consistency, and brand voice.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add go-google-style-guide npx -- -y @trustedskills/go-google-style-guide
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"go-google-style-guide": {
"command": "npx",
"args": [
"-y",
"@trustedskills/go-google-style-guide"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows an AI agent to format Go code according to Google's style guide. It can take raw Go source code and automatically apply consistent formatting rules, including indentation, line length, and naming conventions. The resulting code adheres to industry best practices for readability and maintainability.
When to use it
- Code Review: Quickly reformat a large codebase or pull request to ensure consistency with Google's style guide.
- Educational Purposes: Demonstrate proper Go coding standards to students or junior developers.
- Automated Formatting: Integrate into CI/CD pipelines to automatically enforce code style during development.
- Code Cleanup: Clean up existing Go code that deviates from the Google style guide.
Key capabilities
- Applies Google's Go formatting rules
- Handles indentation and line length constraints
- Enforces naming conventions
Example prompts
- "Format this Go code: [paste code here]"
- "Apply Google’s style guide to the following file: main.go"
- “Reformat this function according to Google's standards: [paste function definition]”
Tips & gotchas
The skill requires access to the input Go code. It is designed for formatting existing code and may not be suitable for generating new code from scratch.
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.