data-engineering
Data pipeline patterns, ETL/ELT best practices, data storage options, and data quality techniques
What this skill does
# Data Engineering ## Data Pipeline Patterns ### Batch Processing - **Scheduled Jobs**: Run data processing at fixed intervals (hourly, daily, weekly) - **Use Cases**: Historical analysis, reporting, data warehousing - **Tools**: Apache Spark, Hadoop, Airflow, dbt - **Design Considerations**: Latency tolerance, resource efficiency, cost optimization ### Streaming Processing - **Real-time Ingestion**: Process data as it arrives with low latency - **Use Cases**: Real-time analytics, monitoring, fraud detection - **Tools**: Apache Kafka, Apache Flink, Apache Storm, Apache Beam - **Design Considerations**: Event ordering, exactly-once semantics, backpressure ### Lambda Architecture - **Batch Layer**: Store immutable master dataset, compute batch views - **Speed Layer**: Process real-time data for low-latency queries - **Serving Layer**: Merge batch and real-time views for queries - **Use Cases**: Systems requiring both batch and real-time capabilities - **Challenges**: Complexity of maintaining two code paths ### Kappa Architecture - **Unified Processing**: Use a single stream processing framework - **Replay Capability**: Reprocess data from the event log - **Use Cases**: Simplified architecture when batch is just fast streaming - **Benefits**: Reduced complexity, single codebase ## ETL/ELT Best Practices ### ETL (Extract, Transform, Load) - **Extract**: Pull data from source systems with minimal impact - **Transform**: Clean, validate, and transform data in a staging area - **Load**: Load processed data into the target system - **Best Practices**: - Minimize source system impact - Handle incremental updates efficiently - Validate data before loading - Document transformation logic ### ELT (Extract, Load, Transform) - **Extract**: Pull raw data from source systems - **Load**: Load raw data into the target system (usually data warehouse) - **Transform**: Transform data within the target system using SQL - **Best Practices**: - Leverage data warehouse compute power - Maintain raw data for audit trails - Use dbt for transformation orchestration - Version control transformation logic ### Data Ingestion Patterns - **Full Load**: Load entire dataset each time - **Incremental Load**: Load only changed records - **Change Data Capture (CDC)**: Capture data changes in real-time - **Bulk Load**: High-volume batch loading for initial loads ## Data Storage Options ### SQL Databases - **Relational Data**: Structured data with relationships - **ACID Compliance**: Strong consistency guarantees - **Examples**: PostgreSQL, MySQL, SQL Server, Oracle - **Use Cases**: Transactional systems, operational data stores ### NoSQL Databases - **Document Stores**: JSON-like documents (MongoDB, CouchDB) - **Key-Value Stores**: Simple key-value pairs (Redis, DynamoDB) - **Column-Family Stores**: Wide-column storage (Cassandra, HBase) - **Graph Databases**: Relationship-focused (Neo4j, Amazon Neptune) - **Use Cases**: Semi-structured data, high scalability, specific data models ### Data Lakes - **Raw Data Storage**: Store data in native format - **Schema-on-Read**: Define schema when reading data - **Examples**: AWS S3, Azure Data Lake, Google Cloud Storage - **Use Cases**: Data exploration, ML training, archiving ### Data Warehouses - **Optimized for Analytics**: Columnar storage, compression - **SQL Interface**: Familiar query language - **Examples**: Snowflake, BigQuery, Redshift, Azure Synapse - **Use Cases**: Business intelligence, reporting, analytics ## Data Quality and Validation ### Data Quality Dimensions - **Completeness**: No missing values or records - **Accuracy**: Data reflects real-world values - **Consistency**: No conflicting data across sources - **Timeliness**: Data is up-to-date - **Validity**: Data conforms to defined rules and formats - **Uniqueness**: No duplicate records ### Validation Techniques - **Schema Validation**: Check data types, formats, and constraints - **Range Checks**: Verify values fall within expected ranges - **Pattern Matching**: Use regex for format validation (email, phone, etc.) - **Referential Integrity**: Validate foreign key relationships - **Business Rules**: Apply domain-specific validation logic ### Data Profiling - **Statistical Analysis**: Understand data distributions and patterns - **Pattern Discovery**: Identify data formats and structures - **Anomaly Detection**: Find outliers and unusual values - **Dependency Analysis**: Discover relationships between fields ### Data Lineage - **Source Tracking**: Trace data back to original sources - **Transformation Tracking**: Document all transformations applied - **Impact Analysis**: Understand downstream effects of changes - **Compliance**: Meet regulatory requirements for data tracking
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.