restapi skills

22 tagged restapi, measured the same way as everything else here.

Browse within: crud 22nodejs 22rest 22rest-api 22restful 22

add-adr

01

kavo-labs/kavo

Skill Claude CodeCodex

When and how to write a new ADR in docs/internals/adr/ — numbering, required sections, and how it must connect to code and the architecture docs. Use when a change makes a load-bearing decision (a seam, an invariant, a boundary rule) rather than just implementing one already on record.

12 today A 66 tokens Apache-2.0

add-config-key

02

kavo-labs/kavo

Skill Claude CodeCodex

How to add a new key to KavoSettings — schema, default, merge semantics, validation, and docs — through the one layered precedence chain (global → entity → operation → per-call). Use when a change needs a new configurable behavior rather than a hardcoded constant.

12 today A 59 tokens Apache-2.0

add-exception

03

kavo-labs/kavo

Skill Claude CodeCodex

How to add a new Kavo exception — hierarchy placement, error-code catalog entry, problem-details wiring, and adapter error mapping. Use when a change needs to signal a new failure mode to callers rather than reusing an existing exception.

12 today A 51 tokens Apache-2.0

add-operation

04

kavo-labs/kavo

Skill Claude CodeCodex

The end-to-end procedure for adding, overriding, or disabling a Kavo operation — registry entry, DTO slots, handler, route metadata, and tests. Use when a change introduces a new CRUD operation or a custom per-entity operation.

12 today A 51 tokens Apache-2.0

conventions

05

kavo-labs/kavo

Skill Claude CodeCodex

The canonical type: scheme shared by issue labels, branch names, and commit message prefixes. Use when labeling an issue, naming a branch, or writing a commit message.

12 today A 38 tokens Apache-2.0

write-tests

06

kavo-labs/kavo

Skill Claude CodeCodex

How to write tests for the Kavo monorepo — file placement, Vitest/SWC setup, fixtures, and the cases every change must pin down. Use when adding or updating tests in packages/core, packages/orms/typeorm, or packages/frameworks/nest.

12 today A 59 tokens Apache-2.0

writing-kavo-docs

07

kavo-labs/kavo

Skill Claude CodeCodex

Use when writing a new page under docs/ or editing an existing one — new feature/guide/reference pages, ADR-adjacent architecture notes, or prose edits to docs already in the tree. Covers matching Kavo's dense, code-first doc voice and running a humanizer pass before landing the page.

12 today A 67 tokens Apache-2.0

kavo-labs/kavo

Skill Claude CodeCodex

Reference for composite primary key support in @kavo/typeorm — the compositeIdFields metadata field, the -delimited route-id encoding, the creatable/updatable split, and every place composite keys don't yet work (other ORM adapters, many-to-many array-mutation, @kavo/graphql). Use when an entity has more than one…

12 today A 99 tokens Apache-2.0

dto-slots

09

kavo-labs/kavo

Skill Claude CodeCodex

Reference for Kavo's six optional DTO slots (create/update/patch/query/item/list) — entity-derived defaults, the dtoShapeKeys narrowing rule, and serialization order. Use when registering a DTO class on @Kavo's dto option, or answering "why isn't my field showing/hiding" or "what shape does this response have"…

12 today A 74 tokens Apache-2.0

error-handling

10

kavo-labs/kavo

Skill Claude CodeCodex

Reference for Kavo's exception hierarchy, KAVO error-code catalog, and the RFC 9457 problem-details wire shape every generated route returns on failure. Use when handling/mapping a Kavo error, deciding which exception to throw from a custom handler/@Override, or answering "what does the error response look like"…

12 today A 72 tokens Apache-2.0

global-config

11

kavo-labs/kavo

Skill Claude CodeCodex

Reference for Kavo's global configuration — the KavoSettings precedence chain, built-in defaults table, KavoModule.forRoot/forRootAsync options, and the operations. global-default caveat (ADR-0015). Use when wiring createKavo/KavoModule.forRoot, setting app-wide defaults, or answering "what can I configure globally"…

12 today A 78 tokens Apache-2.0

graphql-binding

12

kavo-labs/kavo

Skill Claude CodeCodex

Reference for @kavo/graphql and its Nest binding — building a schema over an existing createCrud service, the raw-AST filter/sort args, multi-entity merging, the process-wide type registry, and the zero-code KavoModule graphql option. Use when exposing an entity over GraphQL, or answering "how do I add GraphQL to this…

12 today A 78 tokens Apache-2.0

kavo-decorator

13

kavo-labs/kavo

Skill Claude CodeCodex

Reference for what @Kavo(Entity, config?) generates and how to configure/override it — routes table, EntityConfig shape (dto/allowlists/operations), manual-method-wins, @Override, and fully custom routes. Use when writing or reviewing a @Kavo-decorated controller, or answering "how do I configure/override this route"…

12 today A 79 tokens Apache-2.0

mcp-binding

14

kavo-labs/kavo

Skill Claude CodeCodex

Reference for @kavo/mcp and its Nest binding — the standard per-entity toolset, findMany's raw-AST filter/sort args, flat update/patch args, isError result mapping, the zero-config KavoModule mcp option, and the fact that the default MCP route carries no auth guard. Use when exposing entities to an MCP client, or…

12 today A 93 tokens Apache-2.0

mikroorm-adapter

15

kavo-labs/kavo

Skill Claude CodeCodex

Wiring @kavo/mikroorm into a Nest app — passing the MikroORM instance rather than an EntityManager, why no RequestContext middleware is needed, opt-in case-insensitive filtering, declared soft delete, and native cross-relation filtering. Use when adding Kavo to a MikroORM project, or answering "how do I use Kavo with…

12 today A 92 tokens Apache-2.0

mongoose-adapter

16

kavo-labs/kavo

Skill Claude CodeCodex

Wiring @kavo/mongoose into a Nest app — models as entity identities, ObjectId rendered as hex strings and id-keyed DTOs, declared soft delete, ref paths as relation and foreign key at once, and the cross-relation filter that is refused. Use when adding Kavo to a Mongoose/MongoDB project, or answering "how do I use…

12 today A 97 tokens Apache-2.0

policy

17

kavo-labs/kavo

Skill Claude CodeCodex

Reference for Kavo's policy authorization DSL — permission()/role()/owner()/authenticated()/filtered()/when() composed with and()/or()/not(), config placement, entity-aware nodes, enforcement order, and the authorization.required default-deny switch. Use when gating an operation on the caller (403 KAVOFORBIDDEN)…

12 today A 94 tokens Apache-2.0

prisma-adapter

18

kavo-labs/kavo

Skill Claude CodeCodex

Wiring @kavo/prisma into a Nest app — the marker classes Prisma entities need, createInfrastructure's datamodel/entities options, case-insensitive filtering per database, and how the setup differs from the TypeORM path. Use when adding Kavo to a Prisma project, or answering "how do I use Kavo with Prisma" and "why…

12 today A 88 tokens Apache-2.0

query-grammar

19

kavo-labs/kavo

Skill Claude CodeCodex

Reference for the query-string grammar every generated Kavo route understands — filter operators, sort, field selection (fields/fields[relation]), pagination strategies, includes, withDeleted, and the security/coercion rules behind them. Use when writing API-consumer docs, constructing a request against a Kavo…

12 today A 83 tokens Apache-2.0

quick-start

20

kavo-labs/kavo

Skill Claude CodeCodex

Fastest path to a working Kavo API in a brand-new project, using TypeORM and SQLite specifically — npm install list, minimal tsconfig, a single plain entity (no DTOs), and a zero-config @Kavo controller. Use when scaffolding a new Kavo app from scratch or answering "how do I get started with Kavo" questions. For a…

12 today B 116 tokens Apache-2.0

soft-delete

21

kavo-labs/kavo

Skill Claude CodeCodex

Reference for Kavo's soft delete, restore, and purge behavior — strategy resolution (auto/soft/hard), enabling restoreOne/purgeOne, read semantics and withDeleted, and edge cases (unique constraints, cascades). Use when configuring softDelete, wiring restore/purge routes, or answering "what happens to a deleted row"…

12 today A 73 tokens Apache-2.0

swagger

22

kavo-labs/kavo

Skill Claude CodeCodex

Reference for Kavo's optional Swagger/OpenAPI integration — installing @nestjs/swagger, what generated routes document automatically, and what's still a manual addition. Use when adding API docs to a Kavo app, or answering "how do I get OpenAPI docs for these routes" questions.

12 today A 58 tokens Apache-2.0