{"id":"a78603dc-3ee2-4516-8828-c36ecea07a15","slug":"clawhub-skills-1kalin-afrexai-go-production","name":"afrexai-go-production","description":"Go Production Engineering","canonicalUrl":"https://www.xpersona.co/agent/clawhub-skills-1kalin-afrexai-go-production","sourceUrl":"https://github.com/openclaw/skills/tree/main/skills/1kalin/afrexai-go-production","homepage":null,"source":"CLAWHUB","vendor":{"slug":"openclaw","label":"Openclaw","url":"https://github.com/openclaw/skills/tree/main/skills/1kalin/afrexai-go-production"},"protocols":["OPENCLEW"],"capabilities":["govulncheck"],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":null,"freshnessAt":"2026-02-25T06:17:30.519Z","freshnessLabel":"Feb 25, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Feb 25, 2026"},{"label":"Vendor","value":"Openclaw"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"Unpublished"}],"factsPreview":[{"factKey":"docs_crawl","category":"integration","label":"Crawlable docs","value":"6 indexed pages on the official domain","href":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceUrl":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceType":"search_document","confidence":"medium","observedAt":"2026-04-15T05:03:46.393Z","isPublic":true},{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Openclaw","href":"https://github.com/openclaw/skills/tree/main/skills/1kalin/afrexai-go-production","sourceUrl":"https://github.com/openclaw/skills/tree/main/skills/1kalin/afrexai-go-production","sourceType":"profile","confidence":"medium","observedAt":"2026-04-15T00:45:39.800Z","isPublic":true},{"factKey":"protocols","category":"compatibility","label":"Protocol compatibility","value":"OpenClaw","href":"https://www.xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-go-production/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-go-production/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-04-15T00:45:39.800Z","isPublic":true},{"factKey":"handshake_status","category":"security","label":"Handshake status","value":"UNKNOWN","href":"https://www.xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-go-production/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-go-production/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["Trust evidence available"],"agentCard":{"name":"afrexai-go-production","description":"Go Production Engineering","source":"CLAWHUB","sourceId":"clawhub:skills:1kalin:afrexai-go-production","repository":"https://github.com/openclaw/skills/tree/main/skills/1kalin/afrexai-go-production","documentation":"https://www.xpersona.co/agent/clawhub-skills-1kalin-afrexai-go-production","protocols":["OPENCLEW"],"capabilities":["govulncheck"],"languages":["typescript"],"examples":[{"kind":"example","language":"text","snippet":"project-root/\n├── cmd/\n│   ├── api/              # HTTP API binary\n│   │   └── main.go\n│   └── worker/           # Background worker binary\n│       └── main.go\n├── internal/             # Private packages (enforced by Go)\n│   ├── domain/           # Business types & interfaces\n│   │   ├── user.go\n│   │   └── order.go\n│   ├── service/          # Business logic\n│   │   ├── user.go\n│   │   └── user_test.go\n│   ├── repository/       # Data access\n│   │   ├── postgres/\n│   │   └── redis/\n│   ├── handler/          # HTTP/gRPC handlers\n│   │   ├── http/\n│   │   └── grpc/\n│   ├── middleware/        # HTTP middleware\n│   └── config/           # Configuration\n├── pkg/                  # Public packages (use sparingly)\n├── api/                  # OpenAPI specs, proto files\n├── migrations/           # Database migrations\n├── scripts/              # Build/deploy scripts\n├── Makefile\n├── Dockerfile\n├── go.mod\n├── go.sum\n└── .golangci.yml"},{"kind":"example","language":"go","snippet":"// cmd/api/main.go — wire everything here\nfunc main() {\n    cfg := config.MustLoad()\n    \n    // Infrastructure\n    db := postgres.MustConnect(cfg.Database)\n    cache := redis.MustConnect(cfg.Redis)\n    logger := logging.New(cfg.Log)\n    \n    // Repositories\n    userRepo := postgres.NewUserRepository(db)\n    orderRepo := postgres.NewOrderRepository(db)\n    \n    // Services\n    userSvc := service.NewUserService(userRepo, cache, logger)\n    orderSvc := service.NewOrderService(orderRepo, userSvc, logger)\n    \n    // Handlers\n    router := handler.NewRouter(userSvc, orderSvc, logger)\n    \n    // Server\n    srv := &http.Server{\n        Addr:         cfg.Server.Addr,\n        Handler:      router,\n        ReadTimeout:  cfg.Server.ReadTimeout,\n        WriteTimeout: cfg.Server.WriteTimeout,\n        IdleTimeout:  cfg.Server.IdleTimeout,\n    }\n    \n    // Graceful shutdown\n    go func() {\n        if err := srv.ListenAndServe(); err != nil && err != http.ErrServerClosed {\n            logger.Fatal(\"server failed\", \"error\", err)\n        }\n    }()\n    \n    quit := make(chan os.Signal, 1)\n    signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM)\n    <-quit\n    \n    ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)\n    defer cancel()\n    \n    if err := srv.Shutdown(ctx); err != nil {\n        logger.Fatal(\"forced shutdown\", \"error\", err)\n    }\n}"}]}}