Skip to content

skills: review all 24 skills against docs@572ece94 (v6.0.16-beta.1) - #23

Merged
rakesh-snippyly merged 2 commits into
mainfrom
claude/optimistic-ritchie-ko7tp9
Oct 6, 2026
Merged

rakesh-snippyly merged 2 commits into
mainfrom
claude/optimistic-ritchie-ko7tp9

Conversation

@rakesh-snippyly

Copy link
Copy Markdown
Contributor

Summary

Full review of every skill against the current velt-js/docs (HEAD 572ece94). This covers the ~100 docs commits since the last skills sync (docs@102dd060, July 2026): the v6 SDK line through 6.0.16-beta.1, @veltdev/node 2.x and velt-py 0.2.x, the Approval Engine refactor, the Agents and Memory REST APIs, 13 new CRDT editor guides, private comments, and the self-host-data/* → self-hosting/partial/* move.

This is a manual review, not a skills-sync bot PR. It edits metadata.json abstract in three skills on purpose (see below).

Fixes to existing rules

Many rules used APIs, payloads or endpoints that don't match the docs. Main ones:

  • Auth: the auth provider shape ({ user, generateToken, retryConfig, options }) was wrong in about 6 skills. Presence, cursors and huddle also used useSetDocuments wrongly.
  • Tokens: the JWT endpoint is /v2/auth/generate_token, with organizationId in permissions.resources[]. getToken is replaced by sdk.api.accessControl.generateToken in the Node and Python rules.
  • Comments: fixed dozens of method names and payloads. Replaced invented agent-suggestion primitives with the exported ones. Fixed REST paths (/v2/commentannotations/comments/*) and the update shape (annotationIds + updatedData).
  • Webhooks: fixed payloads for CRDT, recorder, notifications and huddle. Added Svix verification to advanced webhooks.
  • Other features:
    • Recorder: data types match data-models.
    • Notifications: data provider response is ResolverResponse.
    • Activity: debounce minimum is 10,000 ms.
    • View Analytics: the hook is useViewsUtils, not useViewsElement.
    • Area: no usable pin-portal wireframe exists.
  • Approval Engine: rewritten for the current model: four node types, edge on roles, a JSON-AST when, derived loops, and triggers. Removed onReject and top-level loops.
  • Proxy: v2DbHost upstream is firestore.googleapis.com; nginx auth routing split; one Cloudflare Worker per service.

New rules

  • CRDT: new editors/ category, 15 rules (Lexical, ProseMirror, Monaco, Ace, Quill, TinyMCE, CKEditor, SuperDoc, Apryse, Nutrient, SpreadJS, Slate, Draft.js, plus the shared lifecycle and how to pick a package).
  • Approval Engine: agent node aiConfig, human node, notification/webhook nodes, edges, groups/quorum, triggers, and a Patterns category. 8 → 17 rules.
  • REST APIs: Agents (execution, built-ins and per-run options, groups/tools), Memory (knowledge, insights/alerts), partial failures on bulk document calls, workspace API keys. 13 → 21 rules.
  • Comments: progress rows, action chips, private comments with Access Context, VeltCommentText.
  • Setup:
    • featureAllowList, setLocations and setUnstyledMode.
    • Installing Velt's AI tooling (Installation Plugin, Docs MCP, MCP Installer, UI Customization Plugin), with separate steps for Claude Code and Cursor.
  • Other skills:
    • Notifications: user-scoped notifications.
    • Single Editor Mode: panel wireframe.
    • Presence: custom presence users.
    • Suggestions: zero-config capture, programmatic accept/reject, backend REST.
  • Backend: full self-hosting (partial vs full, selfHosted SDK config), PostgreSQL, verifyToken, resolver auth.

Structure fixes

  • Missing _sections.md: suggestions, live-state-sync and chat-sdk-adapter had none, so they compiled to an empty AGENTS.md. They now build.
  • Missing categories: setup (components/) and notifications (config/) had rule folders absent from _sections.md, so those rules were never compiled.
  • Links: fixed about 190 stale docs.velt.dev links. Every link now points to an existing docs page; only placeholder paths in the _template.md files remain.
  • SKILL.md:
    • metadata.version now equals metadata.json version in every skill.
    • Descriptions are single-line and within 505 chars. Exception: yjs-best-practices is unchanged at 539.
    • Quick Reference lists match the rule files.
    • Fixed an unquoted : in the comments description, which made its YAML frontmatter invalid.
  • Abstracts: updated stale abstracts for node-sdk (getToken, MongoDB-only), crdt (old rule counts) and cursors (old placement advice).
  • Root files: README and AGENTS.md tables now list all 24 skills and 487 rules.
  • Generated files: AGENTS.md / AGENTS.full.md regenerated.

Validation

  • npm run validate and npm run build pass for all 24 skills. The only warnings are missing-example warnings that were already there.
  • Every SKILL.md and rule frontmatter parses as YAML.
  • No files under evals/ or *-workspace/ were touched.

Downstream (Cursor and Claude plugins)

The Sync Agent-Skills to Plugins run on Oct 6 failed: Permission to velt-js/velt-plugin-cursor.git denied to yoen-velt (403). The Claude step never runs after the Cursor step fails, so both plugins still ship the June 24 skills. Merging this PR won't reach either plugin until CROSS_REPO_PAT has write access to both plugin repos.

Docs inconsistencies found (follow-ups for velt-js/docs)

Where one page was clearly authoritative the rules follow it; otherwise they tell developers to set the value explicitly. Examples:

  • Defaults and units:
    • Cursor inactivity default: 5 min vs 2 min.
    • setEditorAccessTimeout unit: seconds vs ms.
    • Huddle default type: all vs audio.
    • CRDT webhooks: enabled vs disabled by default.
  • Outdated token examples: key-concepts/overview.mdx and security/jwt-tokens.mdx contradict the generate-token page.
  • Suggestions naming: suggestion primitive names conflict between the wireframes page and the generated catalog. suggestionApproved vs suggestionAccepted.
  • Missing anchors: api-methods links anchors that don't exist (crdt/setup/core#configure-webhooks, presence #setinactivitytime).

🤖 Generated with Claude Code

https://claude.ai/code/session_01DFpptqcSv3a5gN2aB3o5Bk


Generated by Claude Code

Full review of every skill against the current velt-js/docs, covering
the ~100 docs commits since the last sync (docs@102dd060): the v6 SDK
line, @veltdev/node 2.x and velt-py 0.2.x, the Approval Engine
refactor, Agents and Memory REST, 13 new CRDT editor guides, private
comments, and the self-host-data -> self-hosting/partial move.

- Fix rules whose APIs, payloads or endpoints did not match the docs
  (auth provider shape, setDocuments usage, /v2/auth/generate_token,
  getToken -> accessControl.generateToken, comment config methods,
  webhook payloads, recorder/notification types, and more)
- Add rules for new features: CRDT editors category (15), Approval
  Engine nodes/edges/triggers/patterns, Agents execution/built-ins,
  Memory knowledge/insights, user-scoped notifications, comment
  progress/actions/private comments/comment text, featureAllowList,
  setLocations, AI tooling install for Claude Code and Cursor, full
  self-hosting, PostgreSQL and verifyToken
- Add missing _sections.md for suggestions, live-state-sync and
  chat-sdk-adapter (they compiled to an empty AGENTS.md) and missing
  categories in setup and notifications
- Fix every stale docs.velt.dev link (~190 occurrences)
- Sync SKILL.md metadata.version with metadata.json, bring
  descriptions within 505 chars, make Quick Reference lists match the
  rule files, and correct stale abstracts (node-sdk, crdt, cursors)
- Update root README/AGENTS.md tables: 24 skills, 487 rules
- Regenerate AGENTS.md / AGENTS.full.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DFpptqcSv3a5gN2aB3o5Bk
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-06T07:41:46.208395Z df2a924 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

The example parser only kept a label's first code block and the text
after it, so AGENTS.full.md silently dropped tables, prose between
labels, verification checklists and most source pointers, and merged
separate code blocks into one fence under the wrong language.

AGENTS.full.md now renders each rule's markdown body verbatim (after
the `## Title` line), with headings demoted to nest under the rule
heading. Parsed explanation/examples still drive validation and the
compressed AGENTS.md. A line-by-line check confirms every non-empty
rule line now appears in its skill's AGENTS.full.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DFpptqcSv3a5gN2aB3o5Bk

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: df2a924a85

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread AGENTS.md
| `velt-rest-apis-best-practices` | 9 | REST API v2, JWT token generation, webhooks |
| `velt-proxy-server-best-practices` | 14 | Reverse proxy (nginx), proxyConfig, CSP, SRI integrity |
| `velt-setup-best-practices` | 30 | SDK installation, VeltProvider, authProvider and JWT tokens, documents and locations, `featureAllowList`, AI tooling (plugins, Docs MCP) for Claude Code and Cursor |
| `velt-comments-best-practices` | 92 | Comment modes, editor integrations, sidebar v1/v2, private comments and visibility, progress and actions, programmatic APIs, REST endpoints |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Exclude category READMEs from the rule totals

The comments skill contains 90 actual rule files, as its updated SKILL.md states; the reported 92 includes rules/shared/attach/README.md and rules/shared/permissions/README.md, which are category overviews rather than {prefix}-{name}.md rules. Consequently, the repository-wide total is also overstated as 487 instead of 485 in both catalogs, and the generated index misleadingly treats those README files as rules. Filter category READMEs when calculating/building the catalog and regenerate these counts.

AGENTS.md reference: AGENTS.md:L13-L18

Useful? React with 👍 / 👎.

@rakesh-snippyly
rakesh-snippyly merged commit 7eab2d8 into main Oct 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants