Skip to main content

Module skill

Module skill 

Source
Expand description

Skill shapes.

These are the one corner of the contract that speaks camelCase — the console’s skills schemas predate the snake_case convention the rest of tapes uses. The models carry snake_case field names with the wire spelling attached, so a Rust call site reads like Rust and the bytes stay the document’s.

Structs§

CreateSkillRequest
The POST /v1/skills body for an authored-from- scratch skill — only a name is required; the rest default to an empty private draft.
GenerateSkillRequest
The POST /v1/skills/generate body. It mirrors the console’s GenerateSkillInput: the client nominates source sessions plus optional hints, and the server is authoritative on the skill body.
GenerateSkillRequestHint
The optional authoring hints on a generate request.
PublishSkillRequest
The POST /v1/skills/:slug/versions body.
SessionSkillsResponse
The envelope for the skills attributed to one session.
SkillCounts
The tab counts for the current search: all matching, authored by the caller (mine), and everyone else’s (team = all - mine).
SkillResponse
The unified Skill shape the console expects (camelCase).
SkillVersionResponse
One immutable published snapshot.
SkillVersionsResponse
The full version history for one skill, newest first.
SkillsListResponse
The paginated list envelope: one keyset page plus the opaque next_cursor (mirroring /v1/sessions) and the per-tab counts for the active search.
UpdateSkillRequest
The PUT /v1/skills/:slug body — all fields optional; only present fields are applied onto the existing record.