Changeset doc sync

From udecode/kitcn · View interactive version

Changeset doc sync is an AI agent skill from the GitHub repository udecode/kitcn. Read every doc in www and packages/kitcn/skills/kitcn, sync to active changeset(s), and track with checkmarks.

How to use this skill

Skill file

Changeset Doc Sync

Use this workflow when release docs must match current changeset content.

Mandatory sequence

  1. Run preflight migration review from /example before docs sync:
  1. Plan first through the Plan playbook (.agents/playbooks/plan.md) and the plan-page skill:
  1. Resolve active changeset target(s):
  1. Build execution checklists in the plan:
  1. Read every listed doc and sync:
  1. Completion gates:

Non-negotiable checklist rules

  1. Do not summarize file coverage in the plan (for example, "56 files scanned").

You must list each file explicitly with its own checkbox.

  1. Every processed file must be marked:
  1. A run is incomplete if even one file remains unchecked in either checklist.
  2. Any changed /example file without a mapped doc check or no doc impact note is a hard failure.
  3. Do not close the run until /example diff, changeset bullets, and updated docs are all cross-referenced.

Plan checklist template (required)

### Phase: Doc Sync Checklist (www)

- [ ] `www/content/docs/a.mdx` — pending
- [ ] `www/content/docs/b.mdx` — pending

### Phase: Doc Sync Checklist (packages/kitcn/skills/kitcn)

- [ ] `packages/kitcn/skills/kitcn/SKILL.md` — pending
- [ ] `packages/kitcn/skills/kitcn/references/setup/index.md` — pending

### Phase: /example-to-doc Crosswalk (required)

- [ ] `example/convex/shared/api.ts` -> `www/content/docs/cli/backend.mdx`, `www/content/docs/react/infer-types.mdx` — pending
- [ ] `example/src/lib/convex/crpc.tsx` -> `www/content/docs/react/index.mdx` — pending
- [ ] `example/src/lib/convex/rsc.tsx` -> `www/content/docs/nextjs/index.mdx`, `www/content/docs/server/server-side-calls.mdx` — pending
- [ ] `example/src/lib/convex/server.ts` -> `www/content/docs/nextjs/index.mdx` — pending
- [ ] `example/convex/functions/http.ts` -> `www/content/docs/server/http.mdx` — pending
- [ ] `example/convex/shared/types-typecheck.ts` -> `www/content/docs/react/infer-types.mdx` — pending

Checklist template

# Doc Sync Checklist

## Changesets

- [x] `.changeset/your-file.md`

## www docs

- [ ] `www/path/to/doc.mdx` — pending

## packages/kitcn/skills/kitcn docs

- [ ] `packages/kitcn/skills/kitcn/SKILL.md` — pending
- [ ] `packages/kitcn/skills/kitcn/references/setup/index.md` — pending

## Synced

- [x] `www/path/to/doc.mdx` — updated for `@convex/api` migration
- [x] `packages/kitcn/skills/kitcn/references/setup/index.md` — no change needed

Suggested commands

git diff --name-only -- example
git diff --stat -- example
git diff -- example
find .changeset -maxdepth 1 -type f -name '*.md' ! -name 'README.md' | sort
find www -type f \( -name '*.md' -o -name '*.mdx' \) | sort
{ echo 'packages/kitcn/skills/kitcn/SKILL.md'; find packages/kitcn/skills/kitcn/references -type f -name '*.md' | sort; }
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.