colgen
OfficialGenerates Go collection code with inline snippets.
Authorvmkteam
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Colgen automates the creation of Go collection helpers and type-safe lists from directives embedded in collection.go, reducing boilerplate and keeping domain models consistent across layers.
Core Features & Use Cases
- Generates collection types like XxxList []Xxx and associated methods from directives such as //colgen:News,Tag.
- Supports inline-snippet constructors and LLm-enabled modes to accelerate API-layer scaffolding.
- Provides converters between layers via Map/MapP patterns and flexible field-based helpers (Index, UniqueIDs, Group, Fill).
Quick Start
Run colgen to generate the collection helpers from your collection.go directives.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: colgen Download link: https://github.com/vmkteam/claude-plugins/archive/main.zip#colgen 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 471,000+ vetted skills library on demand.