AGENT SKILL

资源包晋升发布

promote

将项目本地资源包晋升/毕业至其上游 AIWG 位置或私有语料库路径。

适用职业AI 工程师
License 许可
MIT
所属仓库
jmagly/aiwg
最近更新
2026-11-14
Stars
★ 229
Forks
36

01 前言 Front Matter

name
promote
triggers
[ "promote bundle", "promote project-local", "graduate project-local bundle", "graduate to upstream", "project-local bundle" ]
namespace
aiwg
platforms
[ "all" ]
description
Promote or graduate a project-local bundle to its upstream AIWG location or to a private corpus path.

03 SKILL.md 正文

Promote Project-Local Bundle

Graduate a proven project-local bundle without losing its source provenance.

Behavior

  1. Identify the project-local bundle and its intended destination.

  2. Preview the copy and registry transition:

    aiwg promote <name> --dry-run
    
  3. Promote to the declared upstream location or a private corpus:

    aiwg promote <name> --to upstream
    aiwg promote <name> --to corpus <path>
    
  4. Use --cleanup only when the project-local source should be removed after successful promotion. Use --force only after reviewing a destination conflict.

Safety

  • Run aiwg doctor and a dry run before promotion.
  • Promotion verifies the bundle manifest and destination before copying.
  • Omit --cleanup to retain the project-local source.

References

  • @$AIWG_ROOT/src/cli/handlers/subcommands.ts — promote command handler
  • @$AIWG_ROOT/src/extensions/project-local-promote.ts — promotion implementation
  • @$AIWG_ROOT/agentic/code/addons/aiwg-utils/skills/steward-quickref/SKILL.md

04 同仓库更多 Skills