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
23 changes: 4 additions & 19 deletions .cursor-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,13 @@
"email": "steve.calvert@glean.com"
},
"metadata": {
"description": "Official Glean plugins for Cursor — enterprise knowledge, code search, and people discovery."
"description": "Official Glean plugin for Cursor — enterprise knowledge, code search, and people discovery."
},
"plugins": [
{
"name": "glean-core",
"source": "glean-core",
"description": "Core Glean MCP integration — shared skills, tool guidance, and rules. Required foundation for all other Glean plugins."
},
{
"name": "glean-search",
"source": "glean-search",
"description": "Enterprise search across documents, Slack, email, and other sources via Glean."
},
{
"name": "glean-code",
"source": "glean-code",
"description": "Cross-repository code exploration — search code across your org, find examples, and discover similar implementations."
},
{
"name": "glean-people",
"source": "glean-people",
"description": "Find experts, understand org structure, and identify stakeholders via Glean."
"name": "glean",
"source": "glean",
"description": "Official Glean plugin for Cursor — enterprise search, code exploration, and people discovery."
}
],
"version": "1.0.0"
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ npm-debug.log*
# Local env files
.env
.env.local

# Local planning docs
docs/plans/
14 changes: 1 addition & 13 deletions .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,7 @@
"path": "version"
},
{
"file": "glean-core/.cursor-plugin/plugin.json",
"path": "version"
},
{
"file": "glean-search/.cursor-plugin/plugin.json",
"path": "version"
},
{
"file": "glean-code/.cursor-plugin/plugin.json",
"path": "version"
},
{
"file": "glean-people/.cursor-plugin/plugin.json",
"file": "glean/.cursor-plugin/plugin.json",
"path": "version"
}
]
Expand Down
32 changes: 6 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@ Official Glean plugins for [Cursor](https://cursor.com), enabling enterprise kno
## Quick Start

```
# Install the foundation plugin first (required)
/add-plugin glean-core

# Then install the feature plugins you need
/add-plugin glean-search
/add-plugin glean-code
/add-plugin glean-people
/add-plugin glean
```

Then configure your Glean MCP connection — add your server to `~/.cursor/mcp.json`:
Expand All @@ -30,25 +24,11 @@ Then configure your Glean MCP connection — add your server to `~/.cursor/mcp.j

Replace `YOUR-INSTANCE` with your Glean instance name and `YOUR-SERVER-NAME` with the server name provided by your Glean administrator. Restart Cursor after editing — OAuth authentication is handled automatically on first use.

## Plugins

| Plugin | Description | Docs |
| ---------------------------------- | -------------------------------------------------------------------------------------------------------------------- | ---------------------------------- |
| **[glean-core](./glean-core)** | Foundation plugin with MCP setup skills, tool guidance, and result-vetting rules. **Required by all other plugins.** | [README](./glean-core/README.md) |
| **[glean-search](./glean-search)** | Enterprise search across docs, Slack, email, and more | [README](./glean-search/README.md) |
| **[glean-code](./glean-code)** | Cross-repo code exploration, examples, and ownership | [README](./glean-code/README.md) |
| **[glean-people](./glean-people)** | Find experts and identify stakeholders | [README](./glean-people/README.md) |

## Which Plugin Do I Need?

| I want to... | Install |
| ----------------------------------------------- | ----------------------------- |
| Search company docs, wikis, and Slack | `glean-core` + `glean-search` |
| Find code examples or prior art across repos | `glean-core` + `glean-code` |
| Research architecture before planning a feature | `glean-core` + `glean-code` |
| Find who knows about a topic or owns a system | `glean-core` + `glean-people` |
| Identify stakeholders for a change | `glean-core` + `glean-people` |
| All of the above | Install all plugins |
## Plugin

| Plugin | Description | Docs |
| ------ | ----------- | ---- |
| **[glean](./glean)** | Enterprise search, code exploration, and people discovery | [README](./glean/README.md) |

## Requirements

Expand Down
78 changes: 78 additions & 0 deletions docs/plans/2026-02-25-consolidate-single-plugin-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Design: Consolidate Four Plugins into Single `glean` Plugin

**Date**: 2026-02-25
**Status**: Approved

## Background

Cursor's plugin marketplace surfaces each plugin as an independent entry with no grouping or dependency mechanism. The original four-plugin structure (glean-core, glean-search, glean-code, glean-people) was designed to let users install only what they need, but this intent doesn't come through in the UI. Cursor's team has recommended consolidating into a single plugin.

## Decision

Merge all four plugins into a single `glean/` directory containing all skills, agents, commands, and rules.

## New Structure

```
glean/
.cursor-plugin/plugin.json
assets/avatar.svg + avatar.png
rules/
glean-result-vetting.mdc (from glean-core)
glean-tool-selection.mdc (from glean-core)
skills/
confidence-signals/ (glean-core)
enterprise-search/ (glean-core version — canonical)
glean-tools-guide/ (glean-core)
mcp-setup/ (glean-core)
mcp-status/ (glean-core)
meeting-context/ (glean-core)
people-lookup/ (glean-core)
synthesis-patterns/ (glean-core)
search/ (glean-search — unique)
code-exploration/ (glean-code)
code-owners/ (glean-code)
codebase-context/ (glean-code)
find-examples/ (glean-code)
plan-prep/ (glean-code)
similar-code/ (glean-code)
find-expert/ (glean-people)
stakeholders/ (glean-people)
agents/
enterprise-searcher.md (glean-search)
people-finder.md (glean-people)
codebase-navigator.md (glean-code)
plan-prep-researcher.md (glean-code)
commands/
mcp-setup.md (glean-core)
mcp-status.md (glean-core)
search.md (glean-search)
code-owners.md (glean-code)
codebase-context.md (glean-code)
find-examples.md (glean-code)
plan-prep.md (glean-code)
similar-code.md (glean-code)
find-expert.md (glean-people)
stakeholders.md (glean-people)
README.md
CHANGELOG.md
LICENSE
```

## Content Decisions

- **enterprise-search skill**: glean-search had a duplicate that was a strict subset of the glean-core version. The glean-core version is kept; the glean-search duplicate is dropped.
- **All other content**: No name collisions across the remaining plugins. All skills, agents, commands, and rules are carried forward unchanged.

## Root-Level Changes

- `.cursor-plugin/marketplace.json`: Single plugin entry `{ name: "glean", source: "glean" }`
- `package.json` `files`: Updated to `["glean/**/*", ...]` replacing four separate paths
- `.release-it.json` bumper `out`: Single path `glean/.cursor-plugin/plugin.json` replacing four paths

## Deleted

- `glean-core/`
- `glean-search/`
- `glean-code/`
- `glean-people/`
29 changes: 0 additions & 29 deletions glean-code/.cursor-plugin/plugin.json

This file was deleted.

8 changes: 0 additions & 8 deletions glean-code/CHANGELOG.md

This file was deleted.

60 changes: 0 additions & 60 deletions glean-code/README.md

This file was deleted.

8 changes: 0 additions & 8 deletions glean-core/CHANGELOG.md

This file was deleted.

22 changes: 0 additions & 22 deletions glean-core/LICENSE

This file was deleted.

63 changes: 0 additions & 63 deletions glean-core/README.md

This file was deleted.

Binary file removed glean-core/assets/avatar.png
Binary file not shown.
4 changes: 0 additions & 4 deletions glean-core/assets/avatar.svg

This file was deleted.

Loading