voxel51/fiftyone-skills/fiftyone-develop-plugin
Claude Code and agent skill by voxel51/fiftyone-skills
- community
Checking that the SKILL.md file is still in the repository.
Develops custom FiftyOne plugins (operators and panels) from scratch. Use when creating plugins, extending FiftyOne with custom operators, building interactive panels, or integrating external APIs.
Install
npx vskill@latest install voxel51/fiftyone-skills/fiftyone-develop-pluginSKILL.md
Develop FiftyOne Plugins
TL;DR — Read This First
Step 1: Decide what you're building.
| Goal | Type | Read next | |
|---|---|---|---|
| Run a computation, process samples, trigger actions | Operator | PYTHON-OPERATOR.md | |
| Persistent panel in the grid, simple/form UI | Python Panel | PYTHON-PANEL.md | |
| Persistent panel in the grid, rich/interactive UI | Hybrid Panel | HYBRID-PLUGINS.md + JAVASCRIPT-PANEL.md | |
| Panel that opens inside the sample modal | JS Modal Panel | JAVASCRIPT-PANEL.md |
Step 2: Read that file NOW — before generating any code. Each file contains patterns that are not in SKILL.md. Missing them causes the most common failures (wrong default= usage, handler binding errors, panel not appearing in App).
If something isn't rendering or you hit an error: Read TROUBLESHOOTING.md for the one-shot diagnostic command, reload vs restart table, and the top 5 error patterns with exact fixes.
For input types, Panel UI components reference, and a minimal working example: Read QUICK-REFERENCE.md.
Step 3: Clone the official plugins repo for reference patterns:
Step 4: Install your plugin by placing it (or symlinking it) in the plugins directory:
Step 5: Launch in debug mode so you see all server logs:
Key Directives
ALWAYS follow these rules:
1. Understand before coding
Ask clarifying questions. Never assume what the plugin should do.
2. Plan before implementing
Present file structure and design. Get user approval before generating code.
3. Search existing plugins for patterns
4. Test locally before done
Write tests:
- Python:
pytestfor operators/panels - JavaScript:
vitestfor React components
Verify in FiftyOne App before done.
5. Test complex logic outside the plugin first
If the plugin wraps non-trivial processing (model inference, image transforms, external APIs), verify that logic works as standalone Python before integrating it into the plugin:
This prevents debugging two systems (plugin framework + custom logic) at once.
6. Iterate on feedback
Run server separately to see logs:
For automated iteration, use Playwright e2e tests:
Refine until the plugin works as expected.
Critical Patterns
Gotcha 1 — default= must never reference state (causes infinite render loops)
The default= value is part of the schema the frontend uses to decide whether to re-render. If it changes between renders (because state changed), the frontend re-dispatches, which re-renders, infinitely.
Gotcha 2 — Event handlers must be bound instance methods, not static methods
The framework reads handler.__self__.uri to build the operator-trigger URI. A @staticmethod has no __self__, so the wiring silently fails and button clicks do nothing.
Gotcha 3 — Missing register(p) is a silent failure
The plugin loader calls module.register(self) after importing __init__.py. If the function is missing, raises an exception, or simply doesn't call p.register(YourClass) for a class, that class is never inserted into the operator registry. The App shows the plugin as enabled in list_plugins() — no error, no warning — but the operator or panel is completely invisible. This is the most common cause of "my panel doesn't appear in the + New panel menu."
Convention on directory naming: Use myorg_my_plugin (underscores, no @ or -) for clarity and shell compatibility. This is convention, not a hard requirement — the loader derives the module name from fiftyone.yml's name: field and sanitizes it automatically. The @org/name URI belongs in fiftyone.yml; the directory just needs to contain that file.
Operator Execution
View Selection
Store Keys (Avoid Collisions)
Panel State vs Execution Store
Delegated Execution
Use for operations that: process >100 samples or take >1 second.
Progress Reporting
Custom Runs (Auditability)
Use Custom Runs for operations needing reproducibility and history tracking:
See PYTHON-OPERATOR.md for full Custom Runs pattern. See EXECUTION-STORE.md for advanced caching patterns. See HYBRID-PLUGINS.md for Python + JavaScript communication.
Workflow
Phase 1: Requirements
Understand what the user needs to accomplish:
- "What problem are you trying to solve?"
- "What should the user be able to do?" (user's perspective)
- "What information does the user provide?"
- "What result does the user expect to see?"
- "Any external data sources or services involved?"
- "How will this fit into the user's workflow?"
Phase 2: Design
- Search existing plugins for similar patterns
- Choose the right panel architecture:
- Modal panel (appears in sample modal) → Use JS Panel + Python Operators. See JAVASCRIPT-PANEL.md — Modal Panels. Do NOT use
composite_view=True— it produces "Unsupported View" errors for modal panels. - Grid panel with rich UI → Use hybrid (Python + JavaScript). See HYBRID-PLUGINS.md.
- Grid panel with simple UI → Use Python-only. See PYTHON-PANEL.md.
- Create plan with:
- Plugin name (
@org/plugin-name) - File structure
- Operator/panel specs
- Input/output definitions
- Get user approval before coding
See PLUGIN-STRUCTURE.md for file formats.
Phase 3: Generate Code
Before writing any code, read the reference file for your plugin type:
| Building… | Read this file first | |
|---|---|---|
| Operator | [PYTHON-OPERATOR.md](PYTHON-OPERATOR.md) — input types, execution patterns, placement | |
| Python panel | [PYTHON-PANEL.md](PYTHON-PANEL.md) — layout containers, state/data/store, event lifecycle | |
| JS/hybrid panel | [JAVASCRIPT-PANEL.md](JAVASCRIPT-PANEL.md) + [HYBRID-PLUGINS.md](HYBRID-PLUGINS.md) — React components, Python↔JS bridge | |
| Persistent storage | [EXECUTION-STORE.md](EXECUTION-STORE.md) — TTL caching, cross-session state | |
| Something not rendering / errors | [TROUBLESHOOTING.md](TROUBLESHOOTING.md) — one-shot diagnostic, top 5 errors, reload vs restart | |
| Input types, Panel UI components, minimal example | [QUICK-REFERENCE.md](QUICK-REFERENCE.md) — lookup tables and copy-paste starting point |
Create these files:
| File | Required | Purpose | |
|---|---|---|---|
fiftyone.yml | Yes | Plugin manifest | |
__init__.py | Yes | Python operators/panels | |
requirements.txt | If deps | Python dependencies | |
package.json | JS only | Node.js metadata | |
src/index.tsx | JS only | React components |
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 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-develop-plugin/SKILL.md
Popularity
- Repository stars
- 25
- Repository forks
- 4
- 7-day trend score
- 16
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 31 Mar 2026, 8 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-develop-plugin)