Claude Skill

lov-skill-publisher

Publish or submit a validated Skill. Default to the LovStudio official website, run lov-skill-pricing automatically, and use other channels only when explicitly named.

LLM Mart · 0 points · 11 views 0 listing impressions 0 install-command copies
Download lovstudio-skills-skills_skill-publisher-0b16007.zip · 26 KB
This skill couldn't be refreshed from GitHub on the last check — you're seeing the last imported snapshot.

Install

skills CLI npx skills add https://github.com/lovstudio/skills/tree/main/skills/skill-publisher
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install lovstudio-skills@llmmart
Git git clone https://github.com/lovstudio/skills.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole lovstudio/skills collection as a plugin from our marketplace. Git is the plain clone.

README

Skill 发布助手 · Skill Publisher

Version

把已经验证并安装在本地的 Skill 发布到一个或多个独立渠道。发布前默认调用 lov-skill-pricing 自动生成或刷新可解释定价,再把同一价格契约适配到各渠道,同时保持平台元数据和发行产物不污染源代码。

本地安装

在本仓库根目录执行:

export SKILL_SOURCE_DIR="$(pwd)"
mkdir -p "${SKILL_SKILLS_INSTALL_DIR:?请设置本地 Skills 目录}"
ln -s "$SKILL_SOURCE_DIR" \
  "$SKILL_SKILLS_INSTALL_DIR/lov-skill-publisher"

也可以通过 Skills CLI 安装:

npx skills add lovstudio/skill-publisher-skill -g -y

当前适配器

渠道 交付结果 完成证据
Skill Publisher GitHub 源仓库、Release、目录和线上详情页 线上版本与内容可见
腾讯 WorkBuddy Connector ZIP,可继续导入个人技能库 包校验、校验和及安装列表
支付宝 SkillPay 商品 ZIP、人民币定价和审核提交 解析成功、提交回执与商品状态

其他平台通过 references/channels.md 的适配器契约扩展,并在实现时核对最新官方要求。

付费 Skill 必须在发布前明确交付模式:受保护源码使用已完成服务端登记和本地解密回归的 加密包;用户明确保留公开源码时使用 public_source: true,CLI 在权益检查后从公开真源安装。 只有付费目录卡和价格、却没有上述任一交付模式,不属于可发布状态。

global / all license 是动态全量权益:有效期内覆盖目录里所有仍上架的 Skill, 新 Skill 上架后自动纳入,不得在发放时展开成固定 Skill 清单;显式单项授权仍保持固定。

使用示例

  • 直接调用 lov-skill-publisher:默认只发布到 LovStudio 官网。
  • 只说“发布”也会先自动定价;用户明确给出的价格、币种和免费/付费状态会作为定价约束保留。
  • “把这个本地 Skill 发布到 Skill Publisher。”
  • “给这个 Skill 生成 WorkBuddy 包。”
  • “把这个 Skill 按 ¥19.9 提交到 SkillPay。”
  • “把这个 Skill 分发到全部渠道,并分别验证。”

质量门

python3 scripts/validate_skill.py . --target source

WorkBuddy 包:

python3 scripts/build_workbuddy.py SOURCE \
  --meta CONNECTOR_META \
  --icon ICON \
  --output-dir OUTPUT_DIR

依赖

  • Python 3.8+
  • PyYAML
  • lov-skill-pricing(默认发布前自动定价)
  • Git 与 GitHub CLI(Skill Publisher 渠道)
  • 各目标渠道所需凭据

License

MIT

Skill manifest

Skill 发布助手 · Skill Publisher

Publish one validated local Skill source to the LovStudio official website or explicitly selected additional channels. When the user does not specify a channel, run only the Skill Publisher website adapter. Always auto-price first, keep channel metadata and generated packages outside canonical source, and report evidence per selected channel.

Triggers

Activate when

  • 用户说“发布这个 Skill”“上架 Skill Publisher”“生成 WorkBuddy 包”或“分发到多个平台”。
  • The user asks to publish, release, distribute, upload, or package an existing Skill.

Do not activate when

  • 用户要创建、实现、修改或仅在本地安装 Skill;交给 lov-skill-creator。
  • 用户只是在调用某个业务 Skill,而不是发布它。

Product boundary

  • Input is a local Skill source that already passes source validation.
  • When no channel is specified, select only Skill Publisher, the LovStudio official website adapter.
  • Explicitly named channels narrow the run; do not ask a channel-selection question when the request omits channel parameters.
  • Run every supported adapter only when the user explicitly says “全部渠道”, “多平台”, “all channels”, or names every intended channel.
  • A request may select multiple channels in one run.
  • Pricing, visibility, protection, licensing, and target accounts are publishing inputs. Reuse context when known and ask only for values required by a target.
  • A license scope named global or all is a dynamic entitlement to every currently listed Skill for the license lifetime. Never publish or migrate it as a frozen list of current Skill IDs; explicit per-Skill grants remain fixed.
  • Every publish run invokes lov-skill-pricing by default to create or refresh one evidence-backed Pricing Card per Skill before channel preparation. An explicit user price is a constraint for that pricing pass, not a reason to skip it.
  • Keep the canonical Pricing Card in publisher profile/output storage. Transform only its public fields into catalogs, packages, or submission forms; do not add channel state or generated cards to canonical Skill source.
  • Channel metadata, credentials, staging files, and archives stay outside source.

Supported adapters in this version:

  • Skill Publisher — source repository, release, catalog, cache refresh, and live page.
  • WorkBuddy(CodeBuddy 开放平台) — 生成独立 Skill ZIP,并在控制台上传、解析、填写上架信息和提交审核。
  • Alipay SkillPay — validated product ZIP, explicit CNY price, upload, parse, submission, and observable review state.

For any additional platform, follow references/channels.md and verify its current official name, submission contract, public URL, and completion signal before implementing an adapter.

User Configuration

Publishing inherently needs persistent target settings. Initialize them on first use through references/user-config.md, while keeping tokens in environment or credential stores rather than committed profiles.

Workflow (MANDATORY)

Step 0: Resolve roots and settings

  • Resolve this Skill as SKILL_DIR.
  • Resolve the source from an explicit path, current directory, or conversation.
  • Resolve target settings from flags, environment, and shared profile.
  • Verify referenced scripts and channel documents before external changes.

Step 1: Validate canonical source

python3 "$SKILL_DIR/scripts/validate_skill.py" SOURCE --target source

Check that source has no platform metadata directory or generated release artifacts. Record name, version, description, modules, dependencies, git state, and whether a remote already exists.

Step 2: Auto-price the Skill

Use lov-skill-pricing for every source, even when the user only says “发布” or selects a channel without mentioning price.

  1. Pass the validated source, version, delivery unit, real result evidence, maintenance/support conditions, selected channels, and any existing price or pricing-card.yaml into the pricing workflow.
  2. Let the pricing workflow use explicit assumptions when cost/value inputs are missing. Ask at most one focused question only when the missing field changes the commercial model; ordinary missing estimates must not block publication.
  3. If the user supplied a public price, currency, free/paid status, or billing model, preserve it as a hard publishing constraint and have the Pricing Card explain any difference from its model recommendation.
  4. Record recommended price, launch price, stable range, billing model, channel, cost floor, value anchor, weighted score, confidence, evidence gaps, and review trigger outside canonical source.
  5. Reuse this one price contract across selected adapters. Skill Publisher maps it into catalog pricing metadata and its public Pricing Card; SkillPay uses the public CNY price; installation-only channels use the free/paid funnel and upgrade path without inventing a separate price.

Do not hand-author an unexplained price inside a channel adapter. If automatic pricing cannot run, mark pricing blocked with the missing Skill/resource and do not submit a paid listing with an inferred number.

Step 3: Resolve channels and release model

If channels are explicit, proceed without another distribution question. If no channel is named, select only Skill Publisher and proceed without asking the user to choose a channel. Expand to all supported adapters only after an explicit all-channel or multi-platform request.

For each selected channel, resolve only required fields:

  • public/private visibility and free/paid catalog status where supported;
  • paid delivery mode: protected encrypted bundle or explicitly public source;
  • organization, account, catalog, or output location;
  • platform metadata, icon, examples, and source locator;
  • requested version versus current source version.

Do not ask users to choose implementation details such as staging layout, validation commands, archive format, or adapter order.

Step 4: Build a per-channel plan

Read references/channels.md, then load only the selected channel references. Keep independent state for each target so one failure does not masquerade as a successful multi-channel release.

Step 5: Publish Skill Publisher

Read references/publishing.md completely. Execute the source repository, release, catalog, cache refresh, and live verification workflow. Publication is complete only when the expected version and release-specific content are visible on the live detail page and the catalog's exact install command succeeds through the declared delivery mode. A paid catalog entry without either a verified encrypted bundle or explicit public_source: true is blocked, not published. When a catalog refresh adds or delists a Skill, verify that dynamic global/all licenses immediately gain or lose catalog access without granting or spending Credits. This entitlement check is part of publication, not a later migration.

Step 6: Publish WorkBuddy through CodeBuddy

Read references/workbuddy.md completely. Keep connector metadata and icon in a publisher profile outside source, then run:

python3 "$SKILL_DIR/scripts/build_workbuddy.py" SOURCE \
  --meta CONNECTOR_META \
  --icon ICON \
  --output-dir OUTPUT_DIR

Record source validation, package validation, archive listing, checksum, module count, and output paths. Then follow references/workbuddy.md: upload each individual ZIP to https://www.codebuddy.cn/open/console/dashboard, wait for “解析成功”, fill user-facing Chinese/English listing fields, and submit it. Record the review state separately from public listing evidence.

Step 7: Submit Alipay SkillPay

Read references/skillpay.md completely. Build a clean product ZIP outside the canonical source, keep the current Pricing Card price as the single public CNY price, then upload and wait for parsing to finish before submitting. Record the product title, package checksum, public price, submission result, and current review state. A parsed archive is only uploaded; a success notice after form submission is review until the marketplace marks the product live.

Step 8: Additional platform adapter

Use the adapter contract in references/channels.md. Research current official documentation, implement deterministic preparation/validation scripts when useful, and define an observable completion gate. Never reuse another channel's metadata or call an upload dialog a completed publication.

Step 9: Multi-channel report

Report each target separately:

Channel State Version/artifact Evidence Follow-up
TARGET prepared/published/verified VALUE URL or local path ACTION

Use precise states. prepared, uploaded, installed, listed, and live represent different outcomes.

Dependencies

  • Python 3.8+
  • PyYAML
  • lov-skill-pricing for the default pre-publish Pricing Card
  • git and gh for GitHub-backed publication
  • Target-specific credentials resolved without printing secrets

Local development

Validate this publisher Skill with:

python3 scripts/validate_skill.py . --target source

Runtime context (shared)

运行前读取本 Skill 包的 skill.yaml,由宿主提供 skill-runtime/v1 上下文。字段解析顺序为:当前请求、项目上下文、个人 Preferences、品牌 Profile、通用默认值。

  • 只使用 Manifest 声明的字段;Profile 保存公开品牌事实,Preferences 保存个人工作偏好。
  • required: true 字段缺失时,按 Manifest 的问题配置向用户提出一个聚焦问题;用户明确同意后再保存回答。
  • 报错提供可复制的 context_id、字段路径与来源,诊断内容避开秘密、完整私人路径和原始配置。

通用反馈闭环

用户在 Skill 驱动任务中提出修改意见时,继续当前产物前必须执行:

  1. 先判断意见是 task-specific(仅本次)还是 reusable(可跨任务复用)。
  2. task-specific 只修改当前任务,不改 Skill。
  3. reusable 先确定作用域:领域规则先更新对应 canonical Skill;适用于所有 Skill 的规则先更新共享规范。
  4. 完成规则更新、版本、lint 与分发核验后,再把修改应用到当前任务。
  5. reusable 修改会使此前的“确认”“继续”“发吧”失效;完成当前产物修改和回读后必须停下,等待用户下一步指示,不自动进入发布、提交或其他外部写入。
Files (skills)
  • references
    • channels.md 2.7 KB
      Loading…
    • publishing.md 5.1 KB
      Loading…
    • skillpay.md 2.1 KB
      Loading…
    • user-config.md 1.3 KB
      Loading…
    • workbuddy.md 2.8 KB
      Loading…
  • scripts
    • build_workbuddy.py 11.2 KB
      Loading…
    • validate_skill.py 20.1 KB
      Loading…
  • .gitignore 84 B · in bundle
  • CHANGELOG.md 3.3 KB
    Loading…
  • LICENSE 1 KB · in bundle
  • README.md 2.6 KB
    # Skill 发布助手 · Skill Publisher
    
    ![Version](https://img.shields.io/badge/version-0.7.2-CC785C)
    
    把已经验证并安装在本地的 Skill 发布到一个或多个独立渠道。发布前默认调用 `lov-skill-pricing` 自动生成或刷新可解释定价,再把同一价格契约适配到各渠道,同时保持平台元数据和发行产物不污染源代码。
    
    ## 本地安装
    
    在本仓库根目录执行:
    
    ```bash
    export SKILL_SOURCE_DIR="$(pwd)"
    mkdir -p "${SKILL_SKILLS_INSTALL_DIR:?请设置本地 Skills 目录}"
    ln -s "$SKILL_SOURCE_DIR" \
      "$SKILL_SKILLS_INSTALL_DIR/lov-skill-publisher"
    ```
    
    也可以通过 Skills CLI 安装:
    
    ```bash
    npx skills add lovstudio/skill-publisher-skill -g -y
    ```
    
    ## 当前适配器
    
    | 渠道 | 交付结果 | 完成证据 |
    |------|----------|----------|
    | Skill Publisher | GitHub 源仓库、Release、目录和线上详情页 | 线上版本与内容可见 |
    | 腾讯 WorkBuddy | Connector ZIP,可继续导入个人技能库 | 包校验、校验和及安装列表 |
    | 支付宝 SkillPay | 商品 ZIP、人民币定价和审核提交 | 解析成功、提交回执与商品状态 |
    
    其他平台通过 `references/channels.md` 的适配器契约扩展,并在实现时核对最新官方要求。
    
    付费 Skill 必须在发布前明确交付模式:受保护源码使用已完成服务端登记和本地解密回归的
    加密包;用户明确保留公开源码时使用 `public_source: true`,CLI 在权益检查后从公开真源安装。
    只有付费目录卡和价格、却没有上述任一交付模式,不属于可发布状态。
    
    `global` / `all` license 是动态全量权益:有效期内覆盖目录里所有仍上架的 Skill,
    新 Skill 上架后自动纳入,不得在发放时展开成固定 Skill 清单;显式单项授权仍保持固定。
    
    ## 使用示例
    
    - 直接调用 `lov-skill-publisher`:默认只发布到 LovStudio 官网。
    - 只说“发布”也会先自动定价;用户明确给出的价格、币种和免费/付费状态会作为定价约束保留。
    - “把这个本地 Skill 发布到 Skill Publisher。”
    - “给这个 Skill 生成 WorkBuddy 包。”
    - “把这个 Skill 按 ¥19.9 提交到 SkillPay。”
    - “把这个 Skill 分发到全部渠道,并分别验证。”
    
    ## 质量门
    
    ```bash
    python3 scripts/validate_skill.py . --target source
    ```
    
    WorkBuddy 包:
    
    ```bash
    python3 scripts/build_workbuddy.py SOURCE \
      --meta CONNECTOR_META \
      --icon ICON \
      --output-dir OUTPUT_DIR
    ```
    
    ## 依赖
    
    - Python 3.8+
    - PyYAML
    - `lov-skill-pricing`(默认发布前自动定价)
    - Git 与 GitHub CLI(Skill Publisher 渠道)
    - 各目标渠道所需凭据
    
    ## License
    
    MIT
    
  • SKILL.md 11.1 KB
    ---
    name: lov-skill-publisher
    description: >
      Publish or submit a validated Skill. Default to the LovStudio official
      website, run lov-skill-pricing automatically, and use other channels only
      when explicitly named.
    license: MIT
    compatibility: >-
      Requires Python 3.8+, PyYAML, git and GitHub CLI for the Skill Publisher
      adapter. Channel credentials stay in environment variables or credential
      stores; generated metadata and archives stay outside canonical source.
    metadata:
      author: contributors
      version: "0.7.2"
      tags:
        - skill-publisher
        - release
        - marketplace
        - workbuddy
        - skillpay
      dependencies:
        - lov-skill-pricing
    ---
    
    # Skill 发布助手 · Skill Publisher
    
    Publish one validated local Skill source to the LovStudio official website or
    explicitly selected additional channels. When the user does not specify a
    channel, run only the Skill Publisher website adapter. Always auto-price first,
    keep channel metadata and generated packages outside canonical source, and
    report evidence per selected channel.
    
    ## Triggers
    
    ### Activate when
    
    - 用户说“发布这个 Skill”“上架 Skill Publisher”“生成 WorkBuddy 包”或“分发到多个平台”。
    - The user asks to publish, release, distribute, upload, or package an existing Skill.
    
    ### Do not activate when
    
    - 用户要创建、实现、修改或仅在本地安装 Skill;交给 `lov-skill-creator`。
    - 用户只是在调用某个业务 Skill,而不是发布它。
    
    ## Product boundary
    
    - Input is a local Skill source that already passes source validation.
    - When no channel is specified, select only **Skill Publisher**, the LovStudio
      official website adapter.
    - Explicitly named channels narrow the run; do not ask a channel-selection question
      when the request omits channel parameters.
    - Run every supported adapter only when the user explicitly says “全部渠道”,
      “多平台”, “all channels”, or names every intended channel.
    - A request may select multiple channels in one run.
    - Pricing, visibility, protection, licensing, and target accounts are publishing
      inputs. Reuse context when known and ask only for values required by a target.
    - A license scope named `global` or `all` is a dynamic entitlement to every
      currently listed Skill for the license lifetime. Never publish or migrate it
      as a frozen list of current Skill IDs; explicit per-Skill grants remain fixed.
    - Every publish run invokes `lov-skill-pricing` by default to create or refresh one
      evidence-backed Pricing Card per Skill before channel preparation. An explicit
      user price is a constraint for that pricing pass, not a reason to skip it.
    - Keep the canonical Pricing Card in publisher profile/output storage. Transform
      only its public fields into catalogs, packages, or submission forms; do not add
      channel state or generated cards to canonical Skill source.
    - Channel metadata, credentials, staging files, and archives stay outside source.
    
    Supported adapters in this version:
    
    - **Skill Publisher** — source repository, release, catalog, cache refresh, and live page.
    - **WorkBuddy(CodeBuddy 开放平台)** — 生成独立 Skill ZIP,并在控制台上传、解析、填写上架信息和提交审核。
    - **Alipay SkillPay** — validated product ZIP, explicit CNY price, upload, parse,
      submission, and observable review state.
    
    For any additional platform, follow `references/channels.md` and verify its
    current official name, submission contract, public URL, and completion signal
    before implementing an adapter.
    
    ## User Configuration
    
    Publishing inherently needs persistent target settings. Initialize them on first
    use through `references/user-config.md`, while keeping tokens in environment or
    credential stores rather than committed profiles.
    
    ## Workflow (MANDATORY)
    
    ### Step 0: Resolve roots and settings
    
    - Resolve this Skill as `SKILL_DIR`.
    - Resolve the source from an explicit path, current directory, or conversation.
    - Resolve target settings from flags, environment, and shared profile.
    - Verify referenced scripts and channel documents before external changes.
    
    ### Step 1: Validate canonical source
    
    ```bash
    python3 "$SKILL_DIR/scripts/validate_skill.py" SOURCE --target source
    ```
    
    Check that source has no platform metadata directory or generated release
    artifacts. Record name, version, description, modules, dependencies, git state,
    and whether a remote already exists.
    
    ### Step 2: Auto-price the Skill
    
    Use `lov-skill-pricing` for every source, even when the user only says “发布” or
    selects a channel without mentioning price.
    
    1. Pass the validated source, version, delivery unit, real result evidence,
       maintenance/support conditions, selected channels, and any existing price or
       `pricing-card.yaml` into the pricing workflow.
    2. Let the pricing workflow use explicit assumptions when cost/value inputs are
       missing. Ask at most one focused question only when the missing field changes
       the commercial model; ordinary missing estimates must not block publication.
    3. If the user supplied a public price, currency, free/paid status, or billing
       model, preserve it as a hard publishing constraint and have the Pricing Card
       explain any difference from its model recommendation.
    4. Record recommended price, launch price, stable range, billing model, channel,
       cost floor, value anchor, weighted score, confidence, evidence gaps, and review
       trigger outside canonical source.
    5. Reuse this one price contract across selected adapters. Skill Publisher maps
       it into catalog pricing metadata and its public Pricing Card; SkillPay uses the
       public CNY price; installation-only channels use the free/paid funnel and
       upgrade path without inventing a separate price.
    
    Do not hand-author an unexplained price inside a channel adapter. If automatic
    pricing cannot run, mark pricing `blocked` with the missing Skill/resource and do
    not submit a paid listing with an inferred number.
    
    ### Step 3: Resolve channels and release model
    
    If channels are explicit, proceed without another distribution question. If no
    channel is named, select only Skill Publisher and proceed without asking the
    user to choose a channel. Expand to all supported adapters only after an explicit
    all-channel or multi-platform request.
    
    For each selected channel, resolve only required fields:
    
    - public/private visibility and free/paid catalog status where supported;
    - paid delivery mode: protected encrypted bundle or explicitly public source;
    - organization, account, catalog, or output location;
    - platform metadata, icon, examples, and source locator;
    - requested version versus current source version.
    
    Do not ask users to choose implementation details such as staging layout,
    validation commands, archive format, or adapter order.
    
    ### Step 4: Build a per-channel plan
    
    Read `references/channels.md`, then load only the selected channel references.
    Keep independent state for each target so one failure does not masquerade as a
    successful multi-channel release.
    
    ### Step 5: Publish Skill Publisher
    
    Read `references/publishing.md` completely. Execute the source repository,
    release, catalog, cache refresh, and live verification workflow. Publication is
    complete only when the expected version and release-specific content are visible
    on the live detail page and the catalog's exact install command succeeds through
    the declared delivery mode. A paid catalog entry without either a verified
    encrypted bundle or explicit `public_source: true` is blocked, not published.
    When a catalog refresh adds or delists a Skill, verify that dynamic `global`/`all`
    licenses immediately gain or lose catalog access without granting or spending
    Credits. This entitlement check is part of publication, not a later migration.
    
    ### Step 6: Publish WorkBuddy through CodeBuddy
    
    Read `references/workbuddy.md` completely. Keep connector metadata and icon in a
    publisher profile outside source, then run:
    
    ```bash
    python3 "$SKILL_DIR/scripts/build_workbuddy.py" SOURCE \
      --meta CONNECTOR_META \
      --icon ICON \
      --output-dir OUTPUT_DIR
    ```
    
    Record source validation, package validation, archive listing, checksum, module
    count, and output paths. Then follow `references/workbuddy.md`: upload each
    individual ZIP to `https://www.codebuddy.cn/open/console/dashboard`, wait for
    “解析成功”, fill user-facing Chinese/English listing fields, and submit it.
    Record the review state separately from public listing evidence.
    
    ### Step 7: Submit Alipay SkillPay
    
    Read `references/skillpay.md` completely. Build a clean product ZIP outside the
    canonical source, keep the current Pricing Card price as the single public CNY
    price, then upload and wait for parsing to finish before submitting. Record the
    product title, package checksum, public price, submission result, and current
    review state. A parsed archive is only `uploaded`; a success notice after form
    submission is `review` until the marketplace marks the product live.
    
    ### Step 8: Additional platform adapter
    
    Use the adapter contract in `references/channels.md`. Research current official
    documentation, implement deterministic preparation/validation scripts when
    useful, and define an observable completion gate. Never reuse another channel's
    metadata or call an upload dialog a completed publication.
    
    ### Step 9: Multi-channel report
    
    Report each target separately:
    
    | Channel | State | Version/artifact | Evidence | Follow-up |
    |---------|-------|------------------|----------|-----------|
    | TARGET | prepared/published/verified | VALUE | URL or local path | ACTION |
    
    Use precise states. `prepared`, `uploaded`, `installed`, `listed`, and `live`
    represent different outcomes.
    
    ## Dependencies
    
    - Python 3.8+
    - PyYAML
    - `lov-skill-pricing` for the default pre-publish Pricing Card
    - `git` and `gh` for GitHub-backed publication
    - Target-specific credentials resolved without printing secrets
    
    ## Local development
    
    Validate this publisher Skill with:
    
    ```bash
    python3 scripts/validate_skill.py . --target source
    ```
    
    ## Runtime context (shared)
    
    运行前读取本 Skill 包的 `skill.yaml`,由宿主提供 `skill-runtime/v1` 上下文。字段解析顺序为:当前请求、项目上下文、个人 Preferences、品牌 Profile、通用默认值。
    
    - 只使用 Manifest 声明的字段;Profile 保存公开品牌事实,Preferences 保存个人工作偏好。
    - `required: true` 字段缺失时,按 Manifest 的问题配置向用户提出一个聚焦问题;用户明确同意后再保存回答。
    - 报错提供可复制的 `context_id`、字段路径与来源,诊断内容避开秘密、完整私人路径和原始配置。
    
    ## 通用反馈闭环
    
    用户在 Skill 驱动任务中提出修改意见时,继续当前产物前必须执行:
    
    1. 先判断意见是 `task-specific`(仅本次)还是 `reusable`(可跨任务复用)。
    2. `task-specific` 只修改当前任务,不改 Skill。
    3. `reusable` 先确定作用域:领域规则先更新对应 canonical Skill;适用于所有 Skill 的规则先更新共享规范。
    4. 完成规则更新、版本、lint 与分发核验后,再把修改应用到当前任务。
    5. `reusable` 修改会使此前的“确认”“继续”“发吧”失效;完成当前产物修改和回读后必须停下,等待用户下一步指示,不自动进入发布、提交或其他外部写入。
    
  • skill.yaml 845 B
    Loading…

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.