Aller au contenu
Skillpedia
API et serveurs (backend)280k · #137

api-connector-builder

Ce qu’il fait

Cet outil aide à créer de nouvelles intégrations dans un projet logiciel en reprenant exactement le style des intégrations déjà présentes. Il garantit que la nouvelle partie s'intègre parfaitement, sans introduire une nouvelle façon de faire.

Quand l’utiliser

  • ✓Ajouter une nouvelle connexion à un service (par exemple Jira) à un projet existant.
  • ✓Créer une nouvelle fonctionnalité qui doit communiquer avec une autre API, en suivant le modèle établi.
  • ✓Étendre un système pour prendre en charge un type d'intégration supplémentaire sans modifier l'architecture.

Lien du skill

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

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/affaan-m/ECC/blob/main/pi/core/skills/api-connector-builder/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Créez un connecteur pour le service d'e-mail, en suivant le modèle des connecteurs déjà présents dans ce projet.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'outil analyse d'abord la manière dont les intégrations existantes ont été construites (structure, configuration, authentification). Il construit ensuite la nouvelle intégration en reproduisant ce style, afin que tout s'intègre et fonctionne comme prévu dans le projet.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes

Qu'est-ce qu'un « connecteur » ou un « provider » ?

C'est un morceau de code qui permet à un logiciel de communiquer avec un autre service ou une autre API et de l'utiliser, un peu comme un pont.

Pourquoi est-il important de suivre le modèle existant ?

Pour que le code reste organisé, facile à comprendre et à maintenir. Cela évite que le projet ne contienne plusieurs styles de programmation pour des fonctionnalités similaires.

Puis-je utiliser cet outil pour créer une intégration totalement nouvelle ?

Non, son objectif principal est de reproduire un modèle existant dans le projet. Si le projet n'en possède pas, cet outil ne sera peut-être pas adapté.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
280k
Position au classement
#137
Licence
MIT
Mis à jour
15/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires