Communitygithub.com

api-connector-builder

Construye un nuevo conector o proveedor de API adaptándolo al patrón del repositorio destino.

¿Qué es api-connector-builder?

Esta habilidad está diseñada para crear conectores o proveedores de API que se integren de forma nativa en un repositorio existente, en lugar de construir un cliente HTTP genérico. Es útil para desarrolladores que trabajan en proyectos con una arquitectura de integración predefinida (por ejemplo, conectores para Jira, Slack u otras APIs) y necesitan mantener coherencia con el estilo del repositorio. Funciona en cualquier plataforma de agente de IA que soporte ejecución de habilidades basadas en repositorios, como Claude Code o Cursor. El flujo de trabajo incluye aprender el patrón del repositorio inspeccionando conectores existentes, delimitar la integración a lo necesario, construir usando las capas nativas del repositorio (config, cliente, mapeo, registro, pruebas) y validar que el nuevo conector se vea orgánico en el código base. También incluye guardas para evitar inventar nuevas arquitecturas, copiar patrones obsoletos o ignorar el registro y las pruebas.

Compatible con~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/everything-claude-code/tree/main/skills/api-connector-builder

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

Constructor de Conectores API

Úsalo cuando la tarea sea agregar una superficie de integración nativa del repositorio, no solo un cliente HTTP genérico.

El objetivo es adaptarse al patrón del repositorio anfitrión:

  • estructura del conector
  • esquema de configuración
  • modelo de autenticación
  • manejo de errores
  • estilo de pruebas
  • cableado de registro / descubrimiento

Cuándo Usarlo

  • "Construye un conector para Jira en este proyecto"
  • "Agrega un proveedor de Slack siguiendo el patrón existente"
  • "Crea una nueva integración para esta API"
  • "Construye un plugin que coincida con el estilo de conector del repositorio"

Guardas

  • no inventes una nueva arquitectura de integración cuando el repositorio ya tiene una
  • no empieces solo con la documentación del proveedor; empieza primero revisando los conectores existentes en el repositorio
  • no te detengas en el código de transporte si el repositorio espera cableado de registro, pruebas y documentación
  • no copies patrones antiguos si el repositorio tiene un patrón más reciente y actual

Flujo de Trabajo

1. Aprende el estilo de la casa

Inspecciona al menos 2 conectores/proveedores existentes y mapea:

  • estructura de archivos
  • límites de abstracción
  • modelo de configuración
  • convenciones de reintento / paginación
  • hooks de registro
  • fixtures y nombres de pruebas

2. Delimita la integración objetivo

Define solo la superficie que el repositorio realmente necesita:

  • flujo de autenticación
  • entidades clave
  • operaciones básicas de lectura/escritura
  • paginación y límites de tasa
  • modelo de webhook o polling

3. Construye en capas nativas del repositorio

Capas típicas:

  • configuración/esquema
  • cliente/transporte
  • capa de mapeo
  • punto de entrada del conector/proveedor
  • registro
  • pruebas

4. Valida contra el patrón de origen

El nuevo conector debería verse obvio en el código base, no importado de un ecosistema diferente.

Formas de Referencia

Estilo Proveedor

providers/
  proveedor_existente/
    __init__.py
    provider.py
    config.py

Estilo Conector

integrations/
  existente/
    client.py
    models.py
    connector.py

Estilo Plugin TypeScript

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

Lista de Verificación de Calidad

  • coincide con un patrón de integración existente en el repositorio
  • existe validación de configuración
  • la autenticación y el manejo de errores son explícitos
  • el comportamiento de paginación/reintento sigue las normas del repositorio
  • el cableado de registro/descubrimiento está completo
  • las pruebas reflejan el estilo del repositorio anfitrión
  • la documentación/ejemplos están actualizados si el repositorio lo espera

Habilidades Relacionadas

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

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

affaan-m/everything-claude-code

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches. Use when planning or executing a multi-channel product launch, or producing landing page, email, social, or ad copy.

affaan-m/everything-claude-code

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/everything-claude-code-conventions

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.

affaan-m/gget

gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs.

affaan-m/literature-review

Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.

affaan-m/motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

affaan-m/project-guidelines-example

Example project-specific skill template based on a real production application.

affaan-m/pubmed-database

Direct PubMed and NCBI E-utilities search workflows for biomedical literature, MeSH queries, PMID lookup, citation retrieval, and API-backed literature monitoring.

affaan-m/scholar-evaluation

Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.

affaan-m/uspto-database

USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

Skills relacionados