Skip to content
Skillpedia
APIs & servers (backend)280k · #12

api-connector-builder

Has your agent build new API connections following the existing pattern. Use when you need to add one more integration without creating a new way of doing things.

What it does

This tool helps create new integrations for a software project by exactly matching the style of integrations already present. It ensures the new part fits perfectly without introducing a new way of doing things.

When to use it

  • ✓Adding a new connection for a service (e.g., Jira) to an existing project.
  • ✓Creating a new feature that needs to communicate with another API, using the established pattern.
  • ✓Expanding a system to support one more integration type without changing the architecture.

Example of what to ask your AI

“Create a connector for the email service, following the pattern of connectors already in this project.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/affaan-m/ECC/blob/main/pi/core/skills/api-connector-builder/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/affaan-m/ECC/blob/main/pi/core/skills/api-connector-builder/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool first analyzes how current integrations were built (layout, configuration, authentication). Then, it constructs the new integration by replicating that style, ensuring everything fits and works as expected within the project.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add affaan-m/ECC --skill api-connector-builder

Or download just the file:

curl -L https://raw.githubusercontent.com/affaan-m/ECC/main/pi/core/skills/api-connector-builder/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

API Connector Builder

Use this when the job is to add a repo-native integration surface, not just a generic HTTP client.

The point is to match the host repository's pattern:

  • connector layout
  • config schema
  • auth model
  • error handling
  • test style
  • registration/discovery wiring

When to Use

  • "Build a Jira connector for this project"
  • "Add a Slack provider following the existing pattern"
  • "Create a new integration for this API"
  • "Build a plugin that matches the repo's connector style"

Guardrails

  • do not invent a new integration architecture when the repo already has one
  • do not start from vendor docs alone; start from existing in-repo connectors first
  • do not stop at transport code if the repo expects registry wiring, tests, and docs
  • do not cargo-cult old connectors if the repo has a newer current pattern

Workflow

1. Learn the house style

Inspect at least 2 existing connectors/providers and map:

  • file layout
  • abstraction boundaries
  • config model
  • retry / pagination conventions
  • registry hooks
  • test fixtures and naming

2. Narrow the target integration

Define only the surface the repo actually needs:

  • auth flow
  • key entities
  • core read/write operations
  • pagination and rate limits
  • webhook or polling model

3. Build in repo-native layers

Typical slices:

  • config/schema
  • client/transport
  • mapping layer
  • connector/provider entrypoint
  • registration
  • tests

4. Validate against the source pattern

The new connector should look obvious in the codebase, not imported from a different ecosystem.

Reference Shapes

Provider-style

providers/
  existing_provider/
    __init__.py
    provider.py
    config.py

Connector-style

integrations/
  existing/
    client.py
    models.py
    connector.py

TypeScript plugin-style

src/integrations/
  existing/
    index.ts
    client.ts
    types.ts
    test.ts

Quality Checklist

  • matches an existing in-repo integration pattern
  • config validation exists
  • auth and error handling are explicit
  • pagination/retry behavior follows repo norms
  • registry/discovery wiring is complete
  • tests mirror the host repo's style
  • docs/examples are updated if expected by the repo

Related Skills

  • backend-patterns
  • mcp-server-patterns
  • github-ops
FAQ

What is a 'connector' or 'provider'?

It's a piece of code that allows one software to communicate with and use another service or API, acting like a bridge.

Why is it important to follow the existing pattern?

To keep the code organized, easy to understand, and maintainable. It prevents the project from having different coding styles for similar functionalities.

Can I use this tool to create a completely new integration?

No, the main goal is to replicate an existing pattern within the project. If the project lacks a pattern, this tool might not be suitable.

Details

Original description by the author

Build a new API connector or provider by matching the target repo's existing integration pattern exactly. Use when adding one more integration without inventing a second architecture.

repo: affaan-m/ECC

Popularity

GitHub stars
280k
Ranking position
#12
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills