# OpenCodeAdaptor

UMLClass
Skill Seekers :: skill_seekers :: Adaptors :: OpenCodeAdaptor

### Description

OpenCode platform adaptor. Generates directory-based skill packages with dual-format YAML frontmatter compatible with both OpenCode and Claude Code. Local file-based, no API endpoint.

### Generalized Elements

### Attributes

Visibility | Name | Type | Description
--- | --- | --- | ---
public | PLATFORM | str |
public | PLATFORM_NAME | str |
public | NAME_REGEX | re.Pattern |

### Operations

Visibility | Name | Description
--- | --- | ---
private | _to_kebab_case() |
public | format_skill_md() |
public | package() |
public | upload() |
public | validate_api_key() |
public | supports_enhancement() |

### Properties

Name | Value
--- | ---
name | OpenCodeAdaptor
stereotype | null
visibility | public
isAbstract | false
isFinalSpecialization | false
isLeaf | false
isActive | false

### Relationships

### Owned Elements

### Diagrams