go-import-enforcer
OfficialEnforce Go import standards across your codebase.
Authorfsyyft-go
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Go import statements often drift from project conventions, causing inconsistencies in formatting, grouping, and alias usage. This Skill automatically checks and fixes Go import blocks to conform to the project's four-segment grouping, ensures deterministic aliasing, and produces actionable remediation guidance to streamline code reviews and audits.
Core Features & Use Cases
- Enforces proper parentheses wrapping, four-segment grouping, and alphabetic sorting across all Go files.
- Applies project-specific alias rules (kit- and app-prefixes) and flags non-conforming imports for fixes.
- Generates detailed analysis reports and concrete repair suggestions to accelerate compliance audits.
Quick Start
Run the tool on your Go project to automatically enforce and fix import formatting.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: go-import-enforcer Download link: https://github.com/fsyyft-go/kratos-layout/archive/main.zip#go-import-enforcer 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 223,000+ vetted skills library on demand.