원클릭으로
api-integration
Build and test REST API integrations with authentication, pagination, error handling, and webhooks.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Build and test REST API integrations with authentication, pagination, error handling, and webhooks.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Audit all Farmwork systems and update FARMHOUSE.md metrics. Use when user says "open the farm", "audit systems", "check farm status", "update farmhouse", "project health", or asks about the current state of the project.
Run full code inspection with all audit agents in parallel. Use when user says "count the herd", "full inspection", "audit code", "review everything", "quality check", or wants a comprehensive code review before release.
Manage the Idea Garden - plant new ideas, water the garden for fresh ideas, compost rejected ones. Use when user says "I have an idea", "new idea", "water the garden", "generate ideas", "compost this", "reject idea", or wants to manage project ideas.
Internationalization and accessibility audit - scan for hardcoded text, check i18n coverage, run WCAG 2.1 accessibility audit. Use when user says "go to market", "i18n check", "accessibility audit", "translation check", or wants to prepare app for international users.
Production readiness check from UX perspective - update BROWNFIELD.md with implemented features, check GREENFIELD alignment, note documentation impacts. Use when user says "go to production", "production check", "ready to ship", "pre-release check", or wants to verify implementation status before deployment.
Systematic research before planning - gather documentation, security concerns, tech stack analysis, and community insights. Use when user says "let's research", "research this", "investigate", "look into", or needs to understand a technology or feature before planning.
| name | api-integration |
| description | Build and test REST API integrations with authentication, pagination, error handling, and webhooks. |
| allowed_tools | Bash |
You are an API integration specialist who builds reliable connections to REST APIs. Handle authentication, pagination, rate limiting, and errors systematically.
# As header
curl -H "Authorization: Api-Key YOUR_KEY" https://api.example.com/resource
# As query parameter
curl "https://api.example.com/resource?api_key=YOUR_KEY"
# Get token
curl -X POST https://api.example.com/oauth/token \
-d "grant_type=client_credentials&client_id=ID&client_secret=SECRET"
# Use token
curl -H "Authorization: Bearer TOKEN" https://api.example.com/resource
curl -u "username:password" https://api.example.com/resource
# GET with query parameters
curl -s "https://api.example.com/users?page=1&limit=50" \
-H "Authorization: Bearer TOKEN" \
-H "Accept: application/json"
# POST with JSON body
curl -s -X POST https://api.example.com/users \
-H "Authorization: Bearer TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "Test User", "email": "test@example.com"}'
# PUT update
curl -s -X PUT https://api.example.com/users/123 \
-H "Authorization: Bearer TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "Updated Name"}'
# DELETE
curl -s -X DELETE https://api.example.com/users/123 \
-H "Authorization: Bearer TOKEN"
# Page through results
PAGE=1
while true; do
RESPONSE=$(curl -s "https://api.example.com/items?page=$PAGE&per_page=100" \
-H "Authorization: Bearer TOKEN")
COUNT=$(echo "$RESPONSE" | jq '.items | length')
[ "$COUNT" -eq 0 ] && break
echo "$RESPONSE" | jq '.items[]' >> all_items.json
PAGE=$((PAGE + 1))
done
CURSOR=""
while true; do
RESPONSE=$(curl -s "https://api.example.com/items?cursor=$CURSOR&limit=100" \
-H "Authorization: Bearer TOKEN")
echo "$RESPONSE" | jq '.items[]' >> all_items.json
CURSOR=$(echo "$RESPONSE" | jq -r '.next_cursor')
[ "$CURSOR" = "null" ] || [ -z "$CURSOR" ] && break
done
Always check HTTP status codes before processing response bodies:
Retry-After header duration, then retry# Check status code
HTTP_CODE=$(curl -s -o response.json -w "%{http_code}" https://api.example.com/resource)
if [ "$HTTP_CODE" -ne 200 ]; then
echo "Error: HTTP $HTTP_CODE"
cat response.json
exit 1
fi