registry-browser

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

/registry-browser

/registry-browser

  1. Load
    ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md
    → watched registries.
  2. Use the workflow below.
  3. Search each registry. Show matches with descriptions.
  4. Offer to show full SKILL.md for any match.

  1. 加载
    ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md
    → 已关注的注册表。
  2. 使用下方的工作流程。
  3. 搜索每个注册表,展示匹配结果及其描述。
  4. 提供查看任意匹配项完整SKILL.md的选项。

Purpose

用途

Find skills across the watched registries. Search, preview, decide.
在已关注的注册表中查找Skill,完成搜索、预览、决策的流程。

Load context

加载上下文

~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md
→ watched registries list.
~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md
→ 已关注注册表列表。

Workflow

工作流程

Step 1: Fetch registry indexes

步骤1:获取注册表索引

For each watched registry:
  • GitHub repos: fetch
    skills/
    directory listing and each
    SKILL.md
    frontmatter (name + description).
  • Marketplace-style registries: fetch the index.
Cache the index locally (
references/registry-cache.json
) so browsing is fast. Refresh cache if >7 days old or on request.
针对每个已关注的注册表:
  • GitHub仓库:获取
    skills/
    目录列表以及每个
    SKILL.md
    的前置信息(名称+描述)。
  • 商城式注册表:获取索引信息。
将索引缓存到本地(
references/registry-cache.json
)以加快浏览速度。如果缓存已超过7天或用户要求,则刷新缓存。

Step 2: Search

步骤2:搜索

Match query against skill names and descriptions. Simple keyword match is fine — these are small enough that fuzzy search is overkill.
Also: browse by category if the registry organizes skills that way.
将查询内容与Skill名称和描述进行匹配。使用简单的关键词匹配即可——由于数据量较小,模糊搜索并无必要。
此外:如果注册表按类别组织Skill,可按类别浏览。

Step 3: Present matches

步骤3:展示匹配结果

markdown
undefined
markdown
undefined

Search: "[query]"

搜索:"[query]"

Found [N] skills across [M] registries:
在[M]个注册表中找到[N]个Skill:

[skill-name]

[skill-name]

From: [registry name] Description: [from frontmatter] [View full SKILL.md] [Install]
来源: [注册表名称] 描述: [来自前置信息] [查看完整SKILL.md] [安装]

[skill-name]

[skill-name]

[...]
undefined
[...]
undefined

Step 4: Preview

步骤4:预览

On "view full SKILL.md": fetch and show the whole file. User reads it before deciding to install. No surprises.
当用户选择“查看完整SKILL.md”时:获取并展示整个文件。用户可在决定安装前阅读内容,避免意外情况。

Step 5: Add a registry

步骤5:添加注册表

If the user has a URL to a registry not in the watchlist:
  1. Fetch it, validate it's a skills repo (has
    skills/
    or
    .claude-plugin/
    )
  2. Show what's in it
  3. Add to
    ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md
    → watched registries on confirmation
如果用户提供了一个未在关注列表中的注册表URL:
  1. 获取该注册表,验证其为Skill仓库(包含
    skills/
    .claude-plugin/
    目录)
  2. 展示其中的内容
  3. 经用户确认后,将其添加到
    ~/.claude/plugins/config/claude-for-legal/legal-builder-hub/CLAUDE.md
    → 已关注注册表列表中

Default registries

默认注册表

  • lpm-skills — 14 legal project management skills. Practice-agnostic. Good starting point.
  • Space for others to be added as the ecosystem grows.
  • lpm-skills — 14个法律项目管理Skill,不局限于特定业务场景,是不错的入门选择。
  • 预留空间,以便随着生态系统的发展添加其他注册表。

What this skill does not do

本Skill不具备的功能

  • Install anything. It browses. skill-installer installs.
  • Rate or review skills. It shows you the SKILL.md; you judge.
  • Search the whole internet. Only watched registries.
  • 不执行安装操作。它仅用于浏览,安装操作由skill-installer完成。
  • 不对Skill进行评分或评价。它仅展示SKILL.md内容,由用户自行判断。
  • 不搜索整个互联网。仅搜索已关注的注册表。