Skip to content

Practical Spark tuning guide covering partitioning, joins, caching, and memory configuration for slow or large-scale jobs.

CCM score
55 of 100
skills.sh installs
182
GitHub stars
50.5K
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers partitioning strategy, join selection, caching and persistence, and executor memory tuning for Apache Spark jobs
  • Includes PySpark examples for Adaptive Query Execution settings, broadcast joins, bucketed tables, and manual salting of skewed keys
  • Recommends MEMORY_AND_DISK persistence and targets 128MB to 256MB partitions, with a note to inspect the physical plan before assuming a shuffle is avoided
  • Designed for data engineers debugging slow Spark pipelines or scaling processing to large datasets

Install

$ npx -y skills add sickn33/agentic-awesome-skills --skill spark-optimization -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Apache Spark Optimization

Production patterns for optimizing Apache Spark jobs including partitioning strategies, memory management, shuffle optimization, and performance tuning.

Do not use this skill when

  • The task is unrelated to apache spark optimization
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.

Use this skill when

  • Optimizing slow Spark jobs
  • Tuning memory and executor configuration
  • Implementing efficient partitioning strategies
  • Debugging Spark performance issues
  • Scaling Spark pipelines for large datasets
  • Reducing shuffle and data skew

Core Concepts

1. Spark Execution Model

Driver Program
    ↓
Job (triggered by action)
    ↓
Stages (separated by shuffles)
    ↓
Tasks (one per partition)

2. Key Performance Factors

Details

Repository
github.com/sickn33/agentic-awesome-skills
Categories
Data Science & Analytics, Python
First seen
Jun 3, 2026

Questions

What is spark-optimization?

spark-optimization is an agent skill listed on Claude Marketplaces in the Data Science & Analytics category. Its page on Claude Marketplaces links to the spark-optimization source on GitHub.

How do I install spark-optimization?

Run npx -y skills add sickn33/agentic-awesome-skills --skill spark-optimization -y in a project to install spark-optimization. After that, the agent can use spark-optimization in that project.

Which category is spark-optimization in?

spark-optimization is in the Data Science & Analytics category on Claude Marketplaces. Other listings in that category next to spark-optimization include azure-kusto, analyze-project and run-train.

Where is the source code of spark-optimization?

The source code of spark-optimization is on GitHub at https://github.com/sickn33/agentic-awesome-skills. The sickn33 account on GitHub publishes spark-optimization.

More from sickn33/agentic-awesome-skills

All 682

Similar to Spark Optimization

More Data Science & Analytics