Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"plugins": [
{
"name": "graphify",
"source": "./",
"source": "./plugins/graphify",
"description": "Search indexed code, trace dependencies, assess change impact, and retrieve repository memory through Graphify's authenticated MCP server.",
"category": "development"
}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ jobs:
- name: Install Claude Code CLI
run: npm install -g @anthropic-ai/claude-code@2.1.326
- name: Validate the plugin
run: claude plugin validate . --strict --profile directory
run: claude plugin validate plugins/graphify --strict --profile directory
- name: Validate the marketplace
run: claude plugin validate .
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
![Graphify](assets/logo.png)

# Graphify

Expand Down Expand Up @@ -46,7 +45,7 @@ This repository is the Claude Code plugin only.

1. Sign in at [app.graphify.com](https://app.graphify.com), connect a repository you are allowed to use, and wait until indexing finishes.
2. Install the plugin as above.
3. When Claude Code asks you to sign in to Graphify, finish the browser prompt and return. There is no API key to paste into this repo. You may need to sign in again when a session expires.
3. When Claude Code asks you to sign in to Graphify, finish the browser prompt and return. Nothing needs to be pasted into this repo; sign-in happens in the browser. You may need to sign in again when a session expires.

Ask Claude to list your Graphify workspaces and repositories, then name the repository you want. Confirm before it changes workspace. `set_workspace` can change the workspace selected for later sessions.

Expand Down
2 changes: 1 addition & 1 deletion docs/claude-submission.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The portal reads the public listing from `plugin.json` and `README.md`. Do not t
| Support contact | safi@graphify.com | Use this on the form. `plugin.json` `supportUrl` is https://graphify.com/contact |
| Privacy URL | https://graphify.com/privacy | `plugin.json` `privacyPolicyUrl` |
| Terms URL | https://graphify.com/terms | `plugin.json` `termsOfServiceUrl` |
| Logo | `assets/logo.png` | `plugin.json` `icon` is `./assets/logo.png`. PNG, 400 by 400, the same file as the Cursor plugin logo |
| Logo | `plugins/graphify/assets/logo.png` | `plugin.json` `icon` is `./assets/logo.png`. PNG, 400 by 400, the same file as the Cursor plugin logo |

## Data handling

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "graphify",
"displayName": "Graphify",
"version": "0.1.2",
"description": "Search indexed code, trace dependencies, assess change impact, and retrieve repository memory through Graphify's authenticated MCP server.",
"author": {
Expand All @@ -20,8 +19,5 @@
"symbols"
],
"icon": "./assets/logo.png",
"documentationUrl": "https://docs.graphify.com/integrations/claude-code",
"supportUrl": "https://graphify.com/contact",
"privacyPolicyUrl": "https://graphify.com/privacy",
"termsOfServiceUrl": "https://graphify.com/terms"
"privacyPolicyUrl": "https://graphify.com/privacy"
}
File renamed without changes.
File renamed without changes
File renamed without changes.
20 changes: 8 additions & 12 deletions scripts/validate-plugin.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ function requireString(object, key, label) {
return object[key];
}

const plugin = readJson(".claude-plugin/plugin.json");
const PLUGIN_DIR = "plugins/graphify";
const plugin = readJson(`${PLUGIN_DIR}/.claude-plugin/plugin.json`);
const marketplace = readJson(".claude-plugin/marketplace.json");
const mcp = readJson(".mcp.json");
const mcp = readJson(`${PLUGIN_DIR}/.mcp.json`);

const allowedPluginFields = new Set([
"name",
"displayName",
"version",
"description",
"author",
Expand All @@ -53,10 +53,7 @@ const allowedPluginFields = new Set([
"license",
"keywords",
"icon",
"documentationUrl",
"supportUrl",
"privacyPolicyUrl",
"termsOfServiceUrl",
]);

if (plugin) {
Expand All @@ -68,7 +65,6 @@ if (plugin) {
if (plugin.name !== "graphify") {
fail('plugin.json name must stay "graphify"');
}
requireString(plugin, "displayName", "plugin.json displayName");
requireString(plugin, "version", "plugin.json version");
requireString(plugin, "description", "plugin.json description");
if (plugin.license !== "Apache-2.0") {
Expand All @@ -86,7 +82,7 @@ if (plugin) {
if (!Array.isArray(plugin.keywords) || plugin.keywords.length === 0) {
fail("plugin.json keywords must be a nonempty array");
}
for (const urlField of ["documentationUrl", "supportUrl", "privacyPolicyUrl", "termsOfServiceUrl"]) {
for (const urlField of ["privacyPolicyUrl"]) {
const value = requireString(plugin, urlField, `plugin.json ${urlField}`);
if (value && !value.startsWith("https://")) {
fail(`plugin.json ${urlField} must be an https URL`);
Expand All @@ -95,7 +91,7 @@ if (plugin) {
if (plugin.icon !== "./assets/logo.png") {
fail('plugin.json icon must be "./assets/logo.png"');
} else {
const logo = path.join(root, "assets/logo.png");
const logo = path.join(root, PLUGIN_DIR, "assets/logo.png");
if (!existsSync(logo) || !statSync(logo).isFile()) {
fail("assets/logo.png is missing");
}
Expand All @@ -117,8 +113,8 @@ if (marketplace) {
if (entry.name !== "graphify") {
fail('marketplace plugin name must be "graphify"');
}
if (entry.source !== "./") {
fail('marketplace plugin source must be "./"');
if (entry.source !== "./plugins/graphify") {
fail('marketplace plugin source must be "./plugins/graphify"');
}
requireString(entry, "description", "marketplace plugin description");
}
Expand All @@ -143,7 +139,7 @@ if (mcp) {
}
}

const skillPath = path.join(root, "skills/graphify/SKILL.md");
const skillPath = path.join(root, PLUGIN_DIR, "skills/graphify/SKILL.md");
if (!existsSync(skillPath)) {
fail("skills/graphify/SKILL.md is missing");
} else {
Expand Down
Loading