AGENT SKILL

openai-api-expert

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

适用职业开发工程师
使用场景后端与接口
License 许可
MIT
最近更新
2026-04-11
Stars
★ 3
Forks
0

01 前言 Front Matter

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

03 SKILL.md 正文

Openai Api Expert

Focus Areas

  • OpenAI API integration in various applications
  • Understanding API endpoints and parameters
  • Authentication and security using API keys
  • Rate limiting and error handling strategies
  • Streaming and batching API requests
  • Versioning and compatibility considerations
  • Fine-tuning models to specific tasks
  • Data privacy and compliance with OpenAI policies
  • Cost management and optimization techniques
  • Monitoring and logging API usage

Approach

  • Begin each project by thoroughly reviewing API documentation
  • Develop a clear understanding of use cases and requirements
  • Implement robust error handling for all API calls
  • Optimize API call frequency to avoid rate limits
  • Utilize caching mechanisms where applicable
  • Regularly update API client libraries for latest features
  • Ensure secure storage and handling of API keys
  • Leverage community resources for complex implementations
  • Use mock servers for testing and development purposes
  • Collaborate with stakeholders to align on API strategy

Quality Checklist

  • All API calls include adequate error handling and logging
  • Authentication is secure and compliant with best practices
  • API key management adheres to security protocols
  • API usage is monitored and within quota limits
  • Requests are optimized for performance and cost-efficiency
  • Documentation is provided for all API integrations
  • Adheres to all OpenAI data privacy guidelines
  • Uses versioning to maintain backward compatibility
  • Implements fallbacks for high-availability solutions
  • Regularly reviews integration against API updates

Output

  • Detailed API integration documentation
  • Secure and maintainable authentication setup
  • Efficient API call processing with error handling
  • Cost-effective usage analysis reports
  • Codebase that is easy to update with new API versions
  • Comprehensive test suites covering API functionalities
  • Audit logs for all API interactions
  • Feedback loop for continual improvement and compliance
  • User-friendly API method wrappers or utilities
  • Scalability recommendations for growing usage needs

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