api-connector-builder — скилл для Claude Code: установка
Скилл добавляет новый API-коннектор по шаблону существующих интеграций в репозитории. Пригодится, когда нужно расширить проект без второй архитектуры.
npx skills add affaan-m/ECC --skill api-connector-builder -a claude-codeЧто делает api-connector-builder
api-connector-builder помогает собрать коннектор или провайдера для нового API в стиле целевого репозитория. Скилл предлагает сначала изучить минимум 2 существующие интеграции, затем повторить их структуру файлов, модель конфигурации, авторизацию, обработку ошибок и правила регистрации.
Работа разбита на слои: конфигурация и схема, клиент или транспорт, преобразование данных, точка входа, регистрация и тесты. Также учитываются принятые в репозитории подходы к повторам запросов, пагинации, тестовым фикстурам и именованию. Документацию и примеры добавляют, если этого требует проект.
Ставьте скилл, когда в кодовой базе уже есть узнаваемый шаблон интеграций. Для проекта без такого паттерна он потребует отдельного решения по архитектуре.
Какие задачи решает
- добавить Jira-коннектор по шаблону проекта
- создать Slack-провайдера с регистрацией в репозитории
- повторить структуру существующей интеграции для нового API
- проверить конфигурацию, авторизацию и обработку ошибок коннектора
- подключить тесты и документацию для новой интеграции
Примеры запросов агенту
- «Build a Jira connector for this project»
- «Add a Slack provider following the existing pattern»
- «Create a new integration for this API»
Как установить api-connector-builder
1Через Skills CLI (Vercel)
npx skills add affaan-m/ECC --skill api-connector-builder -a claude-code2Вручную: положить файлы
~/.claude/skills/api-connector-builder/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/api-connector-builder/
1Через Skills CLI (Vercel)
npx skills add affaan-m/ECC --skill api-connector-builder -a codex2Вручную: положить файлы
.agents/skills/api-connector-builder/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add affaan-m/ECC --skill api-connector-builder -a cursor2Вручную: положить файлы
.cursor/skills/api-connector-builder/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install affaan-m/ECC api-connector-builder2Вручную: положить файлы
.github/skills/api-connector-builder/SKILL.md1Через Skills CLI (Vercel)
npx skills add affaan-m/ECC --skill api-connector-builder -a gemini-cli2Командой платформы
gemini skills install https://github.com/affaan-m/ECC --path skills/api-connector-builderВручную: положить файлы
.devin/skills/api-connector-builder/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add affaan-m/ECC --skill api-connector-builder -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора146
Весь набор →Похожие
Вопросы о api-connector-builder
Как установить api-connector-builder в Claude Code?
Выполните npx skills add affaan-m/ECC --skill api-connector-builder -a claude-code. Файл скилла появится в ~/.claude/skills/api-connector-builder/SKILL.md.
Что делает api-connector-builder?
Скилл помогает добавить API-коннектор или провайдера по текущему шаблону репозитория. Он охватывает структуру интеграции, конфигурацию, авторизацию, ошибки, регистрацию и тесты.
Какие платформы поддерживает api-connector-builder?
Скилл предназначен для Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode.
Исходный текст
SKILL.md · MIT
---
name: api-connector-builder
description: 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.
metadata:
version: "1.0.0"
origin: ECC direct-port adaptation
---
# 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
```text
providers/
existing_provider/
__init__.py
provider.py
config.py
```
### Connector-style
```text
integrations/
existing/
client.py
models.py
connector.py
```
### TypeScript plugin-style
```text
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`
© affaan-m · MIT · affaan-m/ECC