IT Data Pipeline Integration
Overview
This skill covers data pipeline integration for the ConstructAI platform. It encompasses API integration, data synchronization, ETL workflows, external system connectivity, data validation, and pipeline monitoring. Primary agent: 02050-010 Data Pipeline Builder. Supporting skills: domainforge_ai/data-requirements-ui-design, infraforge_ai/supply-chain-integration.
Triggers
- New external API needs integration
- Data synchronization workflow required
- ETL pipeline needs to be built
- Existing integration requires enhancement
- Data format change in source system
- Integration error detected
Prerequisites
- API documentation available
- Authentication credentials configured
- Data schema for source and target systems defined
- Network connectivity established
- Error handling strategy defined
Steps
Step 1: API Assessment
- Review API documentation (endpoints, methods, authentication)
- Identify rate limits and throttling behavior
- Identify pagination and filtering parameters
- Review error response format
- Test API connectivity and authentication
Step 2: Data Schema Mapping
- Map source data fields to target schema
- Identify required vs optional fields
- Identify data type transformations needed
- Handle missing or null values
- Define data validation rules
Step 3: Pipeline Design
- Design extraction strategy (full scan, incremental, event-driven)
- Design transformation rules (data type conversion, enrichment, filtering)
- Design loading strategy (upsert, append, merge)
- Define checkpoint and resume points
- Define error handling (retry, skip, escalate)
Step 4: Implementation
- Generate API connector code with authentication
- Generate extraction logic with pagination handling
- Generate transformation functions with data validation
- Generate loading logic with conflict resolution
- Implement error handling and logging
Step 5: Data Validation
- Implement pre-load validation (schema check, required fields)
- Implement post-load verification (record count, data integrity)
- Implement idempotency checks (no duplicate records)
- Implement reconciliation reports
Step 6: Monitoring & Alerting
- Implement pipeline execution monitoring
- Implement data freshness monitoring
- Implement error rate monitoring
- Configure alerting for pipeline failures
- Configure execution summary reports
Step 7: Testing & Deployment
- Test with sample datasets covering edge cases
- Test error handling scenarios
- Test idempotency (re-run produces same result)
- Test with production-scale data volume
- Deploy with monitoring enabled
Success Criteria
- All API endpoints functional and authenticated
- Data mapping complete with all required fields
- Pipeline executes successfully with sample and production data
- Error handling covers all identified failure modes
- Idempotency guaranteed (re-run produces same result)
- Monitoring and alerting configured
- Documentation complete
Common Pitfalls
- Ignoring rate limits: Respect API rate limits — implement throttling
- Missing idempotency: Re-running should not create duplicates
- Data type mismatches: Always validate data types during transformation
- No checkpointing: Long-running pipelines should resume from last checkpoint
- Missing reconciliation: Always verify loaded data matches source
- Inadequate error handling: Handle all API error codes, not just 200
Cross-References
it-error-discovery-classification/SKILL.md — Error classification for pipeline failures
it-log-analysis-monitoring/SKILL.md — Pipeline execution log monitoring
domainforge_ai/data-requirements-ui-design/SKILL.md — Data requirement input patterns
infraforge_ai/supply-chain-integration/SKILL.md — External system integration patterns
Usage
Apply this skill when integrating new external APIs, building data synchronization pipelines, creating ETL workflows, or enhancing existing integrations.
Metrics
- Pipeline Success Rate: 95%+ of pipeline executions complete successfully
- Data Accuracy: 99%+ of records loaded correctly without transformation errors
- Idempotency: 100% of re-runs produce same result as initial execution
- Error Recovery: 90%+ of transient failures recovered through retry
- Monitoring Coverage: 100% of pipeline stages monitored and logged
1---2name: it-data-pipeline-integration3description: Skill for API integration, data synchronization, ETL workflows, and external system connectivity in the ConstructAI platform4---56# IT Data Pipeline Integration78## Overview910This skill covers data pipeline integration for the ConstructAI platform. It encompasses API integration, data synchronization, ETL workflows, external system connectivity, data validation, and pipeline monitoring. Primary agent: 02050-010 Data Pipeline Builder. Supporting skills: `domainforge_ai/data-requirements-ui-design`, `infraforge_ai/supply-chain-integration`.1112## Triggers1314- New external API needs integration15- Data synchronization workflow required16- ETL pipeline needs to be built17- Existing integration requires enhancement18- Data format change in source system19- Integration error detected2021## Prerequisites2223- API documentation available24- Authentication credentials configured25- Data schema for source and target systems defined26- Network connectivity established27- Error handling strategy defined2829## Steps3031### Step 1: API Assessment32- Review API documentation (endpoints, methods, authentication)33- Identify rate limits and throttling behavior34- Identify pagination and filtering parameters35- Review error response format36- Test API connectivity and authentication3738### Step 2: Data Schema Mapping39- Map source data fields to target schema40- Identify required vs optional fields41- Identify data type transformations needed42- Handle missing or null values43- Define data validation rules4445### Step 3: Pipeline Design46- Design extraction strategy (full scan, incremental, event-driven)47- Design transformation rules (data type conversion, enrichment, filtering)48- Design loading strategy (upsert, append, merge)49- Define checkpoint and resume points50- Define error handling (retry, skip, escalate)5152### Step 4: Implementation53- Generate API connector code with authentication54- Generate extraction logic with pagination handling55- Generate transformation functions with data validation56- Generate loading logic with conflict resolution57- Implement error handling and logging5859### Step 5: Data Validation60- Implement pre-load validation (schema check, required fields)61- Implement post-load verification (record count, data integrity)62- Implement idempotency checks (no duplicate records)63- Implement reconciliation reports6465### Step 6: Monitoring & Alerting66- Implement pipeline execution monitoring67- Implement data freshness monitoring68- Implement error rate monitoring69- Configure alerting for pipeline failures70- Configure execution summary reports7172### Step 7: Testing & Deployment73- Test with sample datasets covering edge cases74- Test error handling scenarios75- Test idempotency (re-run produces same result)76- Test with production-scale data volume77- Deploy with monitoring enabled7879## Success Criteria8081- All API endpoints functional and authenticated82- Data mapping complete with all required fields83- Pipeline executes successfully with sample and production data84- Error handling covers all identified failure modes85- Idempotency guaranteed (re-run produces same result)86- Monitoring and alerting configured87- Documentation complete8889## Common Pitfalls90911. **Ignoring rate limits**: Respect API rate limits — implement throttling922. **Missing idempotency**: Re-running should not create duplicates933. **Data type mismatches**: Always validate data types during transformation944. **No checkpointing**: Long-running pipelines should resume from last checkpoint955. **Missing reconciliation**: Always verify loaded data matches source966. **Inadequate error handling**: Handle all API error codes, not just 2009798## Cross-References99100- `it-error-discovery-classification/SKILL.md` — Error classification for pipeline failures101- `it-log-analysis-monitoring/SKILL.md` — Pipeline execution log monitoring102- `domainforge_ai/data-requirements-ui-design/SKILL.md` — Data requirement input patterns103- `infraforge_ai/supply-chain-integration/SKILL.md` — External system integration patterns104105## Usage106107Apply this skill when integrating new external APIs, building data synchronization pipelines, creating ETL workflows, or enhancing existing integrations.108109## Metrics110111- **Pipeline Success Rate**: 95%+ of pipeline executions complete successfully112- **Data Accuracy**: 99%+ of records loaded correctly without transformation errors113- **Idempotency**: 100% of re-runs produce same result as initial execution114- **Error Recovery**: 90%+ of transient failures recovered through retry115- **Monitoring Coverage**: 100% of pipeline stages monitored and logged