Agent skill · software engineering · aiskillstore

fiftyone-code-style

Write Python code following FiftyOne's official conventions. Use when contributing to FiftyOne, developing plugins, or writing code that integrates with FiftyOne's codebase.

Why this skill is useful

Provides specific coding conventions and patterns for integrating with the FiftyOne codebase that the AI wouldn't reliably generate on its own.

What it needs

About 4k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

FiftyOne Code Style Module Template Import Organization Four groups, alphabetized within each: Group Example ------- --------- 1. Standard library import logging, import os 2. Third-party import numpy as np, from PIL import Image 3. eta packages import eta.core.utils as etau 4. FiftyOne import fiftyone.core.labels as fol FiftyOne Import Aliases Module Alias -------- ------- fiftyone fo fiftyone.core.labels fol fiftyone.core.fields fof fiftyone.core.media fom fiftyone.core.storage fos fiftyone.core.utils fou fiftyone.utils.image foui fiftyone.utils.video fouv Docstrings (Google-Style) Function Docstring Class Docstring Key patterns: Args with defaults: param (default): description Multi-line descriptions: indent continuation Cross-references: :class:fiftyone.module.Class Private Functions Lazy Imports Use fou.lazyimport() for optional/heavy dependencies: When to use: Heavy packages (open3d, tensorflow, torch) Optional dependencies (pycocotools) Circular import prevention Guard Patterns Use hasattr() for conditional behavior: Error Handling Use logger.warning() for non-fatal errors: Avoid Redundant Implementations Before writing new functions, check if FiftyOne already provides the functionality. Common Utilities in fiftyone.core.utils (fou) Function Purpose ---------- --------- fou.lazyimport() Lazy module loading fou.ensurepackage() Install missing package fou.ensureimport() Verify import available fou.extractkwargsforclass() Split kwargs for class fou.loadxmlasdict() Parse XML to dict fou.getdefaultexecutor() Get thread pool executor Common Utilities in eta.core.utils (etau) Function Purpose ---------- --------- etau.guessmimetype() Detect file MIME type etau.isstr() Check if string etau.ensuredir() Create directory if missing etau.ensurebasedir() Create parent directory etau.maketempdir() Create temp directory Before Writing New Code 1. Search existing modules for similar functionality: 2. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/fiftyone-code-style

View the source on GitHub

Browse the @skills marketplace