Code Formatting
OfficialFlawless Go code & tests, effortlessly.
Authoropenshift
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill ensures your Go code and tests consistently meet HyperShift's strict quality and formatting standards. It eliminates manual checks for test naming conventions and reminds you of essential linting and verification steps, preventing common errors and accelerating code reviews.
Core Features & Use Cases
- Mandatory Test Naming: Enforces the "When...it should..." format for all Go test names, improving readability and consistency.
- Automated Linting Reminders: Prompts you to run
make lint-fixandmake verifyto automatically fix issues and confirm code quality. - Spelling Verification: Reminds you to use
make verify-codespellfor markdown files. - Use Case: When writing new Go code or tests, this Skill acts as your automated quality assurance, ensuring all HyperShift-specific conventions are met before you even think about committing, saving you from rework and failed CI/CD pipelines.
Quick Start
Example of a compliant Go test name
name: "When NodePool has valid image ID, it should create Azure machine template"
Remember to run these commands after coding:
make lint-fix
make verify
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Code Formatting Download link: https://github.com/openshift/hypershift/archive/main.zip#code-formatting Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.