跳到正文
cccskills
免费在 GitHub 公开

ship-adapter

Lyra's adapter-shipping skill. Ports a schema, interface, or API contract from one shape to another — DB adapters, API client wrappers, data transformers. Bounded scope, honesty ledger on delivery.

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os星标 25(GitHub 25 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md2.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Track and surface sub-agent dispatch calibration ratios. Extract from JSONL transcript or read existing ledger. Per-agent clean/blocked/errored/partial trends.

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

Compose the AIgent's body state by reading existing signals. Lazy compute. Never polled. Reports the five pressures + recommended reflex.

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

brief

免费

Generate a structured delegation brief for any task

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

Quarterly skill that walks the skill-index against the actual SKILL.md files on disk, reports drift (skills indexed that no longer exist, skills on disk that aren't enrolled, skills whose descriptions have changed since enrollment). Hardens the auto-enrollment pipeline against silent rot.

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

When a [CADDY] hint fires and the principal is confused why, /caddy-explain walks the scoring transparently — which trigger matched, what points it earned, what the threshold was, what other skills were close. Pairs with the legibility thesis. Caddy's decisions should be inspectable on demand.

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

Enroll a skill into Caddy's index so it can be surfaced when the right prompt arrives. Use when a new skill is created, copied in, or when a skill needs updated triggers. Usage — "/caddy-enroll <path to SKILL.md>".

中文简介正在准备中。当前显示原文说明。

wrg32786/aigent-os252026年10月29日 更新

查看 wrg32786 的全部技能

报告此技能的问题