Skip to content
Documentation: Scopes

Scopes

The part of every item's name that groups it, and how to organise them.

Describes Ronne AI Marketplace 0.7.0.

What a scope is

A scope is the part of every item's name before the item's own. It groups related items and keeps names from clashing: @platform/code-reviewer and @mobile/code-reviewer are two different items.

@platform/code-reviewer
@platform/secure-coding
@data/sql-style

Every scope belongs to one workspace, the level above it (see Workspaces). Outside global, the workspace comes first in the name, so two workspaces can each have a test scope: @acme/test/lint and @tools/test/lint are two different items. In global it's left out: @platform/code-reviewer.

Who creates and uses them

  • Root and a workspace's admins create scopes, with a description, on the workspace's page, in that workspace: root in any workspace, an admin in theirs. A scope can move to another workspace later, its items taking the new names and keeping the old ones (see Moving a scope); its workspace's admins edit its description. When you create an item, the scope picker lists the scopes of your workspaces and shows the chosen one's description; it starts on the first scope of the workspace you're working in, if you've chosen one.
  • The members of a scope's workspace propose items in it. Review is the gate: nothing is published until a moderator or admin of that workspace, or root, approves it.
  • A scope doesn't give anyone extra rights over its items. An item's first author is shown as its owner, for information only.
  • An item can move to another scope of its workspace: any member asks, and its moderators, admins or root move it or answer (see Moving an item to another scope).

Naming rules

Scopes and item names use lowercase letters, digits and hyphens, up to 64 characters, and don't start or end with a hyphen. A few scopes are reserved, such as admin, root and rmk.

Why does the name include the workspace? A scope's name is unique within its workspace, not across the instance, so each team can have its own test or devops. The full name says which: @workspace/scope/name, or @scope/name in global. Two parts always mean global, and @global/scope/name is read as @scope/name.

@platform/code-reviewer      # global
@acme/test/lint              # acme
@tools/test/lint             # tools

An item's own name is fixed once it's published: a new name is a new item. Its scope can change: an item moves to another scope of its workspace, and its full name changes with it (see Moving an item to another scope).

If an item's name changes, its old names keep working: they install, depend and open its page, for those who can see it, and no other item can take them. rmk moves a project to the new name (see Keeping items up to date).

Ways to organise them

Any of these works; pick one and describe each scope so people know where things go.

  • By team: @platform, @mobile, @data. Each team keeps its own items together.
  • By domain: @security, @testing, @docs. People find items by what they're about.
  • Shared basics: one scope, such as @platform, for what everyone installs, alongside team or domain scopes.

Moving an item to another scope

An item can move to another scope of the same workspace, when it was put in the wrong one or a team reorganises its scopes. Only its name changes: @acme/infra/deploy becomes @acme/devops/deploy. Its versions, their packages and checksums, its tags, downloads, pins and favorites stay as they are.

  • Who asks: any member of the item's workspace, with Move to another scope… on the item's page.
  • Who decides: root and the workspace's moderators and admins move it at once, after a confirmation. Anyone else's move is a request, which they answer on the Requests page; nobody answers their own request. In your personal workspace you're its admin, so you move at once.
  • The old name keeps working: it installs, depends and opens the item's page, and rmk moves projects to the new name as they install or update. In Claude Code the item shows as a new plugin, marked “Moved from” for 30 days.
  • Open work follows: the item's open drafts and change proposals, and the workspace's open work that depends on it, take the new name.
  • When it can't move: the scope already has an item with that name, a new item with it is waiting for review there, or the new name is another item's old name. Pick another scope.
  • Moving it back to the scope it came from gives it its earlier name again.

An item can't move to another workspace on its own: move its whole scope instead (see Moving a scope).