← Back to Skills Marketplace
fancyecommerce

fecify-site-manager-v1

by Terry · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
35
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install fecify-site-manager-v1
Description
管理多个 Fecify 独立站。每个会话绑定一个站点(URL + API Token),配置持久化, 重启不丢失。支持商品、订单及 CSV 批量导入等业务操作。
README (SKILL.md)

Fecify 站群管家 v1

版本: v1 | 配置数据存储于 data/fecify-shared/,发版升级不影响已有配置

0. 会话隔离

所有 exec 调用必须带 env: { FECIFY_SESSION: "\x3C标识>" }

会话标识:用户指定 → 用指定名称;未指定 → 用 session key 后 8 位。

exec({ env: { FECIFY_SESSION: "agent-a" }, command: "node scripts/base/check-config.js" })

1. 会话启动

node scripts/base/check-config.js

未配置 → 提示用户提交 站点URL + AccessToken(任意格式),然后:

node scripts/base/save-config.js "\x3CURL>" "\x3CToken>"

该脚本自动保存配置并拉取 init 数据。配置持久化,不受重启影响。

已配置 → 显示站点 URL 和 init 状态。

2. 模块速查

API 操作

模块 文档 API
商品 products.md 列表/详情/创建/更新
图片 base-image.md 列表/上传(跨模块公用)
订单 orders.md 待补充
优惠券 coupons.md 待补充

业务场景

场景 文档 说明
CSV 导入 csv-import.md 所有平台 CSV 商品导入入口

参考

文档 说明
architecture.md 目录结构 / api-client / site-config
extending.md 新增模块 / 新增 CSV 格式

3. API 调用

node scripts/proxy/api-call.js \x3CMETHOD> \x3CPATH> [BODY_JSON]

示例:

node scripts/proxy/api-call.js GET /api/skill/product/list '{"pageNum":1,"pageSize":20}'
node scripts/proxy/api-call.js POST /api/skill/product/create '{"product":{...}}'

先读 docs/ 下对应文档获取参数说明,再调用。

响应判断

code === 200 → 成功;否则 → 失败。

// 成功
{ "code": 200, "message": "success", "data": { ... } }
// 业务错误
{ "code": 100701001, "message": "product save fail | ..." }
// PHP 异常(HTML 响应)
{ "code": -1, "message": "服务端返回 HTML 异常...", "_raw": "..." }
  • code === 200 → 读 data
  • code === -1 → 网络/解析层错误
  • 其他 code → 业务错误,看 message

4. CSV 导入(两步交互)

用户上传 CSV → 先检测再导入,不可跳过检测。 检测分两步:① 表格格式识别 ② 数据行校验。有异常 → 提示修复重新上传;无异常 → 展示选项等用户确认。 完整交互模板见 shopify-csv-product-import.md

# Step 1 — 检测
node scripts/csv-import/detect-shopify-csv.js \x3CCSV文件>

# Step 2 — 执行(根据用户选择组装参数)
node scripts/csv-import/import-shopify-csv.js \x3CCSV> [--max=N] [--skip=N] [--dry-run] [--use-network-images] [--gen-tags=none|auto|force] [--tag-count=N] [--img-concurrency=N] [--img-retries=N] [--import-concurrency=N] [--skip-validation]
Usage Guidance
Install only if you trust this skill with your Fecify store. Use a scoped/revocable API token, verify the active session/site before every operation, require confirmation for create/update/delete actions, and test CSV imports with dry-run or small batches first.
Capability Analysis
Type: OpenClaw Skill Name: fecify-site-manager-v1 Version: 1.0.0 The skill bundle is a legitimate management tool for Fecify e-commerce sites, providing functionality for API interaction and Shopify CSV product imports. It implements a session-based configuration system that stores site URLs and access tokens locally in a shared data directory to ensure persistence across updates. The code demonstrates good practices, such as input validation in `api-client.js`, a two-step verification process for CSV imports in `detect-shopify-csv.js`, and automatic cleanup of temporary files. There are no signs of data exfiltration, malicious execution, or harmful prompt injection instructions.
Capability Tags
requires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The stated purpose, code, and docs consistently focus on Fecify site management, products, images, and CSV imports, but these are business-impacting actions.
Instruction Scope
The generic API proxy accepts caller-supplied HTTP methods and paths, including DELETE, with no visible allowlist or per-call approval gate outside the CSV workflow.
Install Mechanism
No install spec or external package installation is shown; the skill uses bundled Node.js scripts and built-in modules.
Credentials
The skill can create/update products, upload images, and run full CSV imports against a configured store, which is proportionate to the purpose but high-impact if misused.
Persistence & Privilege
The skill clearly discloses persistent URL/token configuration, but users should understand that the site access token is saved to disk for reuse across restarts.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install fecify-site-manager-v1
  3. After installation, invoke the skill by name or use /fecify-site-manager-v1
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- 初始发布,支持多站点 Fecify 独立站管理,每个会话绑定一个站点,配置持久化。 - 商品、订单、CSV 批量导入等核心业务操作组件化、文档化。 - 会话隔离机制,确保操作互不干扰。 - API 调用统一流程与响应判断标准,便于扩展与故障排查。 - CSV 商品导入支持两步交互,错误提示友好,流程透明。
Metadata
Slug fecify-site-manager-v1
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is fecify-site-manager-v1?

管理多个 Fecify 独立站。每个会话绑定一个站点(URL + API Token),配置持久化, 重启不丢失。支持商品、订单及 CSV 批量导入等业务操作。 It is an AI Agent Skill for Claude Code / OpenClaw, with 35 downloads so far.

How do I install fecify-site-manager-v1?

Run "/install fecify-site-manager-v1" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is fecify-site-manager-v1 free?

Yes, fecify-site-manager-v1 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does fecify-site-manager-v1 support?

fecify-site-manager-v1 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created fecify-site-manager-v1?

It is built and maintained by Terry (@fancyecommerce); the current version is v1.0.0.

💬 Comments