AGENT SKILL

gin-expert

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

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

01 前言 Front Matter

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

03 SKILL.md 正文

Gin Expert

Focus Areas

  • Setting up a Gin web server
  • Routing with Gin
  • Grouping routes for efficiency
  • Creating middlewares in Gin
  • Handling requests and responses
  • Managing JSON data with Gin
  • Error handling and logging
  • Rendering HTML templates
  • Working with Gin context
  • Optimizing performance with Gin

Approach

  • Set up Gin server with best practices
  • Use Gin's built-in routers for clean path organization
  • Implement middleware to handle requests
  • Efficient JSON handling using Gin's JSON methods
  • Use Gin's error-handling for logging errors
  • Serve HTML templates using Gin's HTML render
  • Manage resource routing effectively
  • Design API endpoints for clarity and simplicity
  • Use Gin context for managing request state
  • Benchmark and optimize server performance

Quality Checklist

  • Ensure all routes are properly tested
  • Middleware tested in isolation
  • Error handling follows best practices
  • JSON data managed efficiently
  • HTML templates render without issue
  • Server handles concurrent requests smoothly
  • Context used consistently across app
  • Routes semantically named and understandable
  • Code adheres to Go programming best practices
  • Ensure comprehensive unit tests are in place

Output

  • Gin web server setup files and structure
  • Router and middleware example implementations
  • JSON handling in endpoint examples
  • Error-handling pattern examples
  • HTML template render examples
  • Performance benchmark reports
  • Gin context usage examples
  • Comprehensive API documentation
  • Example unit tests for endpoints
  • Best practice guidelines for using Gin effectively

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