voxel51/fiftyone-skills/fiftyone-code-style
Claude Code and agent skill by voxel51/fiftyone-skills
- community
Checking that the SKILL.md file is still in the repository.
Writes Python code following FiftyOne's official conventions. Use when contributing to FiftyOne, developing plugins, or writing code that integrates with FiftyOne's codebase.
Install
npx vskill@latest install voxel51/fiftyone-skills/fiftyone-code-styleSKILL.md
The same SKILL.md was published earlier as voxel51/fiftyone-skills/fiftyone-code-style.
FiftyOne Code Style
Module Template
Import Organization
Four groups, alphabetized within each, separated by blank lines:
| Group | Example | |
|---|---|---|
| 1. Standard library | import logging, import os | |
| 2. Third-party | import numpy as np | |
| 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)
Key patterns:
- Args with defaults:
param (default): description - Multi-line descriptions: indent continuation
- Cross-references:
:class:fiftyone.module.Class``
Lazy Imports
Use fou.lazy_import() for optional/heavy dependencies:
Guard Patterns
Use hasattr() for optional attributes:
Error Handling
Use logger.warning() for non-fatal errors:
Avoid Redundant Code
Before writing new functions, search for existing implementations:
- Local: search the FiftyOne source if available in the environment
- Remote: search
https://github.com/voxel51/fiftyone - Check
fiftyone/core/utils.pyandfiftyone/utils/*first
Common Utilities
| Module | Functions | |
|---|---|---|
fou | lazy_import(), ensure_package(), extract_kwargs_for_class() | |
etau | guess_mime_type(), ensure_dir(), make_temp_dir() |
Quick Reference
| Pattern | Convention | |
|---|---|---|
| Module structure | Docstring → imports → logger → public → private | |
| Private functions | _prefix | |
| Docstrings | Google-style with Args/Returns/Raises | |
| Error handling | logger.warning() for non-fatal | |
| Lazy imports | fou.lazy_import() for optional deps | |
| Guard patterns | hasattr() checks | |
| Import aliases | fo, fol, fof, fom, fos, fou |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/fiftyone-code-style/SKILL.md
Popularity
- Repository stars
- 36
- Repository forks
- 7
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 25 Apr 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/voxel51/fiftyone-skills/fiftyone-code-style)