Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

artworklady-digitizing

БесплатноЗапускает вложенные скриптыНе проверен

Artwork Lady embroidery-digitizing intake adapter — post a digitizing job into the Art work Lady portal (https://www.artworklady.com), which has no API. A…

zmtuckerот zmtucker511 установок в других каталогах

Об этом скилле

Artwork Lady — Embroidery Digitizing intake

Art work Lady digitizes embroidery artwork, and the only way in is a web intake form on https://www.artworklady.com/placeorder — there is no API. This skill drives that form with Playwright. It is the portal adapter half of the digitizing loop; the ERP half (poll digitize.demand, download the files, update the record) lives in the routine that calls it.

The single helper is scripts/artworklady_digitizing.py:

# Read-only diagnostic: log in, open the Embroidery tab, dump the live field
# map + a screenshot. Nothing is submitted. Run this first if the form changed.
python3 scripts/artworklady_digitizing.py capture '{}'

# Fill the form — DRY RUN by default (fills + validates, does NOT click Send).
python3 scripts/artworklady_digitizing.py submit '{
  "job_reference": "12345",
  "turnaround": "sameday",
  "file_types": ["dst"],
  "color_scheme": "CMYK",
  "files": ["/path/artwork.png", "/path/spec.pdf"],
  "message": "Left chest, 3.5in wide. Threads: white + navy. Digitize to DST."
}'

# Actually post the job — clicks Send and confirms via the submit response.
python3 scripts/artworklady_digitizing.py submit '{ … , "confirm": true }'

# Fetch the FINISHED files for a completed job (the return leg). Logs in,
# opens /orders, finds our row by job reference, and downloads that row's own
# download links — so the file is whatever the vendor named it, never a guess.
python3 scripts/artworklady_digitizing.py fetch '{"job_reference": "8524", "out_dir": "/tmp/dl"}'

Each command prints one JSON object, or {"error": {...}} with a non-zero exit. Credentials come from ARTWORKLADY_USERNAME / ARTWORKLADY_PASSWORD (or inline username/password); if missing it exits config_error — stop and tell the user to configure them, never ask for them in chat.

submit input

Key Required Default Notes
job_reference ✅ — The intake "Job reference". Set it to the digitize.demand / decoration id.
files ✅ — 1–3 local paths. The first fills the mandatory "Upload File Here"; the rest are optional.
turnaround ✅ — sameday | nextday | rushorder. Required — the caller supplies it per demand (no baked-in default).
file_types ["dst"] Any of dst | emb | exp | other (≥1). For other, also pass other_text.
color_scheme CMYK CMYK | RGB. (Present on the form though embroidery is thread-based.)
message "" Free text — the digitizing brief (dimensions, placement, thread colors, garment…).
proof_template false Ticks "Required proof template".
other_text — Required when file_types includes other.
admin_note — Optional hidden note posted with the job.
confirm false false = dry run (fill + validate, no Send). true = post the job.
login_type env/employee employee | company.
headless, base_url, state_path, timeout_ms, artifact_dir env Overrides for the env vars above.

The value mapping (which turnaround, which file type, what the message says, which two Odoo attachments to send) is the routine's decision — this skill just takes the values. The defaults above are placeholders to confirm.

fetch input / output — the return leg

fetch downloads a completed order's files from /orders by job reference, using that order row's own download links (never a guessed URL).

Key Required Default Notes
job_reference ✅ — The job reference to find (the decoration id).
order_id — Disambiguates when a job reference repeats across your orders (the Artwork Lady Order Id).
out_dir cwd / artifact_dir Where the files are written.
exts all Restrict to these extensions, e.g. ["dst","pdf"].
require_completed true Only pull a row marked Completed.
{ "status": "fetched", "job_reference": "8524", "order_id": "68217",
  "files": [ {"name":"8524.DST","path":"…","size":16878,"ext":"dst","url":"…"}, … ],
  "dst": "/abs/path/8524.DST" }
{ "status": "pending",   "job_reference": "8524", "message": "…not ready yet" }
{ "status": "not_found", "job_reference": "8524" }

Take the finished stitch file from dst. Why scrape rather than guess the URL: the vendor's file store is shared across customers, so a job-number collision can make it rename the file (e.g. 8524_2.DST). The /orders row always links to the right file for your order, whatever it is named.

What "success" means — read before wiring the status update

The Send button (input[name=submit], onclick="uploadfile()") is not a native form submit. uploadfile() validates, then POSTs a multipart/form-data XHR to https://www.artworklady.com/placeorder/order_form_submit, and on the XHR's load event it writes the response into #status and **redirects to `/placeorder/t

Полный SKILL.md на ClawHub

Установить artworklady-digitizing в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл artworklady-digitizing?

Artwork Lady embroidery-digitizing intake adapter — post a digitizing job into the Art work Lady portal (https://www.artworklady.com), which has no API. A Playwright driver logs in, opens the "Embroidery Digitizing" tab on the /placeorder form, fills the fields (job reference, turnaround, file type, color scheme, message), attaches 1–3 files, and — only when told to — clicks Send and confirms the job posted by watching the real order_form_submit response. Use when a decoration needs to be sent out for digitizing: "send this decoration to Artwork Lady", "post the digitizing job", "submit to the digitizer". It is a THIN PORTAL ADAPTER and touches no ERP: give it a job reference, the field values, and local file paths, and it returns a structured result. Pair it with a routine that polls Odoo `digitize.demand` (or `decoration`), downloads the attachments to disk, calls this skill, and updates the record on success. Submitting is gated behind `confirm: true`; the default is a dry run that fills and validates the form but posts nothing. A `fetch` command also downloads the FINISHED files back from `/orders` by job reference (the return leg), returning the DST path — by scraping our own order row so a job-number collision can't fetch the wrong file.

Как установить скилл artworklady-digitizing?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл artworklady-digitizing запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить artworklady-digitizing с