| name | exint - External Integration |
| description | Design how something connects to external systems, tools, or services. Identifies touchpoints, maps data flows, defines interfaces, assesses dependencies, plans for failures, and produces an integration checklist. |
| output | {"format":"prose"} |
External Integration
Input: $ARGUMENTS
Step 1: Identify External Touchpoints
List every point where the system touches something external.
SYSTEM: [what is being integrated]
INTEGRATION GOAL: [why external connections are needed]
EXTERNAL TOUCHPOINTS:
1. [system/service] â Direction: [IN / OUT / BOTH] â Purpose: [why]
2. [system/service] â Direction: [IN / OUT / BOTH] â Purpose: [why]
...
TOUCHPOINT CATEGORIES:
- Data sources: [list]
- Data sinks: [list]
- Services consumed: [list]
- Services provided: [list]
- User-facing integrations: [list]
Step 2: Map Data Flows
Trace what data moves where, in what format, and how often.
DATA FLOWS:
[Source] â(format, frequency)â [Destination]
1. [external] â([format], [frequency])â [internal]
Data: [what's transferred]
Volume: [expected size/rate]
2. [internal] â([format], [frequency])â [external]
Data: [what's transferred]
Volume: [expected size/rate]
TRANSFORMATIONS NEEDED:
- [flow]: [input format] must become [output format] via [method]
DATA OWNERSHIP: [who owns each data flow?]
Step 3: Define Interfaces
Specify the contracts between systems.
INTERFACES:
1. [interface name]
- Protocol: [REST / GraphQL / webhook / file / etc.]
- Authentication: [method]
- Contract: [what's guaranteed]
- Versioning: [how changes are handled]
2. [interface name]
- Protocol: [type]
- Authentication: [method]
- Contract: [what's guaranteed]
- Versioning: [how changes are handled]
STANDARDS TO FOLLOW: [relevant standards or conventions]
DOCUMENTATION REQUIRED: [what needs to be documented for each interface]
Step 4: Assess Dependencies
Evaluate the risk profile of each external dependency.
DEPENDENCY ASSESSMENT:
| External System | Criticality | Reliability | Control | Risk |
|----------------|-------------|-------------|---------|------|
| [system 1] | [HIGH/MED/LOW] | [HIGH/MED/LOW] | [OWN/SHARED/NONE] | [score] |
| [system 2] | [HIGH/MED/LOW] | [HIGH/MED/LOW] | [OWN/SHARED/NONE] | [score] |
SINGLE POINTS OF FAILURE:
- [dependency]: if this fails, [consequence]
VENDOR LOCK-IN RISKS:
- [dependency]: switching cost is [HIGH/MED/LOW] because [reason]
Step 5: Plan for External Failures
Design resilience for when external systems fail.
FAILURE SCENARIOS:
1. [external system] goes down
- Detection: [how we know]
- Impact: [what breaks]
- Mitigation: [fallback / cache / queue / degrade gracefully]
- Recovery: [how to resume when it's back]
2. [external system] returns bad data
- Detection: [validation approach]
- Impact: [what breaks]
- Mitigation: [reject / sanitize / alert]
CIRCUIT BREAKERS: [where to stop calling failing externals]
RETRY STRATEGY: [when and how to retry]
TIMEOUT POLICY: [how long to wait before giving up]
Step 6: Integration Checklist
INTEGRATION CHECKLIST:
PRE-INTEGRATION:
â All interfaces documented
â Authentication credentials secured
â Data formats validated
â Error handling defined
â Rate limits understood
IMPLEMENTATION:
â Each touchpoint implemented and tested
â Data transformations verified
â Failure modes handled
â Logging and monitoring in place
â Circuit breakers configured
POST-INTEGRATION:
â End-to-end flow tested
â Performance validated under load
â Failover tested
â Documentation updated
â Runbook created for operations
PRIORITY ORDER:
1. [first integration to build] â Reason: [why first]
2. [second integration] â Reason: [why second]
Integration
Use with:
/ecomp -> Assess the full ecosystem including external connections
/gapf -> Find missing integrations
/de -> Plan the integration project execution