Abstract base class for platform-specific skill adaptors. Each platform (Claude, Gemini, OpenAI) implements this interface to handle platform-specific SKILL.md formatting, package structure, upload endpoints, and optional AI enhancement.
| Visibility | Name | Type | Description |
|---|---|---|---|
| public | PLATFORM | str | |
| public | PLATFORM_NAME | str | |
| public | DEFAULT_API_ENDPOINT | str | None | |
| public | config | dict[str, Any] |
| Visibility | Name | Description |
|---|---|---|
| public | format_skill_md() | |
| public | package() | |
| public | upload() | |
| public | validate_api_key() | |
| public | supports_enhancement() | |
| public | get_env_var_name() | |
| public | enhance() | |
| private | _read_existing_content() | |
| private | _extract_quick_reference() | |
| private | _read_skill_md() | |
| private | _read_frontmatter() | |
| private | _build_skill_metadata() | |
| private | _iterate_references() | |
| private | _build_metadata_dict() | |
| private | _maybe_chunk_content() | |
| private | _format_output_path() | |
| private | _generate_deterministic_id() | |
| private | _generate_openai_embeddings() | |
| private | _generate_st_embeddings() | |
| private | _generate_toc() |
| Name | Value |
|---|---|
| name | SkillAdaptor |
| stereotype | null |
| visibility | public |
| isAbstract | true |
| isFinalSpecialization | false |
| isLeaf | false |
| isActive | false |