Agent skill
platform-integration
Install this agent skill to your Project
npx add-skill https://github.com/DNYoussef/context-cascade/tree/main/skills/operations/platform-integration
SKILL.md
/============================================================================/ /* SKILL SKILL :: VERILINGUA x VERIX EDITION / /============================================================================*/
name: SKILL version: 1.0.0 description: | [assert|neutral] SKILL skill for operations workflows [ground:given] [conf:0.95] [state:confirmed] category: operations tags:
- general author: system cognitive_frame: primary: aspectual goal_analysis: first_order: "Execute SKILL workflow" second_order: "Ensure quality and consistency" third_order: "Enable systematic operations processes"
/----------------------------------------------------------------------------/ /* S0 META-IDENTITY / /----------------------------------------------------------------------------*/
[define|neutral] SKILL := { name: "SKILL", category: "operations", version: "1.0.0", layer: L1 } [ground:given] [conf:1.0] [state:confirmed]
/----------------------------------------------------------------------------/ /* S1 COGNITIVE FRAME / /----------------------------------------------------------------------------*/
[define|neutral] COGNITIVE_FRAME := { frame: "Aspectual", source: "Russian", force: "Complete or ongoing?" } [ground:cognitive-science] [conf:0.92] [state:confirmed]
Kanitsal Cerceve (Evidential Frame Activation)
Kaynak dogrulama modu etkin.
/----------------------------------------------------------------------------/ /* S2 TRIGGER CONDITIONS / /----------------------------------------------------------------------------*/
[define|neutral] TRIGGER_POSITIVE := { keywords: ["SKILL", "operations", "workflow"], context: "user needs SKILL capability" } [ground:given] [conf:1.0] [state:confirmed]
/----------------------------------------------------------------------------/ /* S3 CORE CONTENT / /----------------------------------------------------------------------------*/
Platform Integration
Kanitsal Cerceve (Evidential Frame Activation)
Kaynak dogrulama modu etkin.
Purpose
Execute enterprise-grade platform integration with comprehensive API connectivity, webhook automation, data synchronization, and event-driven coordination across multiple platforms and services.
Specialist Agent
I am a platform integration architect specializing in multi-platform connectivity.
Methodology (Integration Lifecycle Pattern):
- Discovery & mapping (API/webhook analysis)
- Authentication strategy (OAuth, API keys, JWT)
- Integration architecture design
- Connector implementation (API clients, SDKs)
- Webhook handler development
- Data transformation pipelines
- Synchronization engine setup
- Error handling & retry logic
- Monitoring & observability
- Testing & validation
- Documentation generation
- Production deployment
Supported Platforms:
- Cloud: AWS, Azure, GCP, Salesforce, HubSpot
- DevOps: GitHub, GitLab, Jira, CircleCI, Jenkins
- Commerce: Stripe, Shopify, WooCommerce, PayPal
- Communication: Slack, Discord, Twilio, SendGrid
- Databases: PostgreSQL, MongoDB, Redis, Elasticsearch
- Message Queues: RabbitMQ, Kafka, AWS SQS, Azure Service Bus
Integration Patterns:
- API-First: RESTful, GraphQL, gRPC
- Event-Driven: Webhooks, WebSockets, SSE
- Message Queues: Pub/Sub, AMQP, MQTT
- Data Sync: ETL, CDC, batch/real-time
- Orchestration: Workflow engines, state machines
Input Contract
input:
platforms: array[object] # Platform configurations
- name: string (e.g., "salesforce", "stripe")
type: string (api|webhook|sync)
auth: object (credentials, tokens)
endpoints: array[string]
integration_type: string # "api_integration" | "webhook_automation" | "data_sync" | "full"
sync_direction: string # "bidirectional" | "source_to_target" | "target_to_source"
sync_frequency: string # "real_time" | "hourly" | "daily" | "on_demand"
error_strategy: string # "retry" | "dead_letter" | "alert" | "fallback"
monitoring: boolean # Enable observability (default: true)
Output Contract
output:
artifacts:
connectors: directory # API client implementations
handlers: directory # Webhook handlers
sync_engine: directory # Data synchronization
tests: directory # Integration test suite
configs: array[file] # Configuration files
docs: markdown # Integration documentation
metrics:
api_latency_p95: number # ms
webhook_success_rate: number # percentage
sync_throughput: number # records/sec
error_rate: number # percentage
endpoints:
api_base_url: string
webhook_url: string
health_check: string
monitoring:
dashboard_url: string
alerts: array[object]
Execution Flow
#!/bin/bash
set -e
INTEGRATION_TYPE="${1:-full}"
PLATFORMS_CONFIG="$2"
OUTPUT_DIR="platform-integration-$(date +%s)"
mkdir -p "$OUTPUT_DIR"/{connectors,handlers,sync,tests,configs,docs,monitoring}
echo "================================================================"
echo "Platform Integration Orchestration"
echo "Type: $INTEGRATION_TYPE | Platforms: $PLATFORMS_CONFIG"
echo "================================================================"
# STAGE 1: Discovery & Mapping
echo "[1/12] Discovering platform capabilities..."
python3 resources/scripts/api-connector.py \
--mode discovery \
--config "$PLATFORMS_CONFIG" \
--output "$OUTPUT_DIR/discovery-report.json"
# STAGE 2: Authentication Strategy
echo "[2/12] Configuring authentication..."
cat > "$OUTPUT_DIR/configs/auth-config.yaml" <<EOF
authentication:
strategy: oauth2 # or api_key, jwt, basic
providers:
- name: primary_platform
type: oauth2
client_id: \${CLIENT_ID}
client_secret: \${CLIENT_SECRET}
token_url: https://oauth.example.com/token
scopes: [read, write]
token_management:
refresh_strategy: automatic
expiry_buffer: 300 # seconds before ex
/*----------------------------------------------------------------------------*/
/* S4 SUCCESS CRITERIA */
/*----------------------------------------------------------------------------*/
[define|neutral] SUCCESS_CRITERIA := {
primary: "Skill execution completes successfully",
quality: "Output meets quality thresholds",
verification: "Results validated against requirements"
} [ground:given] [conf:1.0] [state:confirmed]
/*----------------------------------------------------------------------------*/
/* S5 MCP INTEGRATION */
/*----------------------------------------------------------------------------*/
[define|neutral] MCP_INTEGRATION := {
memory_mcp: "Store execution results and patterns",
tools: ["mcp__memory-mcp__memory_store", "mcp__memory-mcp__vector_search"]
} [ground:witnessed:mcp-config] [conf:0.95] [state:confirmed]
/*----------------------------------------------------------------------------*/
/* S6 MEMORY NAMESPACE */
/*----------------------------------------------------------------------------*/
[define|neutral] MEMORY_NAMESPACE := {
pattern: "skills/operations/SKILL/{project}/{timestamp}",
store: ["executions", "decisions", "patterns"],
retrieve: ["similar_tasks", "proven_patterns"]
} [ground:system-policy] [conf:1.0] [state:confirmed]
[define|neutral] MEMORY_TAGGING := {
WHO: "SKILL-{session_id}",
WHEN: "ISO8601_timestamp",
PROJECT: "{project_name}",
WHY: "skill-execution"
} [ground:system-policy] [conf:1.0] [state:confirmed]
/*----------------------------------------------------------------------------*/
/* S7 SKILL COMPLETION VERIFICATION */
/*----------------------------------------------------------------------------*/
[direct|emphatic] COMPLETION_CHECKLIST := {
agent_spawning: "Spawn agents via Task()",
registry_validation: "Use registry agents only",
todowrite_called: "Track progress with TodoWrite",
work_delegation: "Delegate to specialized agents"
} [ground:system-policy] [conf:1.0] [state:confirmed]
/*----------------------------------------------------------------------------*/
/* S8 ABSOLUTE RULES */
/*----------------------------------------------------------------------------*/
[direct|emphatic] RULE_NO_UNICODE := forall(output): NOT(unicode_outside_ascii) [ground:windows-compatibility] [conf:1.0] [state:confirmed]
[direct|emphatic] RULE_EVIDENCE := forall(claim): has(ground) AND has(confidence) [ground:verix-spec] [conf:1.0] [state:confirmed]
[direct|emphatic] RULE_REGISTRY := forall(agent): agent IN AGENT_REGISTRY [ground:system-policy] [conf:1.0] [state:confirmed]
/*----------------------------------------------------------------------------*/
/* PROMISE */
/*----------------------------------------------------------------------------*/
[commit|confident] <promise>SKILL_VERILINGUA_VERIX_COMPLIANT</promise> [ground:self-validation] [conf:0.99] [state:confirmed]
Didn't find tool you were looking for?