craft-data-visual
БесплатноБез исполняемых скриптовНе проверенTurn data into a finished visual with ArtCraft apps - GridCraft workbook with a formula-error read-back, chart, VectorCraft/DesignCraft infographic, DeckCraft…
от BlackBeltTechnology★ 357 звёзд на GitHubОб этом скилле
craft-data-visual — data → workbook + read-back → chart → infographic → slide
GridCraft computes and charts, VectorCraft makes an accent graphic, DesignCraft lays the infographic out, DeckCraft puts it on a
slide. GridCraft prints formula errors with exit 0, so the chart's source range is read back before anything is exported.
Read gridcraft, vectorcraft, designcraft and deckcraft first. Resumable-job rules are in the craft-studio router,
section Craft jobs.
Step table
| # | Step | Tool | Input → Output | Gate |
|---|---|---|---|---|
| 0 | Preflight + job | agent | request → job.json |
check: job |
| 1 | Workbook + read-back | GridCraft | data → 01-data/data.xlsx |
check: readback |
| 2 | Chart | GridCraft + PdfCraft + PhotoCraft | workbook → 02-chart/chart.pdf, chart.png |
pi-craft verify --pages --text-contains, --size |
| 3 | Infographic | VectorCraft + DesignCraft | chart + figure → 03-infographic/infographic.pdf |
pi-craft verify --pages --text-contains, --size |
| 4 | Slide | DeckCraft | infographic → 04-slide/slide.pptx, slide.pdf |
pi-craft verify --pages --text-contains |
Hand-off formats: xlsx between 1 and 2, png for the chart and every placement, svg only for the VectorCraft accent (gated
through its png preview, never passed to pi-craft verify), pdf for delivery. GridCraft has no chart image command: the
chart comes from its PDF export (run --in x.xlsx --out x.pdf), rendered by PdfCraft and trimmed by PhotoCraft.
Step 0 — Preflight and job
Output: craft-jobs/<slug>/job.json (created or loaded).
Gate: check: job.
No sibling skills are referenced: the apps are provisioned by pi-craft itself, so there is no degraded path — if an app cannot
be provisioned, stop and report it. Ask for the data (a file or numbers), the chart type and the title. Set up the job
(Craft jobs in craft-studio: slug rule, job-helper) and run Resume.
# run from the directory that contains craft-jobs/ (SLUG set as in step 0)
jq -e '.name and .workflow and (.steps | type == "object")' "craft-jobs/$SLUG/job.json"
Step 1 — Workbook and read-back
Output: 01-data/data.xlsx (data, formulas and the chart object) and 01-data/readback.out.
Gate: check: readback — the chart's source range contains none of #NAME? #DIV/0! #REF! #VALUE! #N/A #NUM!
#NULL!. A hit stops the step: fix the formula (pi-craft gridcraft exec cat data.xlsx --formulas shows the source) and no chart is exported.
range.setValues types data and formulas (strings starting with = are formulas, null is empty), insert.chart adds the
chart (range, type column|bar|line|pie|…, title, at the anchor cell, width/height px). Anchor it at A1: the chart
then covers the data, so the page export shows the chart alone. pi-craft gridcraft exec commands --search chart lists the options.
pi-craft gridcraft exec run --cmd 'range.setValues={"range":"A1","values":[["Quarter","Revenue"],["Q1",120],["Q2",150],["Q3",90],["Q4",200]]}' \
--cmd 'insert.chart={"range":"A1:B5","type":"column","title":"Revenue by quarter","at":"A1","width":480,"height":300}' --out "$JOB/01-data/data.xlsx"
# run inside the step directory: cd "$JOB/01-data"; SRC_RANGE is the chart's source range (default A1:B5)
pi-craft gridcraft exec cat data.xlsx --range "${SRC_RANGE:-A1:B5}" > readback.out
test -s readback.out && ! grep -qE '#(NAME\?|DIV/0!|REF!|VALUE!|N/A|NUM!|NULL!)' readback.out
Step 2 — Chart
Output: 02-chart/chart.pdf and 02-chart/chart.png (the chart only).
Gate: pi-craft verify chart.pdf --pages 1 --text-contains "<chart title>", then pi-craft verify chart.png --size <WxH> with the size
image.trim reported.
Export the workbook to pdf (gridcraft-cli convert rejects .pdf; run --in … --out x.pdf works), render the page at 100 dpi
with PdfCraft, and let PhotoCraft trim the white margin (image.trim basedOn: topLeft); it reports the exact size.
pi-craft gridcraft exec run --in "$JOB/01-data/data.xlsx" --out "$JOB/02-chart/chart.pdf"
pi-craft verify "$JOB/02-chart/chart.pdf" --pages 1 --text-contains "Revenue by quarter"
pi-craft pdfcraft exec render "$JOB/02-chart/chart.pdf" --page 1 --dpi 100 --out "$PWD/$JOB/02-chart/page.png"
SZ=$(pi-craft photocraft exec run "$JOB/02-chart/page.png" --cmd image.trim --params '{"basedOn":"topLeft"}' --out "$JOB/02-chart/chart.png" \
| jq -Rr 'fromjson? | select(.command=="image.trim") | "\(.result.width)x\(.result.height)"')
pi-craft verify "$JOB/02-chart/chart.png" --size "$SZ"
Step 3 — Infographic
Output: 03-infographic/badge.svg (+ preview badge.png), 03-infographic/infographic.pdf and infographic.png.
Gate: pi-craft verify — the badge preview --size --alpha; the pdf --pages 1 --text-contains "<headline>"; the png --size.
VectorCraft draws the accent (a KPI
Установить craft-data-visual в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл craft-data-visual?
Turn data into a finished visual with ArtCraft apps - GridCraft workbook with a formula-error read-back, chart, VectorCraft/DesignCraft infographic, DeckCraft slide; verified and resumable. Use for "make a chart from this spreadsheet", "build an infographic from these numbers", "put the revenue chart on a slide".
Как установить скилл craft-data-visual?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл craft-data-visual запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic