Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

api-doc

БесплатноБез исполняемых скриптовНе проверен

Generate or update reference documentation for a TabMerger API route under packages/web/app/api/.

lbragileот lbragile★ 192 звезды на GitHub

Об этом скилле

API doc

Documents one or more Next.js route handlers in packages/web/app/api/.

Known routes

ai/group-tabs/route.ts
ai/name-group/route.ts
ai/organize/route.ts
ai/organize/approve/route.ts
ai/suggest-sessions/route.ts
ai/tab-summary/route.ts
auth/callback/route.ts
auth/sign-out/route.ts
billing-portal/route.ts
checkout/route.ts
groups/[id]/publish/route.ts
portal/route.ts
sessions/[id]/route.ts
webhooks/stripe/route.ts

Steps

  1. Read the target route file(s). Note: for each exported handler (GET/POST/etc.) capture method, path (including dynamic segments), auth requirement (Bearer JWT / cookie session / none — webhook routes use Stripe signature instead), request body shape, response shape, and error responses.
  2. Cross-reference packages/shared/src/types/index.ts for the request/response types already defined there — reuse those names instead of re-describing the shape inline.
  3. Write output as a Markdown table or per-route block: Method Path, Auth, Request, Response, Errors, one-line purpose.
  4. Flag anything security-relevant while reading (missing auth check, service-role client used outside webhook/AI routes, req.json() used where raw body is required) — don't fix it, just note it and point to the right agent (web-dev, ai-features, or payments-security-reviewer).
  5. Ask the user where output should go before writing a new file (e.g. docs/api-reference.md) — don't assume a location; this repo's docs/ already holds architecture/integration docs, so check there first for an existing file to update instead of creating a duplicate.

Установить api-doc в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл api-doc?

Generate or update reference documentation for a TabMerger API route under packages/web/app/api/.

Как установить скилл api-doc?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл api-doc запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить api-doc с