Crawler Summary

golang-best-practices answer-first brief

Comprehensive Go code review meta-skill. Coordinates 5 specialized domain skills. For targeted reviews, use domain-specific skills (concurrency-safety, clean-architecture). For full audits, use this meta-skill. --- name: golang-best-practices description: Comprehensive Go code review meta-skill. Coordinates 5 specialized domain skills. For targeted reviews, use domain-specific skills (concurrency-safety, clean-architecture). For full audits, use this meta-skill. license: MIT metadata: author: saifoelloh version: "2.0.0" skill_type: meta sub_skills: - concurrency-safety - clean-architecture - error-handling - design-patterns Published capability contract available. No trust telemetry is available yet. 4 GitHub stars reported by the source. Last updated 3/1/2026.

Freshness

Last checked 3/1/2026

Best For

Contract is available with explicit auth and schema references.

Not Ideal For

golang-best-practices is not ideal for teams that need stronger public trust telemetry, lower setup complexity, or more explicit contract coverage before production rollout.

Evidence Sources Checked

editorial-content, capability-contract, runtime-metrics, public facts pack

Claim this agent
Agent DossierGitHubSafety: 89/100

golang-best-practices

Comprehensive Go code review meta-skill. Coordinates 5 specialized domain skills. For targeted reviews, use domain-specific skills (concurrency-safety, clean-architecture). For full audits, use this meta-skill. --- name: golang-best-practices description: Comprehensive Go code review meta-skill. Coordinates 5 specialized domain skills. For targeted reviews, use domain-specific skills (concurrency-safety, clean-architecture). For full audits, use this meta-skill. license: MIT metadata: author: saifoelloh version: "2.0.0" skill_type: meta sub_skills: - concurrency-safety - clean-architecture - error-handling - design-patterns

OpenClawself-declared

Public facts

7

Change events

1

Artifacts

0

Freshness

Mar 1, 2026

Verifiededitorial-contentNo verified compatibility signals4 GitHub stars

Published capability contract available. No trust telemetry is available yet. 4 GitHub stars reported by the source. Last updated 3/1/2026.

4 GitHub starsSchema refs publishedTrust evidence available

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Mar 1, 2026

Vendor

Saifoelloh

Artifacts

0

Benchmarks

0

Last release

Unpublished

Executive Summary

Key links, install path, and a quick operational read before the deeper crawl record.

Verifiededitorial-content

Summary

Published capability contract available. No trust telemetry is available yet. 4 GitHub stars reported by the source. Last updated 3/1/2026.

Setup snapshot

git clone https://github.com/saifoelloh/golang-best-practices-skill.git
  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence Ledger

Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.

Verifiededitorial-content
Vendor (1)

Vendor

Saifoelloh

profilemedium
Observed Mar 1, 2026Source linkProvenance
Compatibility (2)

Protocol compatibility

OpenClaw

contractmedium
Observed Feb 24, 2026Source linkProvenance

Auth modes

api_key

contracthigh
Observed Feb 24, 2026Source linkProvenance
Artifact (1)

Machine-readable schemas

OpenAPI or schema references published

contracthigh
Observed Feb 24, 2026Source linkProvenance
Adoption (1)

Adoption signal

4 GitHub stars

profilemedium
Observed Mar 1, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Release & Crawl Timeline

Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.

Self-declaredagent-index

Artifacts Archive

Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.

Self-declaredGITHUB OPENCLEW

Extracted files

0

Examples

6

Snippets

0

Languages

typescript

Parameters

Executable Examples

text

rules/critical-error-wrapping.md
rules/high-pointer-receiver.md

text

Review this Go file for anti-patterns and suggest improvements

text

Check this code for concurrency issues (CRITICAL level)

text

Verify this service follows Clean Architecture principles

text

Find performance issues in this Go code

text

## Critical Issues Found: X

### [Rule Name] (Line Y)
**Issue**: Brief description
**Fix**: Suggested correction
**Example**:

Docs & README

Full documentation captured from public sources, including the complete README when available.

Self-declaredGITHUB OPENCLEW

Docs source

GITHUB OPENCLEW

Editorial quality

ready

Comprehensive Go code review meta-skill. Coordinates 5 specialized domain skills. For targeted reviews, use domain-specific skills (concurrency-safety, clean-architecture). For full audits, use this meta-skill. --- name: golang-best-practices description: Comprehensive Go code review meta-skill. Coordinates 5 specialized domain skills. For targeted reviews, use domain-specific skills (concurrency-safety, clean-architecture). For full audits, use this meta-skill. license: MIT metadata: author: saifoelloh version: "2.0.0" skill_type: meta sub_skills: - concurrency-safety - clean-architecture - error-handling - design-patterns

Full README

name: golang-best-practices description: Comprehensive Go code review meta-skill. Coordinates 5 specialized domain skills. For targeted reviews, use domain-specific skills (concurrency-safety, clean-architecture). For full audits, use this meta-skill. license: MIT metadata: author: saifoelloh version: "2.0.0" skill_type: meta sub_skills: - concurrency-safety - clean-architecture - error-handling - design-patterns - idiomatic-go sources: - "Learning Go: An Idiomatic Approach (Jon Bodner)" - "Concurrency in Go (Katherine Cox-Buday)" - "Clean Architecture (Robert C. Martin)" - "Refactoring (Martin Fowler)" - "Design Patterns (Gang of Four)" - "Refactoring.Guru" last_updated: "2026-01-22"

Golang Best Practices (Meta-Skill)

Comprehensive Go code review skill coordinating 5 specialized domain skills for complete code audits.

[!NOTE] v2.0.0 Update: This skill now coordinates multiple focused domain skills. Use specific skills for targeted reviews or this meta-skill for comprehensive audits.

Available Skills

1. Concurrency Safety

12 rules | Goroutines, channels, race conditions, deadlocks
Status: Active (v2.0.0)

Use when:

  • Reviewing code with goroutines or channels
  • Debugging race conditions or deadlocks
  • Auditing concurrent data access

Trigger phrases: "Check for race conditions", "Review concurrency", "Find goroutine leaks"

2. Clean Architecture

9 rules | Layer separation, dependency rules, gRPC patterns
Status: Active (v2.0.0)

Use when:

  • Auditing service architecture
  • Reviewing layered architecture compliance
  • Ensuring proper dependency injection

Trigger phrases: "Audit architecture", "Check layer dependencies", "Review Clean Architecture"

3. Error Handling

7 rules | Error wrapping, context, nil checks
Status: Active (v2.0.0)

Use when:

  • Reviewing error propagation
  • Checking context usage
  • Auditing error handling patterns

Trigger phrases: "Review error handling", "Check error wrapping", "Verify context propagation"

4. Design Patterns

13 rules | Code smells, refactoring, Gang of Four patterns
Status: Active (v2.0.0)

Use when:

  • Refactoring complex code
  • Reducing technical debt
  • Applying design patterns

Trigger phrases: "Refactor this code", "Reduce complexity", "Apply design patterns"

5. Idiomatic Go

6 rules | Go-specific idioms, interfaces, pointers
Status: Active (v2.0.0)

Use when:

  • Ensuring idiomatic Go style
  • Reviewing interface usage
  • Optimizing pointer usage

Trigger phrases: "Is this idiomatic Go?", "Review Go style", "Check interface design"

When to Use This Meta-Skill

Use this meta-skill for:

  • Complete codebase audits
  • Pre-production reviews
  • Unknown issue categories
  • Comprehensive refactoring

For targeted reviews, use specific skills above (e.g., just concurrency-safety or clean-architecture).

Rule Categories by Priority

| Priority | Category | Impact | Prefix | Rule Count | |----------|----------|--------|--------|------------| | 1 | Critical Issues | CRITICAL | critical- | 8 | | 2 | High-Impact Patterns | HIGH | high- | 14 | | 3 | Medium Improvements | MEDIUM | medium- | 21 | | 4 | Architecture | ARCHITECTURE | arch- | 5 |

Quick Reference

1. Critical Issues (CRITICAL)

These prevent bugs, crashes, and production failures

  • critical-error-wrapping - Use %w for error wrapping, not %v
  • critical-defer-in-loop - Avoid defer in loops (resource leaks)
  • critical-context-leak - Always defer cancel() after context creation
  • critical-error-shadow - Don't shadow err variable in nested scopes
  • critical-goroutine-leak - Goroutines must have exit conditions
  • critical-race-condition - Protect shared state with mutex/channels
  • critical-channel-deadlock - Ensure paired send/receive operations
  • critical-close-panic - Sender closes channel, not receiver

2. High-Impact Patterns (HIGH)

Reliability and correctness improvements

  • high-pointer-receiver - Use pointer receivers for mutations
  • high-context-propagation - Propagate context through call chain
  • high-error-is-as - Use errors.Is/As instead of ==
  • high-interface-nil - Check interface nil correctly
  • high-goroutine-unbounded - Limit concurrent goroutines (worker pool)
  • high-channel-not-closed - Always close channels when done
  • high-loop-variable-capture - Avoid closure over loop variables
  • high-waitgroup-mismatch - Match Add() and Done() calls
  • high-business-logic-handler - Keep delivery layer thin
  • high-business-logic-repository - No business logic in data layer
  • high-constructor-creates-deps - Inject dependencies, don't create
  • high-transaction-in-repository - Transactions belong in usecase
  • high-god-object - Extract logic from 300+ line functions
  • high-extract-method - Name complex code blocks with descriptive methods

3. Medium Improvements (MEDIUM)

Code quality and idioms

  • medium-interface-pollution - Keep interfaces small (<5 methods)
  • medium-accept-interface-return-struct - API flexibility pattern
  • medium-pointer-overuse - Don't overuse pointers for small types
  • medium-directional-channels - Use send/receive-only channels
  • medium-buffered-channel-size - Choose appropriate buffer size
  • medium-select-default - Avoid busy-wait with select
  • medium-fat-interface - Split large interfaces
  • medium-usecase-complexity - Move business logic to domain entities
  • medium-interface-in-implementation - Define interfaces where used
  • medium-sentinel-error-usage - Use sentinel errors for stable categories
  • medium-primitive-obsession - Replace primitives with value objects
  • medium-long-parameter-list - Use parameter objects for >5 params
  • medium-data-clumps - Extract repeated parameter groups
  • medium-feature-envy - Move logic closer to data
  • medium-magic-constants - Replace magic numbers with named constants
  • medium-builder-pattern - Fluent API for complex construction
  • medium-factory-constructor - Validated object creation
  • medium-introduce-parameter-object - Group related parameters
  • medium-switch-to-strategy - Replace type switches with interfaces
  • medium-middleware-decorator - Decorator pattern for http.Handler
  • medium-law-of-demeter - Reduce coupling, avoid message chains

4. Architecture (ARCHITECTURE)

Clean Architecture compliance for gRPC/usecase/repository pattern

  • arch-domain-import-infra - Domain must not import infrastructure
  • arch-concrete-dependency - Depend on interfaces, not concrete types
  • arch-repository-business-logic - Repositories do CRUD only
  • arch-usecase-orchestration - Usecases orchestrate, entities decide
  • arch-interface-segregation - Small, consumer-defined interfaces

How to Use

For Code Review

  1. Read the code file(s)
  2. Check against rules in priority order (Critical first)
  3. For each violation found, reference the specific rule file
  4. Provide exact line numbers and explanation
  5. Show corrected code example

For Refactoring

  1. Identify code smells matching detection patterns
  2. Apply fixes from corresponding rule files
  3. Verify no regressions introduced
  4. Run tests to confirm correctness

Accessing Detailed Rules

Each rule file contains:

  • Brief explanation of why it matters
  • Detection criteria (how to spot the issue)
  • Incorrect code example with explanation
  • Correct code example with explanation
  • Impact assessment
  • Additional context and references

Example:

rules/critical-error-wrapping.md
rules/high-pointer-receiver.md

Reference Guides

For deep dives on specific topics:

  • references/concurrency-deep-dive.md - Comprehensive concurrency patterns
  • references/error-handling-guide.md - Complete error handling strategies
  • references/testing-strategies.md - Go testing best practices

Common Usage Patterns

Review entire file:

Review this Go file for anti-patterns and suggest improvements

Focus on specific category:

Check this code for concurrency issues (CRITICAL level)

Architecture audit:

Verify this service follows Clean Architecture principles

Performance optimization:

Find performance issues in this Go code

Trigger Phrases

For comprehensive audits (uses this meta-skill):

  • "Review my Go code"
  • "Check this Golang file"
  • "Find Go anti-patterns"
  • "Audit this Go service"

For domain-specific reviews (uses specific skills):

  • "Check for race conditions" → concurrency-safety
  • "Audit architecture" → clean-architecture
  • "Review error handling" → error-handling
  • "Refactor this code" → design-patterns
  • "Is this idiomatic Go?" → idiomatic-go

Best Practices Philosophy

Based on research from authoritative sources:

Jon Bodner's Principles:

  • Go is deliberately simple and explicit
  • "Boring" code is good code - predictable and maintainable
  • Understand the "why" behind language features
  • Idiomatic Go prioritizes clarity over cleverness

Katherine Cox-Buday's Guidelines:

  • Concurrency is not parallelism
  • Channels are for communication, mutexes are for state
  • Always have exit conditions for goroutines
  • Context is the standard way to propagate cancellation

Clean Architecture (Uncle Bob):

  • Dependencies point inward toward business logic
  • Domain layer has no external dependencies
  • Interfaces defined by consumers, not producers
  • Separation of concerns across layers

Output Format

When reviewing code, use this format:

## Critical Issues Found: X

### [Rule Name] (Line Y)
**Issue**: Brief description
**Fix**: Suggested correction
**Example**:
```go
// Corrected code here

Medium Improvements: X

[Similar format for medium priority items]


## Notes

- Rules are evidence-based from authoritative Go books
- Detection patterns help identify issues programmatically
- All rules include working code examples
- Tailored for gRPC/usecase/repository architecture patterns

Contract & API

Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.

Verifiedcapability-contract

Contract coverage

Status

ready

Auth

api_key

Streaming

No

Data region

global

Protocol support

OpenClaw: self-declared

Requires: openclew, lang:typescript

Forbidden: none

Guardrails

Operational confidence: medium

Contract is available with explicit auth and schema references.
Trust confidence is not low and verification freshness is acceptable.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/saifoelloh-golang-best-practices-skill/snapshot"
curl -s "https://xpersona.co/api/v1/agents/saifoelloh-golang-best-practices-skill/contract"
curl -s "https://xpersona.co/api/v1/agents/saifoelloh-golang-best-practices-skill/trust"

Reliability & Benchmarks

Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.

Missingruntime-metrics

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

No benchmark suites or observed failure patterns are available.

Media & Demo

Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.

Missingno-media
No screenshots, media assets, or demo links are available.

Related Agents

Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.

Self-declaredprotocol-neighbors
GITHUB_REPOSactivepieces

Rank

70

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

Traction

No public download signal

Freshness

Updated 2d ago

OPENCLAW
GITHUB_REPOScherry-studio

Rank

70

AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs

Traction

No public download signal

Freshness

Updated 6d ago

MCPOPENCLAW
GITHUB_REPOSAionUi

Rank

70

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

Traction

No public download signal

Freshness

Updated 6d ago

MCPOPENCLAW
GITHUB_REPOSCopilotKit

Rank

70

The Frontend for Agents & Generative UI. React + Angular

Traction

No public download signal

Freshness

Updated 23d ago

OPENCLAW
Machine Appendix

Contract JSON

{
  "contractStatus": "ready",
  "authModes": [
    "api_key"
  ],
  "requires": [
    "openclew",
    "lang:typescript"
  ],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": "https://github.com/saifoelloh/golang-best-practices-skill#input",
  "outputSchemaRef": "https://github.com/saifoelloh/golang-best-practices-skill#output",
  "dataRegion": "global",
  "contractUpdatedAt": "2026-02-24T19:45:33.854Z",
  "sourceUpdatedAt": "2026-02-24T19:45:33.854Z",
  "freshnessSeconds": 4438271
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/saifoelloh-golang-best-practices-skill/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/saifoelloh-golang-best-practices-skill/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/saifoelloh-golang-best-practices-skill/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/saifoelloh-golang-best-practices-skill/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/saifoelloh-golang-best-practices-skill/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/saifoelloh-golang-best-practices-skill/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_OPENCLEW",
      "generatedAt": "2026-04-17T04:36:45.395Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile"
}

Facts JSON

[
  {
    "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": "Saifoelloh",
    "href": "https://github.com/saifoelloh/golang-best-practices-skill",
    "sourceUrl": "https://github.com/saifoelloh/golang-best-practices-skill",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-03-01T06:05:24.408Z",
    "isPublic": true
  },
  {
    "factKey": "traction",
    "category": "adoption",
    "label": "Adoption signal",
    "value": "4 GitHub stars",
    "href": "https://github.com/saifoelloh/golang-best-practices-skill",
    "sourceUrl": "https://github.com/saifoelloh/golang-best-practices-skill",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-03-01T06:05:24.408Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "href": "https://xpersona.co/api/v1/agents/saifoelloh-golang-best-practices-skill/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/saifoelloh-golang-best-practices-skill/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-02-24T19:45:33.854Z",
    "isPublic": true
  },
  {
    "factKey": "auth_modes",
    "category": "compatibility",
    "label": "Auth modes",
    "value": "api_key",
    "href": "https://xpersona.co/api/v1/agents/saifoelloh-golang-best-practices-skill/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/saifoelloh-golang-best-practices-skill/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:45:33.854Z",
    "isPublic": true
  },
  {
    "factKey": "schema_refs",
    "category": "artifact",
    "label": "Machine-readable schemas",
    "value": "OpenAPI or schema references published",
    "href": "https://github.com/saifoelloh/golang-best-practices-skill#input",
    "sourceUrl": "https://xpersona.co/api/v1/agents/saifoelloh-golang-best-practices-skill/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:45:33.854Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/saifoelloh-golang-best-practices-skill/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/saifoelloh-golang-best-practices-skill/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub · GitHub",
    "description": "Fresh crawlable documentation was indexed for 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
  }
]

Sponsored

Ads related to golang-best-practices and adjacent AI workflows.