GB-Power-Market-JJ caixu-build-package
Build Application Document Package. Use when the user wants export files and a submission bundle from an existing library at the packaging stage, including “生成材料包”“导出资产总表和续办清单”“准备提交包”. Prefer caixu-skill when the user asks for the full end-to-end mainline or is unsure which stage to run. This skill loads the latest validated lifecycle result, a RuleProfileBundle, assets and parsed files, asks an agent to choose package contents, validates the decision, runs deterministic docgen exports, persists the package run with an audit sidecar, and prepares the final bundle for downstream use.
install
source · Clone the upstream repo
git clone https://github.com/GeorgeDoors888/GB-Power-Market-JJ
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/GeorgeDoors888/GB-Power-Market-JJ "$T" && mkdir -p ~/.claude/skills && cp -r "$T/openclaw-skills/skills/angjustinl/asset-library-skill/caixu-build-package" ~/.claude/skills/georgedoors888-gb-power-market-jj-caixu-build-package && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/GeorgeDoors888/GB-Power-Market-JJ "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/openclaw-skills/skills/angjustinl/asset-library-skill/caixu-build-package" ~/.openclaw/skills/georgedoors888-gb-power-market-jj-caixu-build-package && rm -rf "$T"
manifest:
openclaw-skills/skills/angjustinl/asset-library-skill/caixu-build-package/SKILL.mdsource content
Build Application Document Package
在用户要“生成材料包”“导出资产总表和续办清单”“准备提交包”时使用这个 skill。
Quick flow
- 读取最近一次已验证的 lifecycle 结果
- 让 agent 选材
- 预检、导出、写 package run
Read next only when needed
- 要确认顺序和输入前提时,读 references/workflow.md
- 要确认
、PackageRunData
、导出物约定时,读 references/tool-contracts.mdpackage_plan - 要对齐
和 truthful package 输出时,读 references/output-patterns.mdpackage_plan - 遇到阻塞 readiness、缺真实文件、truthful package 边界时,读 references/failure-modes.md
Required tools
caixu-data-mcp.query_assetscaixu-data-mcp.get_parsed_filescaixu-data-mcp.get_rule_profilecaixu-data-mcp.get_latest_lifecycle_runcaixu-data-mcp.write_package_run
Required local code
- 使用共享
@caixu/docgen - 不要自行发明第二套导出格式
Workflow
- 要求
、library_id
、goal
、output_dir
。submission_profile - 先读
;没有已验证 lifecycle 时直接失败并推荐get_latest_lifecycle_run
。check-lifecycle - 读取
、资产和 parsed files。RuleProfileBundle - 让 agent 决定
、selected_asset_ids
和包内顺序。operator_notes - 在导出前运行
,确认输出目录和源文件都可用。scripts/preflight-package-output.mjs - 用共享 docgen 生成 ledger 和 zip。
- 调用
持久化 package plan 与 audit。write_package_run - 成功后推荐下一步
。submit-demo
Guardrails
只能消费 lifecycle readiness,不能重写 readiness。build-package- 即使阻塞,也只允许 truthful package,不能把 blocked 翻成 ready。
- 不得声称文件已导出,除非文件真实存在。
- zip 必须包含真实源文件,不是空 manifest。