go-frame-init-skill

go-frame-init-skill is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 93 tokens per session (976 once invoked), scanned A, original, Apache-2.0.

A Go project starter that creates a web application using Gin, Hertz, Fiber, or Chi. These are Go frameworks that provide common tools for handling web requests.

In plain words
What is it for?
Use it to initialize a Go web project with a standard structure, configuration, logging, authentication, cross-origin settings, rate limiting, database connections, and startup scripts.
Why use it?
It avoids manually choosing a framework, laying out folders, adding common middleware, and writing development and production start scripts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is path: ./logs/app.log.

Good fit Use it to initialize a Go web project with a standard structure, configuration, logging, authentication, cross-origin settings, rate limiting, database connections, and startup scripts.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-skills
agentmods
npx agentmods add skills/jiushiwon/wg-skills/go-frame-init-skill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for go-frame-init-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiushiwon/wg-skills/go-frame-init-skill/github.svg)](https://agentmods.dev/skills/jiushiwon/wg-skills/go-frame-init-skill)
Your own site
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/go-frame-init-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/go-frame-init-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for go-frame-init-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/go-frame-init-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/go-frame-init-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 976 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00093 $0.00976
Opus 5.5 $0.00037 $0.00390
Sonnet 5.5 $0.00019 $0.00195
Haiku 4.5 $0.00009 $0.00098

Measured 1mo ago against content hash f829047d3222, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

go-frame-init-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

backend/go/go-frame-init-skill/SKILL.md · 133 lines

What it actually says

Go Frame Skill

面向零基础小白,快速初始化 Go Web 框架项目。

支持的框架

框架 特点 场景
Gin 最流行、性能好 默认推荐
Hertz 阿里开源、云原生 高性能 HTTP
Fiber Express 风格、易上手 快速开发
Chi 轻量、Router 链路 API Gateway

触发场景

用户说"帮我搭 Go Web 框架"或"初始化 Go 项目"时触发。

核心能力

能力 说明
项目初始化 多种框架可选
目录结构 标准 Go 项目布局
中间件 日志/鉴权/CORS/安全头
配置管理 godotenv 配置
数据库集成 GORM(MySQL/PostgreSQL)
一键启动 开发/生产脚本

不做

  • 不重复 go-gin-init-skill( Gin 已在 go-gin-init-skill 中)
  • 本 skill 主要用于其他框架(Hertz/Fiber/Chi)的初始化

与 go-gin-init-skill 的关系

技能 关系
go-gin-init-skill Gin 专项(更深入)
go-frame-init-skill 多框架(除 Gin 外)

快速使用

选择框架初始化

# 1. 选择框架
echo "选择框架: 1) Gin 2) Hertz 3) Fiber 4) Chi"

# 2. 输入项目名
read -p "项目名: " project_name

# 3. 生成项目
go-frame-init new $project_name --framework=hertz

目录结构

my-project/
├── cmd/
│   └── server/
│       └── main.go        # 入口
├── internal/
│   ├── handler/           # HTTP 处理
│   ├── service/           # 业务逻辑
│   ├── repository/        # 数据访问
│   └── model/             # 实体
├── pkg/
│   ├── middleware/        # 中间件
│   ├── config/            # 配置
│   └── utils/             # 工具
├── configs/
│   └── config.yaml
├── scripts/
│   ├── dev.sh            # 开发启动
│   └── prod.sh           # 生产启动
├── go.mod
└── README.md

配置示例

# configs/config.yaml
app:
  name: my-app
  port: 8080
  env: development

database:
  driver: mysql
  host: 127.0.0.1
  port: 3306
  dbname: mydb
  username: root
  password: root

log:
  level: info
  path: ./logs/app.log

中间件清单

中间件 作用
Logger 请求日志
Recover panic 恢复
CORS 跨域
Auth JWT 鉴权
RateLimit 限流

推荐搭配

  • go-auth-module-skill - 权限底座
  • go-ws-module-skill - WebSocket 支持
  • database-design-skill - 数据库设计

触发词

  • Go 框架
  • Go Web 框架
  • Hertz
  • Fiber
  • Chi
  • 初始化 Go 项目
  • Go 脚手架
Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +95 lines · +1 tokens per session f829047d3222
  2. 1mo ago Changed 10137cdf9a7f
  3. 2mo ago First seen · 38 lines · 92 tokens per session scan A 5a3f895e88d0

Subscribe to this mod's changes

go-frame-init-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 6d ago), licensed Apache-2.0. It adds 93 tokens to every session and 976 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-15.

Related

go-frame-init-skill compared with skills from other repositories

go-frame-init-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
go-frame-init-skilljiushiwon/wg-skillsSkill1546d agoApache-2.0A93Claude Code, Codex
golang-proJeffallan/claude-skillsSkill13ktodayMITA95Claude Code
platform-constrained-handlerclidey/whodbSkill5.1ktodayApache-2.0A26Claude Code, Codex
golang-graphqlsamber/cc-skills-golangSkill4.0k22d agoMITA77Claude Code
golang-grpcsamber/cc-skills-golangSkill4.0k22d agoMITA72Claude Code
golang-swaggersamber/cc-skills-golangSkill4.0k22d agoMITA146Claude Code
printing-pressmvanhorn/cli-printing-pressSkill5.1ktodayMITA86Claude Code