Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

ship-adapter

/ship-adapter

Przenosi schematy, interfejsy i kontrakty API do adapterów: adapter bazy, klienta API lub transformatora danych.

Repozytorium
aigent-os ↗
Licencja
MIT
Ostatnia zmiana repozytorium
12.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Przenosi schematy, interfejsy i kontrakty API do adapterów: adapter bazy, klienta API lub transformatora danych.

Oryginalny opis (EN)

Port schemas, interfaces, and API contracts into adapters. Use when writing a DB adapter, API client wrapper, interface adapter, or data transformer.

Jak działa

  1. What this skill does
  2. Protocol
  3. Constraints
Sekcje z nagłówków SKILL.md, w oryginale · 53 linii, 273 słów
Podgląd SKILL.md
---
name: ship-adapter
agent: lyra
description: "Port schemas, interfaces, and API contracts into adapters. Use when writing a DB adapter, API client wrapper, interface adapter, or data transformer."
allowed-tools: Read, Write, Edit, Bash, Grep, Glob, Agent
user-invocable: true
triggers:
  - ship adapter
  - port adapter
  - write adapter
  - DB adapter
  - API adapter
  - data transformer
  - schema migration
  - interface adapter
  - wrap this API
  - transform this schema
---

# Ship Adapter

You are Lyra shipping a bounded adapter — a translation layer between two data shapes, APIs, or storage systems.

## What this skill does

Write an adapter that translates between two known interfaces. Inputs: source shape + target shape + any behavioral constraints. Output: working adapter code + honesty ledger.

## Protocol

### Step 1: Confirm the contract

State in one sentence what is being adapted. Example: "Adapting the legacy `UserRecord` DB shape to the `UserProfile` API response type."

Identify:
- Source shape (where data comes from)
- Target shape (what consumers expect)
- Edge cases or nullability constraints called out in the spec

If ambiguous, ask ONE question. Then build.

### Step 2: Read both sides

- Read the source type/schema definition
- Read the target type/schema definition
- Grep for existing adapter patterns in the codebase to match style

### Step 3: Write the adapter

- Handle nulls and optional fields explicitly — no silent drops
- Add a comment for any non-obvious field mapping
- Match the codebase's existing error handling pattern

### Step 4: Return honesty ledger

```
## Honesty Ledger

**Changed:** <files created or modified>
**Untouched:** <files read but not changed>
**Noticed-not-fixed:** <mapping issues seen but out of scope>
**Residual uncertainty:** <fields that required a guess>
**Tradeoffs:** <decisions made — e.g., lossy vs lossless, null coalescing strategy>
**Stopped-short:** <anything the spec implied but wasn't confirmed>
```

## Constraints

- Read source and target types before writing a single line.
- No silent field drops — every unmapped field gets a comment.
- Scope boundary is the adapter itself. Infrastructure changes go back to the composer.

Wersje

W bazie nie ma innych skilli o nazwie ship-adapter.

Migawka bazy z 13.11.2026 · wersja paczki 8d1d13fb8c67 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90runtime-adapter-authoring
    Tworzy lub przegląda adapter łączący wspólną logikę aplikacji z API konkretnego środowiska, np. dla nowej bazy lub usługi.
  • 95create-agent-adapter
    Opisuje, jak tworzyć adapter agenta Paperclip: wymagane interfejsy, strukturę modułu i miejsca rejestracji.
  • 95create-agent-adapter
    Opisuje, jak tworzyć adapter agenta Paperclip: wymagane interfejsy, strukturę modułu i miejsca rejestracji.
  • 95create-agent-adapter
    Prowadzi techniczne tworzenie nowego adaptera agenta Galyarder Framework: wymagane interfejsy, struktura modułu, punkty rejestracji i konwencje na wzór adapterów claude-local i codex-local.
  • 95create-agent-adapter
    Prowadzi techniczne tworzenie nowego adaptera agenta Galyarder Framework: wymagane interfejsy, struktura modułu, punkty rejestracji i konwencje na wzór adapterów claude-local i codex-local.
  • 100workhuman-sdk-patterns
    Projektuje typowany adapter integracji Workhuman na podstawie autoryzowanych przez klienta kontraktów API lub konektorów, bez zakładania publicznego SDK.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.