By iceleaf916
Automatically formats modified Go files detected via git status or recent commits using goimports and bash scripts, ensuring clean, import-organized code on save without manual runs. Integrates pre-tool hooks with Python for workflow automation.
npx claudepluginhub iceleaf916/my-cc-plugins --plugin go-formatter这是一个 Claude Code 插件集合项目,用于扩展 Claude 的功能,提升开发效率。
插件市场地址: https://gitlabwh.uniontech.com/ut000930/udcp-cc-plugins
在 Claude Code 中执行以下命令安装所有插件:
/marketplace install https://gitlabwh.uniontech.com/ut000930/udcp-cc-plugins
如仅需安装单个插件,可指定插件名称:
/marketplace install https://gitlabwh.uniontech.com/ut000930/udcp-cc-plugins/fetch-mcp
/marketplace install https://gitlabwh.uniontech.com/ut000930/udcp-cc-plugins/go-formatter
/marketplace install https://gitlabwh.uniontech.com/ut000930/udcp-cc-plugins/udcp-skills
克隆项目到本地:
git clone https://gitlabwh.uniontech.com/ut000930/udcp-cc-plugins.git
将插件目录放置到 Claude Code 的插件目录中。
goimports - Go 代码格式化工具(go-formatter 插件使用)jq - JSON 处理工具安装依赖:
# macOS
brew install goimports jq
# Linux
go install golang.org/x/tools/cmd/goimports@latest
sudo apt-get install jq
MCP API 数据获取插件,提供基于 MCP 协议的 HTTP 请求能力。
Go 代码自动格式化插件,提供以下功能:
.go 文件.go 文件.go 文件时自动执行格式化go-formatter:format-change-files - 格式化所有变更的 Go 文件go-formatter:format-recent-commit - 格式化最近一次提交修改的 Go 文件PreToolUse - 拦截 Write|Edit 操作,对 .go 文件自动执行 goimports -w 格式化UDCP 开发技能集合插件,包含多个针对 UDCP 开发的专业指南。
go-frame-best-practices - GoFrame 框架最佳实践
go-test-standards - Golang 单元测试规范
remote-troubleshoot - 远程故障排查
udcp-cc-plugins/
├── .claude-plugin/
│ └── marketplace.json # 插件市场配置
├── fetch-mcp/ # MCP 数据获取插件
│ ├── .claude-plugin/
│ │ └── plugin.json
│ └── .mcp.json
├── go-formatter/ # Go 格式化插件
│ ├── .claude-plugin/
│ │ └── plugin.json
│ ├── commands/ # 命令文件
│ ├── hooks/ # 钩子配置
│ └── scripts/ # 脚本文件
└── udcp-skills/ # UDCP 开发技能集合
├── .claude-plugin/
│ └── plugin.json
└── skills/
├── go-frame-best-practices/
├── go-test-standards/
└── remote-troubleshoot/
Automatically format Go files with gofmt after Write/Edit/MultiEdit operations
Go language coding standards, best practices, and testing patterns
Comprehensive toolkit with 8 expert skills for Claude Code plugin development covering hooks, MCP integration, commands, and agents with best practices.
Analyze codebases and recommend tailored Claude Code automations such as hooks, skills, MCP servers, and subagents.
OpenAI Codex CLI integration with MCP server and skills for plan review, code review, and codebase analysis
Modifies files
Hook triggers on file write and edit operations
Runs pre-commands
Contains inline bash commands via ! syntax
Share bugs, ideas, or general feedback.
Qiushi Skill: methodology skills for AI agents guided by seeking truth from facts, with Claude Code, Cursor, OpenClaw, Codex, OpenCode, and Hermes guidance.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claim