Convex release audit

From udecode/kitcn · View interactive version

Convex release audit is an AI agent skill from the GitHub repository udecode/kitcn. Audit newer Convex npm releases against kitcn. Use when checking whether a newer `convex` version unlocks kitcn improvements, compatibility work, CLI/agent workflows, or cleanup of local Convex hacks. Reads `https://ship.convex.dev/`, the upstream Convex changelog, and GitHub diffs before handing on

How to use this skill

Skill file

Convex Release Audit

Handle $ARGUMENTS.

Goal: find newer Convex releases, extract work kitcn can actually use, then

hand one concrete implementation slice to the Build playbook

(.agents/playbooks/build.md), which lands it through

node .agents/pstack/land.mjs.

Plan

When this audit needs durable state, write a plan at

docs/plans/<date>-convex-release-audit.md, with its decision log beside it,

through the Plan playbook (.agents/playbooks/plan.md) and the plan-page

skill.

This plan owns version discovery, changelog reconciliation, upstream diff

evidence, kitcn leverage classification, the selected slice or no-action

verdict, and the build brief. Implementation still runs through the Build

playbook; do not duplicate its delivery inside the release-audit plan.

Rules

problem.

leverageable improvement.

fixes share the same implementation boundary.

vanity PR.

1. Establish Current And Target Versions

Find the currently pinned Convex version:

rg -n '"convex":' package.json packages/**/package.json example/package.json

Find the latest published version:

npm view convex version --json

If $ARGUMENTS names a target version, use it as the upper bound. Otherwise use

the latest npm version.

Record:

2. Read Both Changelogs

Read Ship:

curl -sL https://ship.convex.dev/

Read the upstream npm package changelog through gh, not browser scraping:

gh api \
  -H "Accept: application/vnd.github.raw" \
  repos/get-convex/convex-backend/contents/npm-packages/convex/CHANGELOG.md

Extract only the sections in range. Reconcile disagreements:

3. Read The Upstream Diff With `gh`

Use a local upstream clone for navigation, creating it only if missing:

test -d ../convex-backend/.git || gh repo clone get-convex/convex-backend ../convex-backend
git -C ../convex-backend fetch origin main --tags

Find refs for the current and target versions. Prefer tags if they exist:

git -C ../convex-backend tag -l "*<version>*" | sort
git -C ../convex-backend log --all --oneline -- npm-packages/convex/package.json

If tags are unclear, inspect version-bump commits in

npm-packages/convex/package.json and use the commit before/after each version

bump.

Read the compare through gh:

gh api \
  repos/get-convex/convex-backend/compare/<base-ref>...<target-ref> \
  --jq '.files[] | select(.filename | test("npm-packages/convex|cli|agent|dev|auth|codegen|deployment|function|schema")) | {filename,status,patch}'

If the compare is too large, narrow locally after proving the refs:

git -C ../convex-backend diff <base-ref>..<target-ref> -- \
  npm-packages/convex

4. Search Kitcn For Leverage

Search for local Convex integration points and hacks:

rg -n "CONVEX_AGENT_MODE|local-force-upgrade|skip-push|typecheck disable|codegen disable|convex dev|convex init|convex run|CONVEX_|Convex" \
  packages www .agents docs test

Also search institutional notes before proposing work:

rg -i --files-with-matches "convex|upgrade|agent|cli|dev|bootstrap|verify" docs/solutions

Read relevant hits, especially notes about:

5. Classify Opportunities

For each release item, classify it:

kitcn can expose.

machine-readable flows.

fake prompt handling, fallback path, or doc warning.

For every non-no-op, include:

Bias toward agentic and cleanup; kitcn exists to make Convex sharper for

humans and agents, not to mirror every upstream bullet.

6. Choose One PR Slice

Pick the highest-leverage slice using this order:

  1. compatibility breakage
  2. delete dirty hack made obsolete upstream
  3. agentic CLI unlock
  4. product feature kitcn can expose cleanly
  5. docs or skill-only update

If the winning slice touches published package code, the build must update

the active changeset and run bun --cwd packages/kitcn build.

If it touches scaffold templates, the build must run bun run fixtures:sync

and bun run fixtures:check.

7. Hand Off To The Build Playbook

Run the slice as "go" through the Build playbook

(.agents/playbooks/build.md) with a brief in this exact shape:

Implement this Convex release opportunity.

Current Convex: <version>
Target Convex: <version>

Opportunity: <one-sentence selected slice>
Class: <feature | compatibility | agentic | cleanup>

Evidence:
- Ship changelog: <short citation or summary>
- Convex changelog: <short citation or summary>
- Upstream diff: <refs and files>
- Kitcn evidence: <local files and docs/solutions notes>

Implementation:
- <specific files or boundaries to inspect first>
- <expected code/doc/test shape>

Acceptance:
- <tests/checks>
- <package build if packages/kitcn changes>
- <fixtures commands if scaffold output changes>
- land through `node .agents/pstack/land.mjs` after verification

Do not preserve obsolete Convex workarounds if the upstream release removes the
need for them. Hard cut the hack.

Then follow the Build playbook until land.mjs pushes the slice to main from

the owner's clone or opens its PR from a contributor's, or a real blocker is

proven.

Output

Before the handoff, keep the audit terse:

Current: <version>
Target: <version>

| Class | Opportunity | Evidence | Decision |
| --- | --- | --- | --- |
| cleanup | ... | ... | selected |

Handing to Build: <selected slice>

After the build lands, use the Build playbook's hand-back.

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.