Skip to content

feat(skills): add go-pro skill with hybrid architecture#51

Open
quybquang wants to merge 2 commits into
vudovn:mainfrom
quybquang:main
Open

feat(skills): add go-pro skill with hybrid architecture#51
quybquang wants to merge 2 commits into
vudovn:mainfrom
quybquang:main

Conversation

@quybquang
Copy link
Copy Markdown

What

Add a new go-pro AI skill for Go (Golang) development with a highly optimized context-saving structure.

Changes

New Multi-File Skill Structure

  • .agent/skills/go-pro/SKILL.md — Core index (~300 lines) covering:
    • Go philosophy & stdlib-first mindset
    • Project structure (flat → standard → domain-driven)
    • Idiomatic error handling (%w wrapping, sentinel vs custom types)
    • Interface design (small, consumer-defined)
    • Deep-dive reference index table
  • .agent/skills/go-pro/references/*.md — 7 context-saving deep-dives loaded on-demand:
    • concurrency.md: goroutine, channel, errgroup
    • clean-architecture.md: Handler → Service → Repository
    • frameworks.md: net/http → Chi → Gin → Fiber
    • database.md: sqlc, pgx, GORM, migrations
    • testing.md: Table-driven tests, fuzzing, mocking
    • performance.md: pprof, escape analysis
    • api-design.md: JSON decoding, middleware, graceful shutdown

Registration Points Modified

  • .agent/agents/backend-specialist.md — Added go-pro to skills list
  • .agent/ARCHITECTURE.md — Added to skill tables, updated count 36→37
  • .agent/skills/intelligent-routing/SKILL.md — Added Go/Golang keywords

Why

Go lacks a dedicated skill in the framework. This implementation follows the GEMINI.md mandate for "Selective Reading" by splitting the 800+ line skill into a core index and on-demand references, saving LLM context window while providing comprehensive Go guidance.

- Create .agent/skills/go-pro/SKILL.md with 15 sections covering:
  Go philosophy, project structure, concurrency, error handling,
  interface design, framework selection, database patterns, testing,
  performance, clean architecture, API design, logging, modules,
  anti-patterns, and decision checklist
- Register go-pro in backend-specialist agent skills
- Add go-pro to ARCHITECTURE.md skill tables (count 36→37)
- Add Go/Golang keywords to intelligent-routing domain detection
- Rewrite SKILL.md to ~295 lines (core only):
  philosophy, project structure, error handling, interfaces,
  logging, modules, anti-patterns, decision checklist
- Add 7 deep-dive reference files under references/:
  concurrency, frameworks, database, testing, performance,
  clean-architecture, api-design
- SKILL.md includes index table for selective loading
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 21, 2026

@quybquang is attempting to deploy a commit to the vudovn2's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant