Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计通过

api-builderAPI 构建器

Agent Skill

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

总安装

336

周安装

14

GitHub Stars

2

下载量

112
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:api-builder(API 构建器)
来源仓库:https://github.com/ajianaz/skills-collection
仓库路径:skills/api-builder
安装命令:
npx skills add https://github.com/ajianaz/skills-collection --skill api-builder
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ajianaz/skills-collection --skill api-builder

简介

提供端到端的 API 开发服务,涵盖设计、文档生成、测试与集成全流程。

  • 适用于构建 RESTful、GraphQL、gRPC 和 WebSocket 等多种协议接口,并生成交互式文档。
  • 使用时需明确协议类型、认证方式和数据格式要求,确保输出符合行业标准。
  • 安装方式:通过 npx skills add 从 GitHub 仓库获取,支持主流 AI 编程工具如 Codex、Claude。
  • 注意:生成的代码应遵循宿主项目的架构风格,避免脱离现有技术栈独立设计。

SKILL.md

API Builder - Complete API Development Workflow

Overview

This skill provides end-to-end API development services by orchestrating API architects, integration specialists, and documentation experts. It transforms API requirements into production-ready APIs with comprehensive design, documentation, testing, and integration capabilities.

Key Capabilities:

  • 🏗️ Multi-Protocol API Design - RESTful APIs, GraphQL, gRPC, and WebSocket implementations
  • 📚 Comprehensive Documentation - Auto-generated API docs, interactive testing, and developer guides
  • 🔧 Integration Architecture - API gateways, middleware, and third-party service integration
  • 📊 API Analytics & Monitoring - Usage tracking, performance monitoring, and error analysis
  • 🛡️ API Security & Governance - Authentication, rate limiting, and API lifecycle management

When to Use This Skill

Perfect for:

  • RESTful API design and implementation
  • GraphQL schema development and resolver implementation
  • API gateway setup and middleware configuration
  • API documentation generation and developer portal creation
  • API integration patterns and third-party service connections
  • API versioning and lifecycle management

Triggers:

  • "Design and implement a REST API for [application]"
  • "Create a GraphQL API with [features]"
  • "Set up an API gateway with [middleware]"
  • "Generate comprehensive API documentation"
  • "Implement API integration with [service]"

API Development Expert Panel

API Architect (API Design & Architecture)

  • Focus: API design patterns, protocol selection, architectural decisions
  • Techniques: RESTful design, GraphQL schema design, API composition
  • Considerations: Scalability, maintainability, developer experience, performance

Integration Specialist (API Integration & Middleware)

  • Focus: API gateways, middleware, third-party integrations
  • Techniques: API composition, service mesh, event-driven architecture
  • Considerations: Latency, reliability, security, monitoring

Documentation Expert (API Documentation & Developer Experience)

  • Focus: API documentation, developer portals, interactive testing
  • Techniques: OpenAPI/Swagger, GraphQL docs, API testing frameworks
  • Considerations: Developer experience, documentation accuracy, discoverability

API Security Specialist (API Security & Governance)

  • Focus: API security, authentication, authorization, governance
  • Techniques: OAuth 2.0, API keys, rate limiting, threat protection
  • Considerations: Security by design, compliance, usability

Performance Engineer (API Optimization & Monitoring)

  • Focus: API performance, caching, monitoring, analytics
  • Techniques: Response optimization, caching strategies, load balancing
  • Considerations: Response times, throughput, resource utilization

API Development Workflow

Phase 1: API Requirements Analysis & Design Planning

Use when: Starting API development or API modernization

Tools Used:

/sc:analyze api-requirements
API Architect: API design requirements and constraints
Integration Specialist: integration points and dependencies
Documentation Expert: documentation requirements and developer needs

Activities:

  • Analyze business requirements and translate to API specifications
  • Identify API protocols and architectural patterns
  • Define API contracts and data models
  • Plan integration points and external dependencies
  • Establish API governance and versioning strategy

Phase 2: API Architecture & Protocol Design

Use when: Designing the API structure and choosing protocols

Tools Used:

/sc:design --type api restful-architecture
/sc:design --type graphql schema
API Architect: comprehensive API design and protocol selection
Integration Specialist: integration architecture and patterns

Activities:

  • Design API architecture and protocol selection (REST/GraphQL/gRPC)
  • Create API specifications and data contracts
  • Design endpoint structures and resource relationships
  • Plan API composition and orchestration patterns
  • Define error handling and response formats

Phase 3: API Implementation & Development

Use when: Writing the actual API code and business logic

Tools Used:

/sc:implement api-endpoints
API Architect: API implementation patterns and best practices
Integration Specialist: middleware and integration implementation
API Security Specialist: security controls and authentication

Activities:

  • Implement API endpoints and business logic
  • Create middleware for authentication, validation, and error handling
  • Implement data validation and serialization
  • Create API versioning and backward compatibility
  • Write unit and integration tests for API endpoints

Phase 4: API Documentation & Developer Experience

Use when: Creating comprehensive API documentation and developer resources

Tools Used:

/sc:implement api-documentation
Documentation Expert: API docs and developer portal creation
API Architect: API specification validation and examples
Integration Specialist: integration guides and SDKs

Activities:

  • Generate OpenAPI/Swagger specifications
  • Create interactive API documentation and testing interfaces
  • Develop SDKs and client libraries
  • Write integration guides and code examples
  • Create developer portal and onboarding materials

Phase 5: API Gateway & Integration Setup

Use when: Setting up API gateway, middleware, and integrations

Tools Used:

/sc:implement api-gateway
Integration Specialist: API gateway configuration and middleware
API Security Specialist: security policies and access control
Performance Engineer: caching, rate limiting, and optimization

Activities:

  • Configure API gateway with routing and policies
  • Implement middleware for authentication, rate limiting, and logging
  • Set up API composition and orchestration
  • Configure caching and performance optimization
  • Implement API monitoring and analytics

Phase 6: API Testing & Quality Assurance

Use when: Ensuring API reliability, performance, and security

Tools Used:

/sc:test api-comprehensive
Performance Engineer: load testing and performance validation
API Security Specialist: security testing and vulnerability assessment
Documentation Expert: documentation accuracy and usability testing

Activities:

  • Implement comprehensive API test suites (unit, integration, E2E)
  • Conduct load testing and performance benchmarking
  • Perform security testing and vulnerability assessment
  • Validate API contracts and documentation accuracy
  • Test error scenarios and recovery mechanisms

Integration Patterns

SuperClaude Command Integration

CommandUse CaseOutput
/sc:design --type apiAPI designComplete API architecture
/sc:implement restfulREST APIProduction-ready REST endpoints
/sc:implement graphqlGraphQL APIGraphQL schema and resolvers
/sc:implement gatewayAPI gatewayConfigured API gateway
/sc:test apiAPI testingComprehensive test suite

API Protocol Integration

ProtocolRoleCapabilities
RESTfulStandard APIHTTP-based REST API with proper semantics
GraphQLFlexible APIFlexible query language and type system
gRPCHigh-performance APIBinary protocol for high-performance scenarios
WebSocketReal-time APIReal-time bidirectional communication

MCP Server Integration

ServerExpertiseUse Case
SequentialAPI reasoningComplex API design and problem-solving
Web SearchAPI patternsLatest API design trends and best practices
FirecrawlAPI testingExternal API integration and testing

Usage Examples

Example 1: Complete REST API Development

User: "Create a complete REST API for an e-commerce platform with user management, products, and orders"

Workflow:
1. Phase 1: Analyze e-commerce API requirements and design constraints
2. Phase 2: Design RESTful API architecture with proper resource modeling
3. Phase 3: Implement API endpoints with authentication and validation
4. Phase 4: Generate comprehensive API documentation and developer portal
5. Phase 5: Set up API gateway with rate limiting and monitoring
6. Phase 6: Test API performance, security, and documentation accuracy

Output: Production-ready e-commerce API with complete documentation and monitoring

Example 2: GraphQL API Implementation

User: "Implement a GraphQL API for a social media platform with real-time features"

Workflow:
1. Phase 1: Analyze GraphQL requirements and schema design needs
2. Phase 2: Design GraphQL schema with types, queries, and mutations
3. Phase 3: Implement resolvers with proper data fetching and caching
4. Phase 4: Create GraphQL documentation with schema explorer
5. Phase 5: Set up GraphQL gateway with subscriptions and real-time features
6. Phase 6: Test GraphQL queries, mutations, and subscription performance

Output: Feature-rich GraphQL API with real-time capabilities and comprehensive documentation

Example 3: API Gateway and Integration

User: "Set up an API gateway to integrate multiple microservices with proper security and monitoring"

Workflow:
1. Phase 1: Analyze integration requirements and service dependencies
2. Phase 2: Design API gateway architecture with routing and policies
3. Phase 3: Implement gateway with authentication, rate limiting, and logging
4. Phase 4: Configure service discovery and load balancing
5. Phase 5: Set up monitoring, analytics, and alerting
6. Phase 6: Test gateway performance, security, and failover mechanisms

Output: Enterprise-grade API gateway with comprehensive security and monitoring

Quality Assurance Mechanisms

Multi-Layer API Validation

  • Design Validation: API architecture and contract validation
  • Implementation Testing: Comprehensive endpoint and integration testing
  • Documentation Accuracy: Documentation validation and developer feedback
  • Performance Testing: Load testing and performance benchmarking

Automated Quality Checks

  • Contract Testing: Automated API contract validation and compliance
  • Security Testing: Automated vulnerability scanning and security assessment
  • Performance Monitoring: Real-time performance tracking and alerting
  • Documentation Testing: Automated documentation accuracy and completeness checks

Continuous API Improvement

  • Usage Analytics: API usage tracking and optimization recommendations
  • Developer Feedback: Developer experience monitoring and improvement
  • Performance Optimization: Continuous performance monitoring and optimization
  • Security Monitoring: Ongoing security assessment and threat protection

Output Deliverables

Primary Deliverable: Complete API System

api-system/
├── endpoints/
│   ├── controllers/              # API endpoint implementations
│   ├── middleware/               # Authentication, validation, error handling
│   ├── routes/                   # API routing and endpoint definitions
│   └── validators/               # Request/response validation
├── schemas/
│   ├── openapi/                  # OpenAPI/Swagger specifications
│   ├── graphql/                  # GraphQL schemas and resolvers
│   ├── models/                   # Data models and DTOs
│   └── contracts/                # API contracts and interfaces
├── documentation/
│   ├── api-docs/                 # Interactive API documentation
│   ├── developer-portal/          # Developer portal and guides
│   ├── examples/                 # Code examples and tutorials
│   └── sdks/                     # Client libraries and SDKs
├── gateway/
│   ├── config/                   # API gateway configuration
│   ├── policies/                 # Gateway policies and rules
│   ├── middleware/               # Custom gateway middleware
│   └── monitoring/               # Gateway monitoring and analytics
├── tests/
│   ├── unit/                     # Unit tests for API endpoints
│   ├── integration/              # Integration tests for API interactions
│   ├── contract/                 # API contract tests
│   └── performance/              # Load and performance tests
└── config/
    ├── development/              # Development environment configuration
    ├── staging/                  # Staging environment configuration
    └── production/               # Production environment configuration

Supporting Artifacts

  • API Specifications: Complete OpenAPI/Swagger and GraphQL schemas
  • Documentation Portal: Interactive API documentation and developer guides
  • SDKs and Clients: Client libraries for multiple programming languages
  • Integration Guides: Step-by-step integration instructions and examples
  • Performance Reports: API performance benchmarks and optimization recommendations

Advanced Features

Intelligent API Design

  • AI-powered API design recommendations and optimization
  • Automatic API contract generation and validation
  • Intelligent endpoint grouping and organization
  • Automated API versioning and migration strategies

Advanced API Gateway

  • Service mesh integration with advanced routing
  • AI-driven API composition and orchestration
  • Dynamic policy enforcement and adaptation
  • Real-time API analytics and optimization

Developer Experience Enhancement

  • Interactive API testing and exploration
  • Automated SDK generation for multiple languages
  • Real-time collaboration and API design tools
  • Comprehensive onboarding and learning resources

API Analytics and Intelligence

  • Advanced usage analytics and insights
  • Performance prediction and optimization
  • Anomaly detection and alerting
  • Business intelligence integration

Troubleshooting

Common API Development Challenges

  • Design Issues: Use proper API design patterns and architectural principles
  • Integration Problems: Implement clear contracts and proper error handling
  • Performance Bottlenecks: Optimize queries, implement caching, and use proper indexing
  • Documentation Gaps: Use automated documentation generation and regular updates

API Gateway and Integration Issues

  • Routing Problems: Use proper gateway configuration and service discovery
  • Security Issues: Implement comprehensive authentication and authorization
  • Performance Issues: Optimize gateway configuration and implement proper caching
  • Monitoring Gaps: Implement comprehensive logging, monitoring, and alerting

Best Practices

For API Design

  • Follow RESTful principles or GraphQL best practices
  • Design for scalability and maintainability
  • Use proper HTTP status codes and error handling
  • Implement proper versioning and backward compatibility

For API Implementation

  • Use proper authentication and authorization mechanisms
  • Implement comprehensive input validation and sanitization
  • Use proper error handling and logging
  • Write comprehensive tests and documentation

For API Documentation

  • Use OpenAPI/Swagger for REST APIs
  • Create interactive documentation with examples
  • Provide clear integration guides and SDKs
  • Keep documentation updated and accurate

For API Gateway Configuration

  • Implement proper security policies and rate limiting
  • Use comprehensive logging and monitoring
  • Configure proper load balancing and failover
  • Implement caching and optimization strategies

This API builder skill transforms the complex process of API development into a guided, expert-supported workflow that ensures well-designed, well-documented, and production-ready APIs with comprehensive integration and monitoring capabilities.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

40.54%
按下载量换算45

Claude

28.23%
按下载量换算32

Cursor

17.68%
按下载量换算20

Gemini CLI

10.02%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills