- Load
~/.claude/plugins/config/claude-for-legal-zh/legal-builder-hub/CLAUDE.md→ practice profile. - Use the following workflow.
- Check what other plugins have been doing recently. Match against the registry.
- Suggestion: "You've been working on X — the community has a skill about Y that's related."
Purpose
The community may have already built what you're about to build. This skill notices it and mentions it — once, briefly, not annoyingly.
How it runs
This skill surfaces relevant community skills after a task is completed. The user can invoke it proactively ("what else is available for X?"), or wire it into other plugins via a Stop hook — the hook-based mode requires each sibling plugin to declare a Stop hook that invokes this skill, and is not wired by default. Invoke it directly when there is no hook wiring.
Other plugins can include a lightweight check at the end of a task:
"legal-builder-hub found a community skill that might help with this kind of work: [name] — [one-line description]. Want to take a look?"
Load context
~/.claude/plugins/config/claude-for-legal-zh/legal-builder-hub/CLAUDE.md → practice profile, installed skills (do not recommend what is already installed).
Registry cache from registry-browser.
Match
Given a task description (what the user was just doing), find matching registry skills:
- Keyword overlap between the task and the skill description
- Practice profile match (do not recommend litigation skills to a transactional lawyer)
- Not yet installed
Threshold: Surface only when the match is strong. Weak matches are noise. Better to surface nothing than to annoy the user.
Output
If there is a strong match:
💡 The community has a skill for this:[name] from [registry] — "[description]".
/legal-builder-hub:skill-installer [名称]to try it.
If there is no strong match: silence. No output. Do not announce "I found nothing."
Rate limiting
Do not surface the same skill twice. If the user did not install it the first time, that means they saw it and decided not to. Track dismissed items in references/surfaced.json .
User control
According to ~/.claude/plugins/config/claude-for-legal-zh/legal-builder-hub/CLAUDE.md → new skill notification settings:
- All: surface any match
- Match practice profile: filter by profile (default)
- None: this skill is off
End with the next-step decision tree
End with the next-step decision tree specified in CLAUDE.md ## Outputs . Customize the options based on what this skill just produced — the five default branches (draft X, escalate, get more facts, watch and wait, other) are a starting point, not locked in. The tree is the output; the lawyer chooses.
What this skill does not do
- Install anything.
- Interrupt an in-progress task. Surfacing happens when the taskends, not in the middle.
- Remind repeatedly. Mention each skill only once.