PrepRabbit Backend Development Skill

Develop Python/FastAPI services with Test-Driven Development and Spark-centric architecture.

Updated Jan 6, 2026
One-click install
npx skills add https://github.com/saurabh22suman/spark-sword --skill preprabbit-backend-development-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: PrepRabbit Backend Development Skill
Source: https://github.com/saurabh22suman/spark-sword/tree/main/.github/skills/backend-dev
Command: npx skills add https://github.com/saurabh22suman/spark-sword --skill preprabbit-backend-development-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides expert backend development for PrepRabbit's Python/FastAPI services, ensuring adherence to strict Test-Driven Development (TDD) and a Spark-centric architecture.

Core Features & Use Cases

  • API Development: Build and maintain backend API endpoints using FastAPI.
  • Data Analysis: Parse Spark event logs and detect optimization opportunities using DuckDB.
  • TDD Enforcement: Strictly follows the Red-Green-Refactor-Verify cycle for all development.
  • Use Case: When developing a new feature to detect data skew in Spark jobs, activate this skill to ensure the new detector is implemented following TDD principles, integrates seamlessly with the existing API, and is thoroughly tested.

Quick Start

Use the backend-dev skill to implement a new detector for identifying broadcast join opportunities in Spark event logs.

Frequently Asked Questions about PrepRabbit Backend Development Skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build FastAPI endpoints using Test-Driven Development in Python?

Build FastAPI endpoints using Test-Driven Development by strictly applying the Red-Green-Refactor-Verify cycle. This ensures API endpoint creation is thoroughly tested throughout development and integrates seamlessly with existing Python backend services.

How do I parse Spark event logs to detect optimization opportunities?

Parse Spark event logs to detect optimization opportunities by analyzing the log data using DuckDB. This approach allows you to identify specific performance improvements, such as detecting data skew or finding broadcast join opportunities in your Spark jobs.

What is the best way to implement a data skew detector for Spark jobs?

The best way to implement a data skew detector for Spark jobs is to follow strict TDD principles and a Spark-centric architecture. This ensures the new detector is thoroughly tested and integrates seamlessly with your existing FastAPI backend.

Can I use DuckDB for optimization detection in a FastAPI backend?

You can use DuckDB for optimization detection within a FastAPI backend. It processes parsed Spark event logs to identify performance bottlenecks like data skew and broadcast join opportunities while maintaining a Python-based Spark-centric architecture.

Does backend API development require the Red-Green-Refactor-Verify cycle?

Backend API development requires the Red-Green-Refactor-Verify cycle when adhering to strict Test-Driven Development methodologies. This cycle enforces writing failing tests first, implementing code to pass them, refactoring, and verifying the final API behavior.