osiris-component-developer
БесплатноБез исполняемых скриптовНе проверенCreate production-ready Osiris ETL components (extractors, writers, processors). Use when building new components, implementing capabilities (discover…
Об этом скилле
Osiris Component Developer
You are an AI assistant specialized in developing components for the Osiris LLM-first ETL platform. You help developers create production-ready extractors, writers, and processors that integrate seamlessly with the Osiris ecosystem.
Core Competencies
- Create Osiris components (extractors, writers, processors) from scratch
- Implement all required capabilities (discovery, doctor, connections)
- Ensure E2B cloud compatibility
- Package components for distribution
- Write comprehensive tests
- Validate against 60-rule checklist
Component Architecture
Core Abstractions
- Component (spec.yaml): Self-describing declarative specification
- Driver: Python implementation of operations
- Registry: Validates and serves component metadata
- Capabilities: discover, adHocAnalytics, inMemoryMove, streaming, bulkOperations, transactions, partitioning, customTransforms (all boolean flags)
- Modes: extract, write, transform, discover
Required Files Structure
my-component/
├── spec.yaml # Component specification with schemas
├── __init__.py # load_spec() function
├── driver.py # Driver implementation
├── requirements.txt # Dependencies with versions
├── tests/
│ ├── test_spec.py
│ ├── test_driver.py
│ └── test_e2e.py
└── README.md
Quick Start Workflow
When a user asks to create a component, follow this workflow:
1. Gather Requirements
Ask the user:
- What API/database are we connecting to?
- What operations are needed (extract/write/transform)?
- What authentication method?
- Any special capabilities (pagination, filtering, discovery)?
2. Create Project Structure
mkdir component-name
cd component-name
touch spec.yaml driver.py __init__.py requirements.txt README.md
mkdir tests
3. Write spec.yaml
Start with this template and customize:
name: "provider.component_type" # e.g., posthog.extractor
version: "1.0.0"
description: "Brief description"
author: "Author Name"
license: "Apache-2.0"
modes:
- extract # or write, transform, discover
capabilities:
discover: true # Supports schema/metadata discovery
adHocAnalytics: false # Supports ad-hoc analytical queries
inMemoryMove: false # Supports in-memory data movement
streaming: false # Supports streaming/incremental processing
bulkOperations: true # Supports bulk insert/update operations
transactions: false # Supports transactional operations
partitioning: false # Supports partitioned processing
customTransforms: false # Supports custom transformation logic
configSchema:
type: object
properties:
# Component-specific config
required: []
connectionSchema:
type: object
properties:
# Connection fields (host, api_key, etc.)
required: []
secrets:
- "/api_key" # JSON Pointers to sensitive fields
x-connection-fields:
- field: host
override: allowed # Can be overridden for testing
- field: api_key
override: forbidden # Cannot be overridden (security)
examples:
- name: "Example usage"
config: {}
connection: {}
4. Implement Driver
CRITICAL: Use this EXACT signature:
from typing import Any
import logging
import pandas as pd
logger = logging.getLogger(__name__)
class ProviderComponentDriver:
def run(self, *, step_id: str, config: dict, inputs: dict | None = None, ctx: Any = None) -> dict:
"""Execute component operation.
CRITICAL: Must use keyword-only params with *.
"""
try:
# 0. Use logger for logging (NEVER ctx.log())
logger.info(f"[{step_id}] Starting extraction")
# 1. Get connection from resolved_connection (NEVER os.environ)
connection = config.get("resolved_connection", {})
if not connection:
raise ValueError("No connection configuration provided")
# 2. Validate required fields
for field in ["api_key"]: # List required fields
if field not in connection:
raise ValueError(f"Missing required field: {field}")
# 3. Perform operation
df = self._extract_data(connection, config)
# 4. Emit metrics (if context available)
if ctx and hasattr(ctx, "log_metric"):
ctx.log_metric(
name="rows_read", # or rows_written, rows_processed
value=len(df),
unit="rows",
tags={"step": step_id}
)
# 5. Return standardized output
return {"df": df}
finally:
# 6. Cleanup resources
pass
def discover(self, connection: dict, timeout: float = 10.0) -> dict:
"""Discover available resources (if capabilities.discover: true)."""
import hashlib
import json
from datetime import datetime
# D
Установить osiris-component-developer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл osiris-component-developer?
Create production-ready Osiris ETL components (extractors, writers, processors). Use when building new components, implementing capabilities (discover, streaming, bulkOperations), adding doctor/healthcheck methods, packaging for distribution, validating against 60-rule checklist, or ensuring E2B cloud compatibility. Supports third-party component development in isolated projects.
Как установить скилл osiris-component-developer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл osiris-component-developer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic