外部 API 连接与集成
api-connector
连接外部 API、处理响应数据并构建集成。 触发条件 - 当用户想要连接 API、构建集成或处理 API 数据时使用。
- License 许可
- MIT
- 最近更新
- 2026-11-09
- Stars
- ★ 38
- Forks
- 5
01 前言 Front Matter
- name
- api-connector
- description
- Connect to external APIs, process responses, and build integrations. TRIGGERS - Use when user wants to connect APIs, build integrations, or process API data.
02 资源文件 1
- 参考文档references/integration.md771 B
03 SKILL.md 正文
API Connector
Overview
Designs and implements API integrations including authentication, request formatting, response parsing, and error handling.
Workflow
Step 1: Define the Integration
- API: Which service are you connecting to?
- Purpose: What data do you need or what action to trigger?
- Direction: Read data, write data, or both?
- Platform: Where is this running? (n8n, Make, Zapier, custom code)
- Frequency: One-time, on-demand, or scheduled?
Step 2: Map the Integration
[SOURCE] → [API Call] → [PROCESS] → [DESTINATION]
Step 3: Build the Connection
For each API call, document:
## API Call: [Name]
### Endpoint
`[METHOD] [URL]`
### Authentication
- **Type**: [API key, OAuth2, Bearer token]
- **Setup**: [How to get credentials]
### Request
**Headers:**
```json
{
"Authorization": "Bearer {{API_KEY}}",
"Content-Type": "application/json"
}
Body (if POST/PUT):
{
"field": "{{value}}"
}
Response
Success (200):
{
"data": { ... }
}
Fields to extract:
| Field | Path | Use |
|---|---|---|
| [name] | response.data.name | [purpose] |
Error Handling
| Status | Meaning | Action |
|---|---|---|
| 400 | Bad request | Check input format |
| 401 | Unauthorized | Refresh token |
| 429 | Rate limited | Wait and retry |
| 500 | Server error | Retry with backoff |
## Output Format
Complete integration documentation with code samples for the user's platform.
## Quality Checklist
- [ ] Authentication method documented
- [ ] Request format with examples
- [ ] Response parsing specified
- [ ] Error handling for common status codes
- [ ] Rate limiting considered
- [ ] Test endpoint provided
04 同仓库更多 Skills
commercial-piloting-troubleshooting-guide
Diagnose and resolve common problems a commercial pilot meets in cockpits and flight operations. TRIGGERS - Use when a commercial pilot needs a troubleshooting & problem solving for airlines, passengers and cargo customers in cockpits and flight operations.
commercial-piloting-tools-equipment-checklist
Select, check and maintain the tools and equipment a commercial pilot relies on. TRIGGERS - Use when a commercial pilot needs a tools & equipment checklist for airlines, passengers and cargo customers in cockpits and flight operations.
commercial-piloting-supplies-procurement
Specify, source and manage the supplies and materials used in cockpits and flight operations. TRIGGERS - Use when a commercial pilot needs a supplies & procurement for airlines, passengers and cargo customers in cockpits and flight operations.
commercial-piloting-stakeholder-presentation
Present commercial pilot findings and proposals to decision-makers and stakeholders. TRIGGERS - Use when a commercial pilot needs a stakeholder presentation for airlines, passengers and cargo customers in cockpits and flight operations.
commercial-piloting-session-delivery
Prepare for and deliver a professional session or appointment for airlines, passengers and cargo customers in cockpits and flight operations. TRIGGERS - Use when a commercial pilot needs a session delivery guide for airlines, passengers and cargo customers in cockpits and flight operations.
commercial-piloting-service-plan
Design a realistic, measurable service plan for airlines, passengers and cargo customers as a commercial pilot. TRIGGERS - Use when a commercial pilot needs a service plan design for airlines, passengers and cargo customers in cockpits and flight operations.