reference-data-loader-add

Adds an in-memory reference-data loader for FlightJar Docker images.

55|1|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/MrSuttonmann/flightjar --skill reference-data-loader-add
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reference-data-loader-add
Source: https://github.com/MrSuttonmann/flightjar/tree/main/.claude/skills/reference-data-loader-add
Command: npx skills add https://github.com/MrSuttonmann/flightjar --skill reference-data-loader-add

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

FlightJar needs a reliable way to bundle static reference data (like aircraft types, airports, and airlines) into the Docker image and access it at startup without external dependencies.

Core Features & Use Cases

  • In-memory, read-only reference data loaded at startup for fast, deterministic lookups.
  • Atomic swap of the backing dictionaries to avoid race conditions during restarts and upgrades.
  • DI-friendly design with a single loader class, ready to wire into the application startup sequence.

Quick Start

Drop a data file into /data and restart FlightJar to load it at startup.

Frequently Asked Questions about reference-data-loader-add

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

FAQPage Schema
How do I load static reference data into a .NET Docker image at startup?

To load static reference data into a .NET Docker image at startup, implement a loader class that reads bundled datasets and registers them via dependency injection in Program.cs for fast in-memory lookups.

What is the best way to bundle read-only datasets like airports and airlines in a C# application?

Bundling read-only datasets in a C# application is best achieved by packing static files into the Docker image and loading them into memory at startup, ensuring deterministic access without external database dependencies.

Can I avoid race conditions when reloading reference data in a dotnet service?

You can avoid race conditions when reloading reference data in a dotnet service by using atomic FrozenDictionary swaps, which safely replace the backing data structure without locking read operations.

Does the FlightJar reference-data loader support async loading interfaces?

The FlightJar reference-data loader supports async operations by satisfying the loader interface with LoadFromAsync and LoadFirstAvailableAsync methods, allowing non-blocking startup data initialization.

How do I add a new reference-data file to a Docker container using a frozen dictionary loader?

To add a new reference-data file to a Docker container, drop the dataset into the /data directory and restart the service; the frozen dictionary loader automatically reads and loads it at startup.