Skip to content
G

goframe-v2

GoFrame v2 development skill

by gogfFree

#7683in AI Skills
0In stores

Description

goframe-v2 is an agent skill for developing Go projects that use GoFrame v2. It should be used only when the project uses GoFrame v2, or is…

Highlights

  • Applies only to projects that require gf/v2
  • Scaffolding with the gf init command
  • Rules for generated dao, do and entity files
  • Error handling with gerror and DO-based database writes
  • Reference examples for HTTP and gRPC services

Ratings & Reviews

No ratings yet

Be the first to rate goframe-v2.

People also visit

G

golang-design-patterns

Idiomatic Golang design patterns

AI Skills
Get
G

golang-project-layout

Golang project layout and workspace setup

AI Skills
Get
G

golang-popular-libraries

Golang library and framework selection

AI Skills
Get
M

modern-go-guidelines

Enhances Claude Code with modern Go guidelines up to go 1.26 version

AI Skills
Get
D

developing-genkit-go

Develop AI-powered applications using Genkit in Go

AI Skills
Get
G

go-agent-skills

28 curated Go skills for code review, concurrency safety, testing, gRPC

AI Skills
Get

goframe-v2 FAQ

When should this skill be used?

Only when the Go project uses GoFrame v2, or is adopting it, with github.com/gogf/gf/v2 required in the nearest go.mod.

How do I start a new project?

For a full HTTP or microservice project, install the GoFrame CLI and run gf init to create the scaffolding.

Which files must not be edited by hand?

The auto-generated dao, do and entity files, per the GoFrame conventions in the skill.

Where does business logic go?

In the service directory. The logic directory is not used unless you ask for it.

How should database writes be done?

With DO objects from internal/model/do, not g.Map or map[string]interface{}. Unset DO fields are ignored by the ORM.

How do I install it?

Run npx skills add https://github.com/gogf/skills --skill goframe-v2.

What were the security audit results?

Gen Agent Trust Hub: Warn. Socket: Warn. Snyk: Pass.

What are the best goframe-v2 alternatives?

Popular alternatives to goframe-v2 include golang-design-patterns, golang-project-layout and golang-popular-libraries. See all goframe-v2 alternatives

Developer Stuff

Badges