Go Skills

🌐Community
by llama-farm · vlatest · Repository

Automatically identifies and suggests relevant skills to enhance task completion within llama-farm agents.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add go-skills npx -- -y @trustedskills/go-skills
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "go-skills": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/go-skills"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill provides a collection of shared Go best practices specifically tailored for development within the LlamaFarm CLI environment. It offers guidelines to ensure idiomatic, maintainable, and secure Go code through documentation and examples covering error handling, concurrency, testing, and security considerations. The skill also illustrates common patterns used in the codebase, such as HTTP client interfaces, process management with mutexes, Cobra command structures, and Bubbletea model implementations.

When to use it

  • When developing new commands or features for the LlamaFarm CLI.
  • To ensure code adheres to established Go best practices within the LlamaFarm ecosystem.
  • For guidance on implementing secure coding techniques in LlamaFarm CLI projects.
  • As a reference for understanding common architectural patterns used in existing LlamaFarm CLI components.

Key capabilities

  • Error Handling Guidance: Provides advice on error wrapping with context and using sentinel errors.
  • Concurrency Patterns: Demonstrates the use of sync.Mutex, sync.RWMutex, and channels for goroutine communication.
  • Testing Best Practices: Covers table-driven tests, interface usage for mockability, and testing file naming conventions.
  • Security Recommendations: Includes guidelines on avoiding credential logging, input validation, and using context for cancellation.
  • Code Pattern Examples: Illustrates the implementation of HTTP client interfaces, process management with mutexes, Cobra commands, and Bubbletea models.

Example prompts

  • "Show me how to properly handle errors in LlamaFarm CLI code."
  • "What's the recommended way to manage concurrent processes within a LlamaFarm command?"
  • "Give me an example of a table-driven test for a LlamaFarm CLI function."
  • "How should I structure a new Cobra command in my LlamaFarm project?"

Tips & gotchas

  • This skill focuses on best practices within the context of the LlamaFarm CLI. It may not be universally applicable to all Go development.
  • The skill references specific frameworks like Cobra and Bubbletea; familiarity with these is helpful for understanding the examples.
  • Review the provided checklist files (patterns.md, concurrency.md, etc.) for detailed guidance on each topic.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
llama-farm
Installs
39

🌐 Community

Passed automated security scans.