Skip to content
Back to skills

Legal Builder Hub Customize

ASecurity

单点修改 hub 管理配置(入门包、监视 registry、更新偏好、allowlist、QA 严格度), 无需完整冷启动。用于「改 allowlist」「加 registry」「更新 profile」。

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 25, 2026
toolsgitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 25, 2026

npx -y skills add CSlawyer1985/legal-skillhub --skill legal-builder-hub-customize --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Legal Builder Hub Customize?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Legal Builder Hub Customize
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cslawyer1985-legal-builder-hub-customize/badge)](https://www.skillsdirectory.com/skills/cslawyer1985-legal-builder-hub-customize)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: legal-builder-hub-customize
description: 单点修改 hub 管理配置(入门包、监视 registry、更新偏好、allowlist、QA 严格度), 无需完整冷启动。用于「改 allowlist」「加 registry」「更新 profile」。
metadata:
  displayName: 中枢配置调整
  argument-hint: '[section name, or describe what you want to change]'
---

# legal-builder-hub-customize

> **对用户输出一律简体中文。**

单点修改 hub 配置,无需完整冷启动。可改:法律元力 `base_url`、监视 registry、更新偏好、allowlist、推荐用实践领域。

## 流程

1. **读取配置。** 读取 `$LEGAL_AGENT_PROFILE_HOME/legal-builder-hub/profile.md`(及上一级 `company-profile.md`)。若配置不存在或仍含 `[PLACEHOLDER]`,对用户说:

   > 你尚未完成初始配置。请先运行 ``legal-builder-hub-cold-start-interview`` — customize 用于在已有配置上做单项调整。

2. **展示可改项**(每项一行当前值):

   - **公司画像**(`company-profile.md`,跨集群)
   - **hub profile** — 实践领域、已安装列表、监视 registry
   - **法律元力(yuanli)** — `base_url`
   - **allowlist.yaml** — mode、registries、publishers、licenses
   - **更新偏好** — 通知 / 仅手动 / 推送到办公平台(飞书 / 企业微信 / 钉钉,海外可选 Slack)
   - **Freshness reminders** — 各品类最长可信期限
   - **集成** — 办公通讯平台(飞书 / 企业微信 / 钉钉 / Slack)等

3. **问用户要改什么**(一次改一项,不重演完整冷启动)。

4. **改前确认**:展示旧值 → 新值 → 下游影响 → 用户确认 → 写入文件。

   示例:新增 GitHub registry → 说明 `registry-browser` 将一并检索;改 `base_url` → 说明 API 与静态 yaml 优先级。

5. **公司级字段** 写入 `company-profile.md`,并提示影响哪些 business cluster。

6. **结束**:「已保存;可用 ``legal-builder-hub-customize`` 继续改。」

## 护栏

- **不删整节**;「删除」监视 registry → 标 `[Paused]`
- **矛盾检测**:如 profile 写商事但只装诉讼包 → 提示
- **不鼓励关闭 QA**;降低严格度建议用 middle 档
- **allowlist 变更** 须写入 `allowlist.yaml`,不只改 profile 摘要

Files in this skill

  • SKILL.md2.3 KB
  • references/allowlist-default.yaml537 B
  • references/company-profile-template.md1.5 KB
  • references/registries.yaml1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…