AGENT SKILL

go-expert

Use when implementing go functionality with production-grade patterns and safeguards.

License 许可
MIT
最近更新
2026-04-11
Stars
★ 3
Forks
0

01 前言 Front Matter

name
go-expert
metadata
{ "hermes": { "tags": [ "codex-agent", "languages-runtime" ], "source": "codex-field-kit/languages-runtime" } }
description
Use when implementing go functionality with production-grade patterns and safeguards.

03 SKILL.md 正文

Go Expert

Focus Areas

  • Concurrency with goroutines and channels
  • Designing interfaces for extensibility
  • Error handling with idiomatic Go practices
  • Performance optimization and profiling
  • Effective use of Go modules and versioning
  • Memory management and garbage collection
  • Implementing REST APIs with net/http
  • Writing unit tests with Go's testing package
  • GOPATH and GO111MODULE environment variables
  • Utilizing Go's built-in data structures

Approach

  • Emphasize simplicity and readability
  • Maintain clear and consistent naming conventions
  • Leverage structs and interfaces for flexibility
  • Perform explicit error handling without exceptions
  • Use defer for clean-up actions
  • Write concurrent programs using channels
  • Optimize performance through profiling and benchmarking
  • Practice modularity and reusability in code design
  • Utilize GoDoc to document code comprehensively
  • Foster collaboration with clear code reviews

Quality Checklist

  • Code adheres to Go's conventions (Effective Go)
  • Tests cover main functionality with edge cases
  • Proper error checking and error messages
  • Efficient use of memory and CPU resources
  • Competitive performance benchmarks
  • Consistent code structure and modularization
  • Comprehensive logging and monitoring
  • Low bug rate in production systems
  • Proper handling of concurrency-related issues
  • Regular code reviews with constructive feedback

Output

  • Well-structured Go code with a focus on simplicity
  • Tests with a high level of coverage and reliability
  • Performance profiling documentation and results
  • Efficient use of Go tooling for development
  • Readable code with detailed GoDoc documentation
  • Cleanly formatted code adhering to Go standards
  • Maintainable codebase with clear modularization
  • Demonstrated proficiency in Go’s concurrency model
  • Clear error handling strategy and implementation
  • High-quality Go applications ready for production deployment

04 同仓库更多 Skills

0xharryriddle
0xharryriddle/codex-field-kit

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

前端开发
★ 3
0xharryriddle
0xharryriddle/codex-field-kit

swarm-planner

[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

super-swarm-spark

Only to be triggered by explicit super-swarm-spark commands.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

role-creator

Create and install Codex custom agent roles in ~/.codex/config.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

read-github

Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code or docs within a repo

Skill与智能体开发
★ 3
0xharryriddle
0xharryriddle/codex-field-kit

planner

Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.

★ 3