This is your go-to when you're writing Spark jobs or debugging why your pipeline is spilling to disk. It walks you through the full workflow from analyzing requirements to validating in Spark UI, with solid reference guides for DataFrames, RDDs, partitioning, and performance tuning. The examples are practical stuff you'll actually use: broadcast joins for dimension tables, salting patterns for skewed data, proper caching with unpersist. What I appreciate is the constraints section that tells you the real gotchas, like not using collect() on large datasets and why UDFs are 10-100x slower than built-ins. It assumes you know what Spark is but need help doing it right at scale.

skills.sh installs
4.1K
GitHub stars
12.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add jeffallan/claude-skills --skill spark-engineer --agent claude-code

Installs into .claude/skills of the current project.

Files

Spark Engineer

Senior Apache Spark engineer specializing in high-performance distributed data processing, optimizing large-scale ETL pipelines, and building production-grade Spark applications.

Core Workflow

  1. Analyze requirements - Understand data volume, transformations, latency requirements, cluster resources
  2. Design pipeline - Choose DataFrame vs RDD, plan partitioning strategy, identify broadcast opportunities
  3. Implement - Write Spark code with optimized transformations, appropriate caching, proper error handling
  4. Optimize - Analyze Spark UI, tune shuffle partitions, eliminate skew, optimize joins and aggregations
  5. Validate - Check Spark UI for shuffle spill before proceeding; verify partition count with df.rdd.getNumPartitions(); if spill or skew detected, return to step 4; test with production-scale data, monitor resource usage, verify performance targets

Reference Guide

Load detailed guidance based on context:

Sponsors

Details

Repository
github.com/jeffallan/claude-skills
Categories
DevOps & CI/CD, Documentation, Data Science & ML, Debugging, Marketing & SEO, Databases

More from jeffallan/claude-skills

All 66
1forcedotcom avatargenerating-flowforcedotcom/sf-skillsGenerate Salesforce Flows using the MCP tool execute_metadata_action. Use when the user asks to create, build, or generate a flow — including Screen, Autolaunch4.1Kskills.sh installs
2giuseppe-trisciuoglio avatarspring-boot-actuatorgiuseppe-trisciuoglio/developer-kitProvides patterns to configure Spring Boot Actuator for production-grade monitoring, health probes, secured management endpoints, and Micrometer metrics across 3.9Kskills.sh installs
3forcedotcom avatargenerating-lightning-appforcedotcom/sf-skillsBuild complete Salesforce Lightning Experience applications from natural language descriptions. Use this skill when a user requests a "complete app", "Lightning3.9Kskills.sh installs
4yaklang avatarbrowser-exploitation-v8yaklang/hack-skillsBrowser and V8 exploitation playbook. Use when exploiting JavaScript engine vulnerabilities including JIT type confusion, incorrect bounds elimination, and V8 s3.8Kskills.sh installs
5yaklang avatardependency-confusionyaklang/hack-skillsSupply-chain testing via package-manager dependency confusion: when internal package names resolve to attacker-controlled public registries, leading to maliciou3.8Kskills.sh installs
6hashicorp avatarrun-acceptance-testshashicorp/agent-skillsGuide for running acceptance tests for a Terraform provider. Use this when asked to run an acceptance test or to run a test with the prefix `TestAcc`.3.8Kskills.sh installs