Skip to content
AI & Agents
Command

/publish-skill

Publish the Skill named in `$ARGUMENTS` through the repository's mandatory quality gate.

BOOST
From plugin
chujianyun-skills
7451 skill1 command
Install
> /plugin marketplace add chujianyun/skills

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/publish-skill

Context preview

What this command does when you run it.

Publish the Skill named in `$ARGUMENTS` through the repository's mandatory quality gate.

Command definition

publish-skill.md

Publish one registered Skill

Publish the Skill named in `$ARGUMENTS` through the repository's mandatory quality gate.

Execute these steps in order. Do not skip a step and do not represent a stopped or failed run as a successful publication.

1. Read `AGENTS.md` and `config/skills.json`. Resolve exactly one directory at `skills/$ARGUMENTS/`. Stop if the Skill is missing, duplicated, or not registered. 2. Use the `skill-optimizer` Skill to review only the target Skill. Cover triggering, workflow order, failure handling, confirmation gates, output contract, progressive disclosure, external dependencies, sensitive information, and high-impact actions. 3. For a newly created Skill, this `/publish-skill` invocation is explicit authorization to apply safe, in-scope optimizer changes automatically. Stop and ask before destructive changes, secret handling, external publication, or changes outside the target Skill. For an existing Skill, retain the optimizer's normal review-plan-confirmation gate. 4. Apply all approved optimizer fixes. If any required review item remains unresolved, stop before recording a pass. 5. Run `python3 scripts/validate_skill.py $ARGUMENTS`. Fix in-scope failures and rerun it. Do not continue until it exits successfully. 6. Only after the semantic review and deterministic validation both pass, run `python3 scripts/record_optimizer_review.py $ARGUMENTS --status passed`. 7. Run `python3 scripts/publish_skill.py $ARGUMENTS`.

`SKILLS_MARKET_PUBLISHER` must point to the configured internal-market executable. A missing adapter, rejected upload, stale optimizer report, validation failure, Git failure, or push failure is a hard stop. Market upload must complete before Git commit or push.

Read more
Ships withchujianyun-skills

这是悟鸣公开维护的一组 Agent Skills,偏实战、偏工作流,主要服务于 AI 工具使用、文档解读、项目配置、运维排障与技能分发。 和“技能清单”相比,这个仓库更适合被理解成一张能力地图:每个 skill 不只是一个说明文件,而是围绕某一类任务组织起来的可复用能力单元。

Get the whole plugin