·go-gorm-model
</>

go-gorm-model

Generate Go GORM models following Go modular architecture conventions. Use when creating or updating persistence models in internal/modules/<module>/model/, including table mapping, nullable pointer types, index tags, PostgreSQL-specific types, and timestamps. Always use this skill when asked to create a model, add a GORM struct, map a database table, or generate model files.

25Installs·2Trend·@cristiano-pacheco

Installation

$npx skills add https://github.com/cristiano-pacheco/ai-tools --skill go-gorm-model

How to Install go-gorm-model

Quickly install go-gorm-model AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/cristiano-pacheco/ai-tools --skill go-gorm-model
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: cristiano-pacheco/ai-tools.

SKILL.md

View raw

Use Go pointer types for nullable columns. Never use database/sql types (sql.NullString, sql.NullInt32, etc.) — those are not used in this codebase.

| TEXT / VARCHAR nullable | string | | BIGINT nullable (value) | int64 | | BIGINT nullable (FK) | uint64 | | BOOLEAN nullable | bool | | TIMESTAMPTZ nullable | time.Time |

Do NOT add gorm:"column:..." tags. GORM automatically maps Go field names to snakecase column names (ProductID → productid, CreatedAt → createdat, etc.). Only add tags when there is a specific GORM feature to declare.

Generate Go GORM models following Go modular architecture conventions. Use when creating or updating persistence models in internal/modules/<module>/model/, including table mapping, nullable pointer types, index tags, PostgreSQL-specific types, and timestamps. Always use this skill when asked to create a model, add a GORM struct, map a database table, or generate model files. Source: cristiano-pacheco/ai-tools.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/cristiano-pacheco/ai-tools --skill go-gorm-model
Category
</>Dev Tools
Verified
First Seen
2026-02-25
Updated
2026-03-10

Browse more skills from cristiano-pacheco/ai-tools

Quick answers

What is go-gorm-model?

Generate Go GORM models following Go modular architecture conventions. Use when creating or updating persistence models in internal/modules/<module>/model/, including table mapping, nullable pointer types, index tags, PostgreSQL-specific types, and timestamps. Always use this skill when asked to create a model, add a GORM struct, map a database table, or generate model files. Source: cristiano-pacheco/ai-tools.

How do I install go-gorm-model?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/cristiano-pacheco/ai-tools --skill go-gorm-model Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/cristiano-pacheco/ai-tools