Files
skill-template/SKILL.md
chendelian 4a0be93b4a
All checks were successful
技能自动化发布 / release (push) Successful in 5s
chore: auto release commit (2026-07-03 12:09:55)
2026-07-03 12:09:55 +08:00

55 lines
2.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
name: Amazon 结算报表自动下载
description: "在 Amazon 卖家中心自动请求并下载结算报表Settlement"
version: 1.0.0
author: 深圳匠厂科技有限公司
metadata:
openclaw:
slug: download-settlement-report-amazon
platform_kit_min_version: "1.0.17"
emoji: "📊"
category: "跨境电商"
developer_ids:
- 10032
- 12500
allowed-tools:
- bash
dependencies:
required:
- account-manager
---
# Amazon 结算报表自动下载
在 Amazon 卖家仿真中心自动请求并下载结算报表Settlement产出 xlsx 文件并写入任务日志。
## 面向用户问答LLM 规则)
- 本文(`SKILL.md`)是 LLM / OpenClaw 平台读取的技能入口,**不是**用户市场说明。
- 根目录 `README.md` 是面向普通用户的说明(用户市场详情页主来源)。
当用户询问技能用途、场景、准备事项、结果形态等业务问题时,**必须优先读取**根目录 `README.md`,并用用户能理解的业务语言回答。
- **不要**把 `SKILL.md``references/``development/` 中的技术细节直接作为用户回答。
- 用户未问技术实现时,**不要**讨论 Playwright、RPA 等细节。
## 运行依赖
- Python 运行环境由匠厂宿主注入**共享 runtime**`{JIANGCHANG_DATA_ROOT}/python-runtime/.venv`
- 公共能力来自共享 runtime 安装的 `jiangchang-platform-kit>=1.0.17``jiangchang_skill_core` 包);**不要 vendor** `scripts/jiangchang_skill_core/`,新技能不得在仓库内保留该目录副本。
- config、logging、runtime_env、rpa、video_session 等均从共享 venv 的 `jiangchang_skill_core` import。
- 根目录 `requirements.txt` **只声明技能特有** Python 三方依赖;`playwright` 等公共能力由宿主共享 runtime 提供。
- Skill 代码**不要**自行 `pip install playwright`**不要**在技能内 `playwright install`
- 浏览器 RPA 档位:`OPENCLAW_TEST_TARGET=simulator_rpa`CI 默认 `mock`
- 账号由 `account-manager` 提供platform_key=`amazon_sim`)。
## 最小命令
```bash
python {baseDir}/scripts/main.py health
python {baseDir}/scripts/main.py version
python {baseDir}/scripts/main.py run --date-from 2025-12-01 --date-to 2025-12-31
```
执行契约见 `references/CLI.md`