Skip to content

Recommend the official Convex Claude Code plugin in guidelines.md - #174

Draft
sethconvex wants to merge 1 commit into
mainfrom
add-convex-plugin-recommendation
Draft

Recommend the official Convex Claude Code plugin in guidelines.md#174
sethconvex wants to merge 1 commit into
mainfrom
add-convex-plugin-recommendation

Conversation

@sethconvex

Copy link
Copy Markdown
Contributor

Summary

Adds a leading section to `runner/models/guidelines.md` (the canonical source compiled into `convex_rules.txt`, `AGENTS.md`, `CLAUDE.md`, `convex.instructions.md`, and the other release artifacts shipped via `npx convex ai-files install`) telling Claude Code users to install the official Convex plugin from the marketplace.

```
/plugin install convex
```

Why now

The plugin and these guidelines are complementary:

What it covers Where it works
These guidelines (`guidelines.md` → `AGENTS.md` / `CLAUDE.md` / `convex_rules.txt`) Harness-agnostic Convex coding rules — function syntax, validators, indexes, schema design Any AI tool — Cursor, Windsurf, Codex, Claude Code, etc.
`/plugin install convex` Claude-Code-specific wiring: `convex-expert` subagent, runtime-error monitor, auto-wired Convex MCP server Claude Code only

A Claude Code user benefits from both. Adding the plugin pointer here means every project that runs `npx convex ai-files install` and then opens in Claude Code gets the recommendation in its own `CLAUDE.md`, without us needing to ship the recommendation through any other channel.

Harness gating

The new section explicitly says non-Claude-Code harnesses should skip it. Reading agents in Cursor / Windsurf / Codex / etc. see the note, recognize it doesn't apply, and move on to the guidelines that do. No false positives.

Diff

13 lines added at the top of `guidelines.md`, before the first `## Function guidelines` heading. No existing content modified.

Open questions

  1. Plugin name. Upstream PR to rename the marketplace listing from `convex-backend` → `convex` is pending review (Refresh Convex plugin: rename to convex, bump SHA, richer metadata, recommend Convex MCP anthropics/claude-plugins-official#1948). This PR uses `/plugin install convex`, anticipating the rename. If you'd rather match today's marketplace state, swap to `convex-backend`.
  2. Placement. Currently at the very top of the file, ahead of `## Function guidelines`. Alternative: a separate "## Tools and setup" section. Top-of-file maximizes discoverability for Claude Code agents but pushes the technical content one section down.
  3. Should this also reference `agent-skills` install? The convex skill in get-convex/agent-skills also has a parallel PR (Recommend the official Convex Claude Code plugin in the routing skill agent-skills#13) recommending the plugin. Keeping both pointers (skill + guidelines) gives the message two surfaces; might be redundant.

Draft for review.

🤖 Generated with Claude Code

Adds a leading section to guidelines.md (the canonical source for convex_rules.txt, AGENTS.md, CLAUDE.md, etc.) that tells Claude Code users to install /plugin install convex from the marketplace. The recommendation is explicitly gated on the harness — non-Claude-Code harnesses (Cursor, Windsurf, Codex) skip it. The plugin is Claude-Code-specific because it bundles a subagent, monitors, and a stdio MCP server — affordances no other harness wires from a plugin manifest today.Plugin source: https://github.com/get-convex/convex-backend-skill
@netlify

netlify Bot commented May 20, 2026

Copy link
Copy Markdown

Deploy Preview for convex-evals canceled.

Name Link
🔨 Latest commit 94c5335
🔍 Latest deploy log https://app.netlify.com/projects/convex-evals/deploys/6a0e01b5ff8492000824daeb

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.

1 participant