Skill / SKILL.md

Openbot Data Access

CopilotKit/OpenBot

Governs how the OpenBot browser app reads and writes server data. An operation in api/openapi.yaml is called only through the client generated from it (app/src/lib/api/generated), anything else through `client` in app/src/lib/client.ts; every read is a queryOptions factory in app/src/lib/<entity>/queries.ts, every write a mutationOptions factory in app/src/lib/<entity>/mutations.ts, consumed through useQuery/useMutation. Use when adding or changing a screen that loads server data, calling a /api/... endpoint from the browser, changing api/openapi.yaml, adding a query key, writing a create/update/delete flow, deciding where a fetch belongs, or reviewing a diff that contains the word fetch under app/src. Don't use for the server's own route handlers (that is not browser code), for form validation schemas (those live in lib/<entity>/form.ts), for page layout and Item rows, or for the AG-UI stream itself, which the runtime carries rather than the client.
1 views 13,846 repository starsUpdated Nov 28, 2026
Overview

Governs how the OpenBot browser app reads and writes server data. An operation in api/openapi.yaml is called only through the client generated from it (app/src/lib/api/generated), anything else through `client` in app/src/lib/client.ts; every read is a queryOptions factory in app/src/lib/<entity>/queries.ts, every write a mutationOptions factory in app/src/lib/<entity>/mutations.ts, consumed through useQuery/useMutation. Use when adding or changing a screen that loads server data, calling a /api/... endpoint from the browser, changing api/openapi.yaml, adding a query key, writing a create/update/delete flow, deciding where a fetch belongs, or reviewing a diff that contains the word fetch under app/src. Don't use for the server's own route handlers (that is not browser code), for form validation schemas (those live in lib/<entity>/form.ts), for page layout and Item rows, or for the AG-UI stream itself, which the runtime carries rather than the client.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/CopilotKit/OpenBot' skill-source

Use the complete skill-source/.claude/skills/openbot-data-access directory with your client’s skill installer.

  • .claude/skills/openbot-data-access Claude Code

    main · SKILL.md

    Open installation source

    Client installation directory present in source repository

Source directory .claude/skills/openbot-data-access

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
88d62c5d2d8e11102d1fd17f962ca9a740e8a2265a5e5f3f74d60fd629e7546e
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills