Skip to content

Meet agents where they are: a Claude Code plugin and a VS Code extension - #92

Merged
raj-khan merged 2 commits into
mainfrom
fl-89-agents
Sep 27, 2026
Merged

raj-khan merged 2 commits into
mainfrom
fl-89-agents

Conversation

@raj-khan

Copy link
Copy Markdown
Owner

FL-89.

Claude Code plugin (plugin/, with .claude-plugin/marketplace.json at the root, so the repo is its own marketplace):

/plugin marketplace add raj-khan/flow
/plugin install isketch@isketch
  • A skill that teaches the .flow format, how to build from a diagram, and how to keep one true after changing code (read as text, change only what changed, diff, write, fix reported lines).
  • .mcp.json runs the MCP server, bundled into plugin/server/ (rolldown, one 128 KB file plus the font), so a clone works with no install. npm run plugin rebuilds it; CI fails if it is out of date.
  • claude plugin validate passes for the plugin and the marketplace. The bundle, run from a copy of plugin/ alone, answers the MCP handshake, lists its five tools, reads a brief and renders a sketch with the font.
  • sketchFont no longer throws when the font package is missing (require.resolve was outside the catch).

VS Code extension (vscode/): a flow language with a TextMate grammar, a live preview beside the editor (the app's renderer, dark with VS Code, keeping the last good drawing while the text has an error), errors as diagnostics by line, and Open in isketch. npm run vscode bundles it; npx @vscode/vsce package in vscode/ makes a 60 KB .vsix. Tests run the real extension code against a fake vscode API.

Listings (AC #2, left open): server.json for the official MCP registry and docs/listings.md with each step. Publishing needs your accounts and the hosted server at isketch.online, so it is yours to run.

Tests: extension spec (5); vitest 305, e2e 144, lint and typecheck.

The repository is its own marketplace. The plugin's MCP server is bundled
with its font, so a clone needs no install; CI checks the bundle is
current. server.json and docs/listings.md prepare the listings.
Syntax colours, errors underlined by line, a live preview in the
editor's theme, and Open in isketch. Tested against a fake vscode API.
@raj-khan
raj-khan merged commit 939ca75 into main Sep 27, 2026
4 checks passed
@raj-khan
raj-khan deleted the fl-89-agents branch September 27, 2026 14:41
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