Production-ready patterns for authenticating, transforming, and reliably integrating third-party APIs.
Works with
Covers authentication methods including API keys, OAuth 2.0, and JWT with secure credential management
Provides structured error handling, exponential backoff retry logic, and client-side rate limiting with configurable windows
Includes webhook verification via HMAC signatures, request/response transformation, and pagination handling patterns
Demonstrates REST client patterns, ti
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionapi-integration-specialistExecute the skills CLI command in your project's root directory to begin installation:
Fetches api-integration-specialist from davila7/claude-code-templates and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate api-integration-specialist. Access via /api-integration-specialist in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
24.2K
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
24.2K
stars
Expert guidance for integrating external APIs into applications with production-ready patterns, security best practices, and comprehensive error handling.
Use this skill when:
API Key Management:
// Store keys in environment variables, never in code
const apiClient = new APIClient({
apiKey: process.env.SERVICE_API_KEY,
baseURL: process.env.SERVICE_BASE_URL
});
OAuth 2.0 Flow:
// Authorization Code Flow
const oauth = new OAuth2Client({
clientId: process.env.CLIENT_ID,
clientSecret: process.env.CLIENT_SECRET,
redirectUri: process.env.REDIRECT_URI,
scopes: ['read:users', 'write:data']
});
// Get authorization URL
const authUrl = oauth.getAuthorizationUrl();
// Exchange code for tokens
const tokens = await oauth.exchangeCode(code);
Standardized Request Structure:
async function makeRequest(endpoint, options = {}) {
const defaultHeaders = {
'Content-Type': 'application/json',
'Authorization': `Bearer ${apiKey}`,
'User-Agent': 'MyApp/1.0.0'
};
const response = await fetch(`${baseURL}${endpoint}`, {
...options,
headers: { ...defaultHeaders, ...options.headers }
});
if (!response.ok) {
throw new APIError(response.status, await response.json());
}
return response.json();
}
Response Transformation:
class APIClient {
async getUser(userId) {
const raw = await this.request(`/users/${userId}`);
// Transform external API format to internal model
return {
id: raw.user_id,
email: raw.email_address,
name: `${raw.first_name} ${raw.last_name}`,
createdAt: new Date(raw.created_timestamp)
};
}
}
Structured Error Types:
class APIError extends Error {
constructor(status, body) {
super(`API Error: ${status}`);
this.status = status;
this.body = body;
this.isAPIError = true;
}
isRateLimited() {
return this.status === 429;
}
isUnauthorized() {
return this.status === 401;
}
isServerError() {
return this.status >= 500;
}
}
Retry Logic with Exponential Backoff:
async function retryWithBackoff(fn, maxRetries = 3) {
for (let i = 0; i < maxRetries; i++) {
try {
return await fn();
} catch (error) {
if (!error.isAPIError || !error.isServerError()) {
throw error; // Don't retry client errors
}
if (i === maxRetries - 1) throw error;
const delay = Math.pow(2, i) * 1000; // 1s, 2s, 4s
await sleep(delay);
}
}
}
Client-Side Rate Limiter:
class RateLimiter {
constructor(maxRequests, windowMs) {
this.maxRequests = maxRequests;
this.windowMs = windowMs;
this.requests = [];
Implementation Guide
Prerequisites
- ›Claude Desktop or compatible AI client with skill support
- ›Clear understanding of task or problem to solve
- ›Willingness to iterate and refine outputs
Time Estimate
15-45 minutes depending on use case complexity
Steps
- 1Install skill using provided installation command
- 2Test with simple use case relevant to your work
- 3Evaluate output quality and relevance
- 4Iterate on prompts to improve results
- 5Integrate into regular workflow if valuable
Common Pitfalls
- ⚠Expecting perfect results without iteration
- ⚠Not providing enough context in prompts
- ⚠Using skill for tasks outside its intended scope
- ⚠Accepting outputs without review and validation
Best Practices
✓ Do
- +Start with clear, specific prompts
- +Provide relevant context and constraints
- +Review and refine all outputs before using
- +Iterate to improve output quality
- +Document successful prompt patterns
✗ Don't
- −Don't use without understanding skill limitations
- −Don't skip validation of outputs
- −Don't share sensitive information in prompts
- −Don't expect skill to replace human judgment
💡 Pro Tips
- ★Be specific about desired format and style
- ★Ask for multiple options to choose from
- ★Request explanations to understand reasoning
- ★Combine AI efficiency with human expertise
When to Use This
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
Learning Path
- 1Familiarize yourself with skill capabilities and limitations
- 2Start with low-risk, non-critical tasks
- 3Progress to more complex and valuable use cases
- 4Build expertise through regular use and experimentation
Related Skills
ml-paper-writing
75davila7/claude-code-templates
AI/MLsame repodocker-expert
15davila7/claude-code-templates
Cloudsame reporemotion-best-practices
10davila7/claude-code-templates
Videosame reponutritional-specialist
118ailabs-393/ai-labs-claude-skills
Productivitytag: specialistkotlin-specialist
10jeffallan/claude-skills
Productivitytag: specialisttypescript-best-practices
146jwynia/agent-skills
Backendsame categoryReviews
4.7★★★★★36 reviews- AAisha Khan★★★★★Dec 24, 2024
api-integration-specialist is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- AAditi Johnson★★★★★Dec 20, 2024
Solid pick for teams standardizing on skills: api-integration-specialist is focused, and the summary matches what you get after install.
- DDhruvi Jain★★★★★Dec 8, 2024
Keeps context tight: api-integration-specialist is the kind of skill you can hand to a new teammate without a long onboarding doc.
- OOshnikdeep★★★★★Nov 27, 2024
Registry listing for api-integration-specialist matched our evaluation — installs cleanly and behaves as described in the markdown.
- DDiya Menon★★★★★Nov 15, 2024
api-integration-specialist reduced setup friction for our internal harness; good balance of opinion and flexibility.
- AAditi Mensah★★★★★Nov 11, 2024
We added api-integration-specialist from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- GGanesh Mohane★★★★★Oct 18, 2024
api-integration-specialist reduced setup friction for our internal harness; good balance of opinion and flexibility.
- DDiya Yang★★★★★Oct 6, 2024
Registry listing for api-integration-specialist matched our evaluation — installs cleanly and behaves as described in the markdown.
- AAditi Kim★★★★★Oct 2, 2024
api-integration-specialist fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- MMeera Sharma★★★★★Sep 25, 2024
api-integration-specialist reduced setup friction for our internal harness; good balance of opinion and flexibility.
showing 1-10 of 36
1 / 4Discussion
Comments — not star reviews- No comments yet — start the thread.