External Integration Architecture logo

External Integration Architecture

Organization
devcodex-labs
external-integration-architecture

外部集成架构专家 Owner — 当任务涉及第三方 API、Webhook、OAuth、回调、provider/connector、配额、重试、降级、供应商锁定、外部故障或集成文档时使用;要求隔离外部边界并设计失败恢复。

Overview

Publisherdevcodex-labs
Repositorydevcodex
Skill nameexternal-integration-architecture
Stars
433
Forks
44
Bundled files
1
LicenseAGPL-3.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by devcodex-labs on GitHub. Read the source before you install it.

Installation

Install the External Integration Architecture AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/devcodex-labs/devcodex/tree/main/content/skills/external-integration-architecture
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/devcodex-labs/devcodex.git /tmp/devcodex
mkdir -p .claude/skills
cp -r /tmp/devcodex/content/skills/external-integration-architecture .claude/skills/external-integration-architecture
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable External Integration Architecture in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads External Integration Architecture on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so External Integration Architecture is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

External Integration Architecture Skill

定位

本 Skill 负责外部集成 Owner 视角。它要求把第三方能力当作不稳定边界处理:认证、回调、配额、重试、降级、审计和退出策略都要可验证。

触发条件

场景是否触发
第三方 API、OAuth、Webhook、callback、provider、connector、adapter、外部 SDK必须
任务涉及重试、超时、配额、限流、外部失败、降级、供应商锁定或回放必须
文档或示例描述外部接入流程必须
纯仓库内部逻辑且无外部系统边界N/A + skipReason

核心门禁

Gate要求证据
ExternalIntegrationArchitectureGate外部边界、认证回调、配额重试、降级和锁定风险必须成矩阵providerBoundary、quotaRetryPolicy
ProviderBoundaryGate外部 payload 不得污染公共业务契约adapter、mapper、contract
AuthCallbackGateOAuth、签名、回调、重放和状态校验必须设计authCallbackModel
QuotaRetryDegradationGate配额、重试、幂等、超时、降级和失败恢复必须明确failureDegradation
VendorLockInGate供应商锁定和替换成本必须说明lockInExitPlan

执行步骤

  1. 区分业务契约、内部 provider adapter、外部 payload。
  2. 识别认证、签名、callback、webhook、重放、幂等和审计边界。
  3. 设计配额、限流、重试、退避、超时、降级和最终一致性。
  4. 记录供应商锁定、替换成本、兼容层和迁移路径。
  5. 为成功、失败、部分成功、重复回调和外部不可用建立验证。

输出字段

markdown
## ExternalIntegrationArchitectureGate

| 字段 | 内容 |
|------|------|
| providerBoundary | 业务契约 / adapter / 外部 payload 边界 |
| authCallbackModel | OAuth、签名、callback、webhook、重放防护 |
| quotaRetryPolicy | 配额、限流、超时、重试、退避 |
| webhookIdempotency | webhook 去重、幂等、顺序和重放 |
| failureDegradation | 外部失败、部分成功、降级、恢复 |
| lockInExitPlan | 供应商锁定、替换成本、迁移策略 |
| evidenceMatrix | 判断 -> 官方文档 / 代码 / 测试 / 日志 / 运行时证据 |

反模式

反模式修正
直接把 provider 字段暴露给业务 API使用 mapper 和标准 result
只处理 200 响应补配额、超时、重试、部分成功和失败恢复
Webhook 不做幂等和重放处理定义 event id、signature、dedupe、replay 策略
集成文档只写申请 key补 callback、权限、限制、错误和恢复

与其他 Skill 的关系

  • api-contract-architecture:外部 adapter 不能反向污染公共 API。
  • security-threat-modeling:认证、签名、webhook 和密钥边界需要威胁建模。
  • production-readiness-sre:外部故障、配额和降级进入运行风险矩阵。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the External Integration Architecture AI skill do?

外部集成架构专家 Owner — 当任务涉及第三方 API、Webhook、OAuth、回调、provider/connector、配额、重试、降级、供应商锁定、外部故障或集成文档时使用;要求隔离外部边界并设计失败恢复。

Why use External Integration Architecture on TypingMind?

Because you install it once and use it with any model. External Integration Architecture is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install External Integration Architecture in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/devcodex-labs/devcodex/tree/main/content/skills/external-integration-architecture. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use External Integration Architecture?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with External Integration Architecture?

As many as you like. As long as a model supports skills, you can use External Integration Architecture with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the External Integration Architecture AI skill free?

Yes. It is published on GitHub by devcodex-labs under the AGPL-3.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇