[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HQK43FKBEQAKK2E1CSX8Y7":3,"skill-same:01M6HQK43FKBEQAKK2E1CSX8Y7":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":6,"updatedAt":55,"install":56,"resources":69},"01M6HQK43FKBEQAKK2E1CSX8Y7","craft-data-visual",null,"Turn data into a finished visual with ArtCraft apps - GridCraft workbook with a formula-error read-back, chart, VectorCraft\u002FDesignCraft 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\".","BlackBeltTechnology\u002Fpi-agent-dashboard","BlackBeltTechnology","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8101592?v=4","01M6HQDX7QAJA0QP4NYRYBMJ8A","BlackBelt Technology","01M6HQDXCC7719N9YDMQVH9JS6",348,"MIT","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fcraft-apps\u002F.pi\u002Fskills\u002Fcraft-data-visual\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"craft data visual","craft","visual","data","apps","vectorcraft","designcraft","deckcraft","for","verified","workbook","with","make","error","revenue","chart","infographic","back","build","formula","use","read","spreadsheet","2026-11-10 10:12:30",false,"---\nname: craft-data-visual\ndescription: Turn data into a finished visual with ArtCraft apps - GridCraft workbook with a formula-error read-back, chart, VectorCraft\u002FDesignCraft 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\".\n---\n\n# craft-data-visual — data → workbook + read-back → chart → infographic → slide\n\nGridCraft computes and charts, VectorCraft makes an accent graphic, DesignCraft lays the infographic out, DeckCraft puts it on a\nslide. **GridCraft prints formula errors with exit 0**, so the chart's source range is read back before anything is exported.\nRead `gridcraft`, `vectorcraft`, `designcraft` and `deckcraft` first. Resumable-job rules are in the `craft-studio` router,\nsection **Craft jobs**.\n\n## Step table\n\n| # | Step | Tool | Input → Output | Gate |\n|---|---|---|---|---|\n| 0 | Preflight + job | agent | request → `job.json` | `check: job` |\n| 1 | Workbook + read-back | GridCraft | data → `01-data\u002Fdata.xlsx` | `check: readback` |\n| 2 | Chart | GridCraft + PdfCraft + PhotoCraft | workbook → `02-chart\u002Fchart.pdf`, `chart.png` | `pi-craft verify --pages --text-contains`, `--size` |\n| 3 | Infographic | VectorCraft + DesignCraft | chart + figure → `03-infographic\u002Finfographic.pdf` | `pi-craft verify --pages --text-contains`, `--size` |\n| 4 | Slide | DeckCraft | infographic → `04-slide\u002Fslide.pptx`, `slide.pdf` | `pi-craft verify --pages --text-contains` |\n\nHand-off formats: `xlsx` between 1 and 2, `png` for the chart and every placement, `svg` only for the VectorCraft accent (gated\nthrough its `png` preview, never passed to `pi-craft verify`), `pdf` for delivery. GridCraft has no chart image command: the\nchart comes from its **PDF** export (`run --in x.xlsx --out x.pdf`), rendered by PdfCraft and trimmed by PhotoCraft.\n\n### Step 0 — Preflight and job\n\n**Output:** `craft-jobs\u002F\u003Cslug>\u002Fjob.json` (created or loaded).\n**Gate:** `check: job`.\n\nNo sibling skills are referenced: the apps are provisioned by `pi-craft` itself, so there is no degraded path — if an app cannot\nbe provisioned, stop and report it. Ask for the data (a file or numbers), the chart type and the title. Set up the job\n(**Craft jobs** in `craft-studio`: slug rule, `job-helper`) and run **Resume**.\n\n```bash check: job\n# run from the directory that contains craft-jobs\u002F (SLUG set as in step 0)\njq -e '.name and .workflow and (.steps | type == \"object\")' \"craft-jobs\u002F$SLUG\u002Fjob.json\"\n```\n\n### Step 1 — Workbook and read-back\n\n**Output:** `01-data\u002Fdata.xlsx` (data, formulas and the chart object) and `01-data\u002Freadback.out`.\n**Gate:** `check: readback` — the chart's source range contains none of `#NAME?` `#DIV\u002F0!` `#REF!` `#VALUE!` `#N\u002FA` `#NUM!`\n`#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**.\n\n`range.setValues` types data and formulas (strings starting with `=` are formulas, `null` is empty), `insert.chart` adds the\nchart (`range`, `type` column|bar|line|pie|…, `title`, `at` the anchor cell, `width`\u002F`height` px). Anchor it at `A1`: the chart\nthen covers the data, so the page export shows the chart alone. `pi-craft gridcraft exec commands --search chart` lists the options.\n\n```bash\npi-craft gridcraft exec run --cmd 'range.setValues={\"range\":\"A1\",\"values\":[[\"Quarter\",\"Revenue\"],[\"Q1\",120],[\"Q2\",150],[\"Q3\",90],[\"Q4\",200]]}' \\\n  --cmd 'insert.chart={\"range\":\"A1:B5\",\"type\":\"column\",\"title\":\"Revenue by quarter\",\"at\":\"A1\",\"width\":480,\"height\":300}' --out \"$JOB\u002F01-data\u002Fdata.xlsx\"\n```\n\n```bash check: readback\n# run inside the step directory: cd \"$JOB\u002F01-data\"; SRC_RANGE is the chart's source range (default A1:B5)\npi-craft gridcraft exec cat data.xlsx --range \"${SRC_RANGE:-A1:B5}\" > readback.out\ntest -s readback.out && ! grep -qE '#(NAME\\?|DIV\u002F0!|REF!|VALUE!|N\u002FA|NUM!|NULL!)' readback.out\n```\n\n### Step 2 — Chart\n\n**Output:** `02-chart\u002Fchart.pdf` and `02-chart\u002Fchart.png` (the chart only).\n**Gate:** `pi-craft verify chart.pdf --pages 1 --text-contains \"\u003Cchart title>\"`, then `pi-craft verify chart.png --size \u003CWxH>` with the size\n`image.trim` reported.\n\nExport the workbook to pdf (`gridcraft-cli` `convert` rejects `.pdf`; `run --in … --out x.pdf` works), render the page at 100 dpi\nwith PdfCraft, and let PhotoCraft trim the white margin (`image.trim` `basedOn: topLeft`); it reports the exact size.\n\n```bash\npi-craft gridcraft exec run --in \"$JOB\u002F01-data\u002Fdata.xlsx\" --out \"$JOB\u002F02-chart\u002Fchart.pdf\"\npi-craft verify \"$JOB\u002F02-chart\u002Fchart.pdf\" --pages 1 --text-contains \"Revenue by quarter\"\npi-craft pdfcraft exec render \"$JOB\u002F02-chart\u002Fchart.pdf\" --page 1 --dpi 100 --out \"$PWD\u002F$JOB\u002F02-chart\u002Fpage.png\"\nSZ=$(pi-craft photocraft exec run \"$JOB\u002F02-chart\u002Fpage.png\" --cmd image.trim --params '{\"basedOn\":\"topLeft\"}' --out \"$JOB\u002F02-chart\u002Fchart.png\" \\\n  | jq -Rr 'fromjson? | select(.command==\"image.trim\") | \"\\(.result.width)x\\(.result.height)\"')\npi-craft verify \"$JOB\u002F02-chart\u002Fchart.png\" --size \"$SZ\"\n```\n\n### Step 3 — Infographic\n\n**Output:** `03-infographic\u002Fbadge.svg` (+ preview `badge.png`), `03-infographic\u002Finfographic.pdf` and `infographic.png`.\n**Gate:** `pi-craft verify` — the badge preview `--size --alpha`; the pdf `--pages 1 --text-contains \"\u003Cheadline>\"`; the png `--size`.\n\nVectorCraft draws the accent (a KPI badge; `shape.ellipse`, `paint.setFill`, `text.create`) and exports `svg`; the **png preview**\n(`vectorcraft-cli convert`) is what gets gated and placed. DesignCraft `script` lays out the page: a text frame (`frame.create`\n`content:\"text\"`, then `story.setText`), and one graphic frame per image (`content:\"graphic\"`, then `file.place` into\n`$N.id` — the result of step N, 0-based). `--export x.png` rasterises at 2× (A4 → 1191×1684).\n\n```bash\npi-craft vectorcraft exec run --cmd file.new --params '{\"width\":200,\"height\":200}' --cmd shape.ellipse --params '{\"x\":10,\"y\":10,\"width\":180,\"height\":180}' \\\n  --cmd paint.setFill --params '{\"color\":\"#16607f\"}' --cmd text.create --params '{\"x\":40,\"y\":105,\"text\":\"+67%\",\"size\":40}' --export \"$JOB\u002F03-infographic\u002Fbadge.svg\"\npi-craft vectorcraft exec convert \"$JOB\u002F03-infographic\u002Fbadge.svg\" \"$JOB\u002F03-infographic\u002Fbadge.png\"\npi-craft verify \"$JOB\u002F03-infographic\u002Fbadge.png\" --size 200x200 --alpha\ncat > \"$JOB\u002F03-infographic\u002Flayout.script\" \u003C\u003CEOF\nfile.new={\"preset\":\"A4\",\"title\":\"Revenue infographic\"}\nframe.create={\"rect\":[50,50,545,100],\"content\":\"text\"}\nstory.setText={\"story\":\"\\$1.story\",\"text\":\"Revenue by quarter\"}\nframe.create={\"rect\":[50,130,500,420],\"content\":\"graphic\"}\nfile.place={\"path\":\"$PWD\u002F$JOB\u002F02-chart\u002Fchart.png\",\"frame\":\"\\$3.id\"}\nframe.create={\"rect\":[50,450,200,600],\"content\":\"graphic\"}\nfile.place={\"path\":\"$PWD\u002F$JOB\u002F03-infographic\u002Fbadge.png\",\"frame\":\"\\$5.id\"}\nEOF\npi-craft designcraft exec script \"$JOB\u002F03-infographic\u002Flayout.script\" --export \"$JOB\u002F03-infographic\u002Finfographic.pdf\" --export \"$JOB\u002F03-infographic\u002Finfographic.png\"\npi-craft verify \"$JOB\u002F03-infographic\u002Finfographic.pdf\" --pages 1 --text-contains \"Revenue by quarter\"\npi-craft verify \"$JOB\u002F03-infographic\u002Finfographic.png\" --size 1191x1684\n```\n\n### Step 4 — Slide\n\n**Output:** `04-slide\u002Fslide.pptx` and `04-slide\u002Fslide.pdf`.\n**Gate:** `pi-craft verify slide.pdf --pages 1 --text-contains \"\u003Cslide title>\"` (the pptx is verified through its pdf).\n\nDeckCraft: a blank deck, one `titleOnly` slide, the infographic `png` with `insert.picture`. For a slide in an existing deck use\n`craft-deck`.\n\n```bash\npi-craft deckcraft exec run --cmd 'file.new={\"blank\":true}' --cmd 'slide.new={\"layout\":\"titleOnly\",\"title\":\"Revenue by quarter\"}' \\\n  --cmd \"insert.picture={\\\"path\\\":\\\"$PWD\u002F$JOB\u002F03-infographic\u002Finfographic.png\\\"}\" --save \"$JOB\u002F04-slide\u002Fslide.pptx\"\npi-craft deckcraft exec convert \"$JOB\u002F04-slide\u002Fslide.pptx\" \"$JOB\u002F04-slide\u002Fslide.pdf\"\npi-craft verify \"$JOB\u002F04-slide\u002Fslide.pdf\" --pages 1 --text-contains \"Revenue by quarter\"\n```\n\n## Resume\n\nFollow the **Craft jobs** convention in `craft-studio`: read `craft-jobs\u002F\u003Cslug>\u002Fjob.json` as data, confirm the job name, and start\nat the first step with no passing report **or** whose recorded inputs (path, size, mtime) changed — a new data file, an edited\nworkbook. Re-run every step downstream of it (new data re-checks, re-charts, re-lays out and re-slides) and reuse the verified\noutputs before it. Record each step with the `job-helper` snippet after its gate passed (the read-back passes with a\n`readback.out` of clean cells).\n\n## When a gate fails\n\nStop at the failed gate; never continue past it. Re-discover the commands you used (`pi-craft gridcraft exec commands --search\n\u003Cword>` — GridCraft has no `describe`, its `params` column is the schema; `pi-craft designcraft exec describe \u003Cid>`; `pi-craft\ndeckcraft exec describe \u003Cid>`), repeat the step and re-run the gate. At most 2 retries per step; after the second failure stop and\nreport the verify output and what was tried. A read-back failure is **not** retried by re-exporting: fix the source cells first.\n`pi-craft verify` exit `3` means a probe tool is missing (PdfCraft cannot be provisioned, or `ffprobe`): stop and report the\nmissing tool — never treat it as a pass.\n\n## Recipes\n\n```bash recipe: data-visual-core\n# Workbook with a chart -> read-back (no formula errors) -> chart png -> badge + infographic -> slide.\nmkdir -p 01-data 02-chart 03-infographic 04-slide\npi-craft gridcraft exec run --cmd 'range.setValues={\"range\":\"A1\",\"values\":[[\"Quarter\",\"Revenue\"],[\"Q1\",120],[\"Q2\",150],[\"Q3\",90],[\"Q4\",200]]}' \\\n  --cmd 'insert.chart={\"range\":\"A1:B5\",\"type\":\"column\",\"title\":\"Revenue by quarter\",\"at\":\"A1\",\"width\":480,\"height\":300}' --out 01-data\u002Fdata.xlsx\npi-craft gridcraft exec cat 01-data\u002Fdata.xlsx --range A1:B5 > 01-data\u002Freadback.out\ntest -s 01-data\u002Freadback.out && ! grep -qE '#(NAME\\?|DIV\u002F0!|REF!|VALUE!|N\u002FA|NUM!|NULL!)' 01-data\u002Freadback.out\n\npi-craft gridcraft exec run --in 01-data\u002Fdata.xlsx --out 02-chart\u002Fchart.pdf\npi-craft verify 02-chart\u002Fchart.pdf --pages 1 --text-contains \"Revenue by quarter\"\npi-craft pdfcraft exec render 02-chart\u002Fchart.pdf --page 1 --dpi 100 --out \"$PWD\u002F02-chart\u002Fpage.png\"\nSZ=$(pi-craft photocraft exec run 02-chart\u002Fpage.png --cmd image.trim --params '{\"basedOn\":\"topLeft\"}' --out 02-chart\u002Fchart.png \\\n  | jq -Rr 'fromjson? | select(.command==\"image.trim\") | \"\\(.result.width)x\\(.result.height)\"')\npi-craft verify 02-chart\u002Fchart.png --size \"$SZ\"\n\npi-craft vectorcraft exec run --cmd file.new --params '{\"width\":200,\"height\":200}' --cmd shape.ellipse --params '{\"x\":10,\"y\":10,\"width\":180,\"height\":180}' \\\n  --cmd paint.setFill --params '{\"color\":\"#16607f\"}' --cmd text.create --params '{\"x\":40,\"y\":105,\"text\":\"+67%\",\"size\":40}' --export 03-infographic\u002Fbadge.svg\npi-craft vectorcraft exec convert 03-infographic\u002Fbadge.svg 03-infographic\u002Fbadge.png\npi-craft verify 03-infographic\u002Fbadge.png --size 200x200 --alpha\ncat > 03-infographic\u002Flayout.script \u003C\u003CEOF\nfile.new={\"preset\":\"A4\",\"title\":\"Revenue infographic\"}\nframe.create={\"rect\":[50,50,545,100],\"content\":\"text\"}\nstory.setText={\"story\":\"\\$1.story\",\"text\":\"Revenue by quarter\"}\nframe.create={\"rect\":[50,130,500,420],\"content\":\"graphic\"}\nfile.place={\"path\":\"$PWD\u002F02-chart\u002Fchart.png\",\"frame\":\"\\$3.id\"}\nframe.create={\"rect\":[50,450,200,600],\"content\":\"graphic\"}\nfile.place={\"path\":\"$PWD\u002F03-infographic\u002Fbadge.png\",\"frame\":\"\\$5.id\"}\nEOF\npi-craft designcraft exec script 03-infographic\u002Flayout.script --export 03-infographic\u002Finfographic.pdf --export 03-infographic\u002Finfographic.png\npi-craft verify 03-infographic\u002Finfographic.pdf --pages 1 --text-contains \"Revenue by quarter\"\npi-craft verify 03-infographic\u002Finfographic.png --size 1191x1684\n\npi-craft deckcraft exec run --cmd 'file.new={\"blank\":true}' --cmd 'slide.new={\"layout\":\"titleOnly\",\"title\":\"Revenue by quarter\"}' \\\n  --cmd \"insert.picture={\\\"path\\\":\\\"$PWD\u002F03-infographic\u002Finfographic.png\\\"}\" --save 04-slide\u002Fslide.pptx\npi-craft deckcraft exec convert 04-slide\u002Fslide.pptx 04-slide\u002Fslide.pdf\npi-craft verify 04-slide\u002Fslide.pdf --pages 1 --text-contains \"Revenue by quarter\"\n```\n","# craft-data-visual — data → workbook + read-back → chart → infographic → slide\n\nGridCraft computes and charts, VectorCraft makes an accent graphic, DesignCraft lays the infographic out, DeckCraft puts it on a\nslide. **GridCraft prints formula errors with exit 0**, so the chart's source range is read back before anything is exported.\nRead `gridcraft`, `vectorcraft`, `designcraft` and `deckcraft` first. Resumable-job rules are in the `craft-studio` router,\nsection **Craft jobs**.\n\n## Step table\n\n| # | Step | Tool | Input → Output | Gate |\n|---|---|---|---|---|\n| 0 | Preflight + job | agent | request → `job.json` | `check: job` |\n| 1 | Workbook + read-back | GridCraft | data → `01-data\u002Fdata.xlsx` | `check: readback` |\n| 2 | Chart | GridCraft + PdfCraft + PhotoCraft | workbook → `02-chart\u002Fchart.pdf`, `chart.png` | `pi-craft verify --pages --text-contains`, `--size` |\n| 3 | Infographic | VectorCraft + DesignCraft | chart + figure → `03-infographic\u002Finfographic.pdf` | `pi-craft verify --pages --text-contains`, `--size` |\n| 4 | Slide | DeckCraft | infographic → `04-slide\u002Fslide.pptx`, `slide.pdf` | `pi-craft verify --pages --text-contains` |\n\nHand-off formats: `xlsx` between 1 and 2, `png` for the chart and every placement, `svg` only for the VectorCraft accent (gated\nthrough its `png` preview, never passed to `pi-craft verify`), `pdf` for delivery. GridCraft has no chart image command: the\nchart comes from its **PDF** export (`run --in x.xlsx --out x.pdf`), rendered by PdfCraft and trimmed by PhotoCraft.\n\n### Step 0 — Preflight and job\n\n**Output:** `craft-jobs\u002F\u003Cslug>\u002Fjob.json` (created or loaded).\n**Gate:** `check: job`.\n\nNo sibling skills are referenced: the apps are provisioned by `pi-craft` itself, so there is no degraded path — if an app cannot\nbe provisioned, stop and report it. Ask for the data (a file or numbers), the chart type and the title. Set up the job\n(**Craft jobs** in `craft-studio`: slug rule, `job-helper`) and run **Resume**.\n\n```bash check: job\n# run from the directory that contains craft-jobs\u002F (SLUG set as in step 0)\njq -e '.name and .workflow and (.steps | type == \"object\")' \"craft-jobs\u002F$SLUG\u002Fjob.json\"\n```\n\n### Step 1 — Workbook and read-back\n\n**Output:** `01-data\u002Fdata.xlsx` (data, formulas and the chart object) and `01-data\u002Freadback.out`.\n**Gate:** `check: readback` — the chart's source range contains none of `#NAME?` `#DIV\u002F0!` `#REF!` `#VALUE!` `#N\u002FA` `#NUM!`\n`#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**.\n\n`range.setValues` types data and formulas (strings starting with `=` are formulas, `null` is empty), `insert.chart` adds the\nchart (`range`, `type` column|bar|line|pie|…, `title`, `at` the anchor cell, `width`\u002F`height` px). Anchor it at `A1`: the chart\nthen covers the data, so the page export shows the chart alone. `pi-craft gridcraft exec commands --search chart` lists the options.\n\n```bash\npi-craft gridcraft exec run --cmd 'range.setValues={\"range\":\"A1\",\"values\":[[\"Quarter\",\"Revenue\"],[\"Q1\",120],[\"Q2\",150],[\"Q3\",90],[\"Q4\",200]]}' \\\n  --cmd 'insert.chart={\"range\":\"A1:B5\",\"type\":\"column\",\"title\":\"Revenue by quarter\",\"at\":\"A1\",\"width\":480,\"height\":300}' --out \"$JOB\u002F01-data\u002Fdata.xlsx\"\n```\n\n```bash check: readback\n# run inside the step directory: cd \"$JOB\u002F01-data\"; SRC_RANGE is the chart's source range (default A1:B5)\npi-craft gridcraft exec cat data.xlsx --range \"${SRC_RANGE:-A1:B5}\" > readback.out\ntest -s readback.out && ! grep -qE '#(NAME\\?|DIV\u002F0!|REF!|VALUE!|N\u002FA|NUM!|NULL!)' readback.out\n```\n\n### Step 2 — Chart\n\n**Output:** `02-chart\u002Fchart.pdf` and `02-chart\u002Fchart.png` (the chart only).\n**Gate:** `pi-craft verify chart.pdf --pages 1 --text-contains \"\u003Cchart title>\"`, then `pi-craft verify chart.png --size \u003CWxH>` with the size\n`image.trim` reported.\n\nExport the workbook to pdf (`gridcraft-cli` `convert` rejects `.pdf`; `run --in … --out x.pdf` works), render the page at 100 dpi\nwith PdfCraft, and let PhotoCraft trim the white margin (`image.trim` `basedOn: topLeft`); it reports the exact size.\n\n```bash\npi-craft gridcraft exec run --in \"$JOB\u002F01-data\u002Fdata.xlsx\" --out \"$JOB\u002F02-chart\u002Fchart.pdf\"\npi-craft verify \"$JOB\u002F02-chart\u002Fchart.pdf\" --pages 1 --text-contains \"Revenue by quarter\"\npi-craft pdfcraft exec render \"$JOB\u002F02-chart\u002Fchart.pdf\" --page 1 --dpi 100 --out \"$PWD\u002F$JOB\u002F02-chart\u002Fpage.png\"\nSZ=$(pi-craft photocraft exec run \"$JOB\u002F02-chart\u002Fpage.png\" --cmd image.trim --params '{\"basedOn\":\"topLeft\"}' --out \"$JOB\u002F02-chart\u002Fchart.png\" \\\n  | jq -Rr 'fromjson? | select(.command==\"image.trim\") | \"\\(.result.width)x\\(.result.height)\"')\npi-craft verify \"$JOB\u002F02-chart\u002Fchart.png\" --size \"$SZ\"\n```\n\n### Step 3 — Infographic\n\n**Output:** `03-infographic\u002Fbadge.svg` (+ preview `badge.png`), `03-infographic\u002Finfographic.pdf` and `infographic.png`.\n**Gate:** `pi-craft verify` — the badge preview `--size --alpha`; the pdf `--pages 1 --text-contains \"\u003Cheadline>\"`; the png `--size`.\n\nVectorCraft draws the accent (a KPI badge; `shape.ellipse`, `paint.setFill`, `text.create`) and exports `svg`; the **png preview**\n(`vectorcraft-cli convert`) is what gets gated and placed. DesignCraft `script` lays out the page: a text frame (`frame.create`\n`content:\"text\"`, then `story.setText`), and one graphic frame per image (`content:\"graphic\"`, then `file.place` into\n`$N.id` — the result of step N, 0-based). `--export x.png` rasterises at 2× (A4 → 1191×1684).\n\n```bash\npi-craft vectorcraft exec run --cmd file.new --params '{\"width\":200,\"height\":200}' --cmd shape.ellipse --params '{\"x\":10,\"y\":10,\"width\":180,\"height\":180}' \\\n  --cmd paint.setFill --params '{\"color\":\"#16607f\"}' --cmd text.create --params '{\"x\":40,\"y\":105,\"text\":\"+67%\",\"size\":40}' --export \"$JOB\u002F03-infographic\u002Fbadge.svg\"\npi-craft vectorcraft exec convert \"$JOB\u002F03-infographic\u002Fbadge.svg\" \"$JOB\u002F03-infographic\u002Fbadge.png\"\npi-craft verify \"$JOB\u002F03-infographic\u002Fbadge.png\" --size 200x200 --alpha\ncat > \"$JOB\u002F03-infographic\u002Flayout.script\" \u003C\u003CEOF\nfile.new={\"preset\":\"A4\",\"title\":\"Revenue infographic\"}\nframe.create={\"rect\":[50,50,545,100],\"content\":\"text\"}\nstory.setText={\"story\":\"\\$1.story\",\"text\":\"Revenue by quarter\"}\nframe.create={\"rect\":[50,130,500,420],\"content\":\"graphic\"}\nfile.place={\"path\":\"$PWD\u002F$JOB\u002F02-chart\u002Fchart.png\",\"frame\":\"\\$3.id\"}\nframe.create={\"rect\":[50,450,200,600],\"content\":\"graphic\"}\nfile.place={\"path\":\"$PWD\u002F$JOB\u002F03-infographic\u002Fbadge.png\",\"frame\":\"\\$5.id\"}\nEOF\npi-craft designcraft exec script \"$JOB\u002F03-infographic\u002Flayout.script\" --export \"$JOB\u002F03-infographic\u002Finfographic.pdf\" --export \"$JOB\u002F03-infographic\u002Finfographic.png\"\npi-craft verify \"$JOB\u002F03-infographic\u002Finfographic.pdf\" --pages 1 --text-contains \"Revenue by quarter\"\npi-craft verify \"$JOB\u002F03-infographic\u002Finfographic.png\" --size 1191x1684\n```\n\n### Step 4 — Slide\n\n**Output:** `04-slide\u002Fslide.pptx` and `04-slide\u002Fslide.pdf`.\n**Gate:** `pi-craft verify slide.pdf --pages 1 --text-contains \"\u003Cslide title>\"` (the pptx is verified through its pdf).\n\nDeckCraft: a blank deck, one `titleOnly` slide, the infographic `png` with `insert.picture`. For a slide in an existing deck use\n`craft-deck`.\n\n```bash\npi-craft deckcraft exec run --cmd 'file.new={\"blank\":true}' --cmd 'slide.new={\"layout\":\"titleOnly\",\"title\":\"Revenue by quarter\"}' \\\n  --cmd \"insert.picture={\\\"path\\\":\\\"$PWD\u002F$JOB\u002F03-infographic\u002Finfographic.png\\\"}\" --save \"$JOB\u002F04-slide\u002Fslide.pptx\"\npi-craft deckcraft exec convert \"$JOB\u002F04-slide\u002Fslide.pptx\" \"$JOB\u002F04-slide\u002Fslide.pdf\"\npi-craft verify \"$JOB\u002F04-slide\u002Fslide.pdf\" --pages 1 --text-contains \"Revenue by quarter\"\n```\n\n## Resume\n\nFollow the **Craft jobs** convention in `craft-studio`: read `craft-jobs\u002F\u003Cslug>\u002Fjob.json` as data, confirm the job name, and start\nat the first step with no passing report **or** whose recorded inputs (path, size, mtime) changed — a new data file, an edited\nworkbook. Re-run every step downstream of it (new data re-checks, re-charts, re-lays out and re-slides) and reuse the verified\noutputs before it. Record each step with the `job-helper` snippet after its gate passed (the read-back passes with a\n`readback.out` of clean cells).\n\n## When a gate fails\n\nStop at the failed gate; never continue past it. Re-discover the commands you used (`pi-craft gridcraft exec commands --search\n\u003Cword>` — GridCraft has no `describe`, its `params` column is the schema; `pi-craft designcraft exec describe \u003Cid>`; `pi-craft\ndeckcraft exec describe \u003Cid>`), repeat the step and re-run the gate. At most 2 retries per step; after the second failure stop and\nreport the verify output and what was tried. A read-back failure is **not** retried by re-exporting: fix the source cells first.\n`pi-craft verify` exit `3` means a probe tool is missing (PdfCraft cannot be provisioned, or `ffprobe`): stop and report the\nmissing tool — never treat it as a pass.\n\n## Recipes\n\n```bash recipe: data-visual-core\n# Workbook with a chart -> read-back (no formula errors) -> chart png -> badge + infographic -> slide.\nmkdir -p 01-data 02-chart 03-infographic 04-slide\npi-craft gridcraft exec run --cmd 'range.setValues={\"range\":\"A1\",\"values\":[[\"Quarter\",\"Revenue\"],[\"Q1\",120],[\"Q2\",150],[\"Q3\",90],[\"Q4\",200]]}' \\\n  --cmd 'insert.chart={\"range\":\"A1:B5\",\"type\":\"column\",\"title\":\"Revenue by quarter\",\"at\":\"A1\",\"width\":480,\"height\":300}' --out 01-data\u002Fdata.xlsx\npi-craft gridcraft exec cat 01-data\u002Fdata.xlsx --range A1:B5 > 01-data\u002Freadback.out\ntest -s 01-data\u002Freadback.out && ! grep -qE '#(NAME\\?|DIV\u002F0!|REF!|VALUE!|N\u002FA|NUM!|NULL!)' 01-data\u002Freadback.out\n\npi-craft gridcraft exec run --in 01-data\u002Fdata.xlsx --out 02-chart\u002Fchart.pdf\npi-craft verify 02-chart\u002Fchart.pdf --pages 1 --text-contains \"Revenue by quarter\"\npi-craft pdfcraft exec render 02-chart\u002Fchart.pdf --page 1 --dpi 100 --out \"$PWD\u002F02-chart\u002Fpage.png\"\nSZ=$(pi-craft photocraft exec run 02-chart\u002Fpage.png --cmd image.trim --params '{\"basedOn\":\"topLeft\"}' --out 02-chart\u002Fchart.png \\\n  | jq -Rr 'fromjson? | select(.command==\"image.trim\") | \"\\(.result.width)x\\(.result.height)\"')\npi-craft verify 02-chart\u002Fchart.png --size \"$SZ\"\n\npi-craft vectorcraft exec run --cmd file.new --params '{\"width\":200,\"height\":200}' --cmd shape.ellipse --params '{\"x\":10,\"y\":10,\"width\":180,\"height\":180}' \\\n  --cmd paint.setFill --params '{\"color\":\"#16607f\"}' --cmd text.create --params '{\"x\":40,\"y\":105,\"text\":\"+67%\",\"size\":40}' --export 03-infographic\u002Fbadge.svg\npi-craft vectorcraft exec convert 03-infographic\u002Fbadge.svg 03-infographic\u002Fbadge.png\npi-craft verify 03-infographic\u002Fbadge.png --size 200x200 --alpha\ncat > 03-infographic\u002Flayout.script \u003C\u003CEOF\nfile.new={\"preset\":\"A4\",\"title\":\"Revenue infographic\"}\nframe.create={\"rect\":[50,50,545,100],\"content\":\"text\"}\nstory.setText={\"story\":\"\\$1.story\",\"text\":\"Revenue by quarter\"}\nframe.create={\"rect\":[50,130,500,420],\"content\":\"graphic\"}\nfile.place={\"path\":\"$PWD\u002F02-chart\u002Fchart.png\",\"frame\":\"\\$3.id\"}\nframe.create={\"rect\":[50,450,200,600],\"content\":\"graphic\"}\nfile.place={\"path\":\"$PWD\u002F03-infographic\u002Fbadge.png\",\"frame\":\"\\$5.id\"}\nEOF\npi-craft designcraft exec script 03-infographic\u002Flayout.script --export 03-infographic\u002Finfographic.pdf --export 03-infographic\u002Finfographic.png\npi-craft verify 03-infographic\u002Finfographic.pdf --pages 1 --text-contains \"Revenue by quarter\"\npi-craft verify 03-infographic\u002Finfographic.png --size 1191x1684\n\npi-craft deckcraft exec run --cmd 'file.new={\"blank\":true}' --cmd 'slide.new={\"layout\":\"titleOnly\",\"title\":\"Revenue by quarter\"}' \\\n  --cmd \"insert.picture={\\\"path\\\":\\\"$PWD\u002F03-infographic\u002Finfographic.png\\\"}\" --save 04-slide\u002Fslide.pptx\npi-craft deckcraft exec convert 04-slide\u002Fslide.pptx 04-slide\u002Fslide.pdf\npi-craft verify 04-slide\u002Fslide.pdf --pages 1 --text-contains \"Revenue by quarter\"\n```\n",{"name":5,"description":7},"develop","fb9a5af356f540de4839ef851ebbe14bcce64c0f","packages\u002Fcraft-apps\u002F.pi\u002Fskills\u002Fcraft-data-visual",56,"https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard","https:\u002F\u002Fpi-dashboard.dev\u002F","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology","https:\u002F\u002Fwww.blackbelt.hu","2026-11-12 23:37:37",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add BlackBeltTechnology\u002Fpi-agent-dashboard --skill craft-data-visual",{"tool":62,"command":63},"bunx","bunx skills add BlackBeltTechnology\u002Fpi-agent-dashboard --skill craft-data-visual",{"tool":65,"command":66},"pnpm","pnpm dlx skills add BlackBeltTechnology\u002Fpi-agent-dashboard --skill craft-data-visual","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fcraft-apps\u002F.pi\u002Fskills\u002Fcraft-data-visual\u002FSKILL.md",true,[],[71,97,123,146,167,188],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":42},"01M6HQYQ5B82AM5T9Y299S9CFY","youtube-srt","Download YouTube subtitles (SRT + timestamped TXT) for a channel, playlist or video via yt-dlp, no media download; optionally mine them into a categorized catalog (e.g. AI models by function, open weights, local runnability, hardware tier). Use on \"download the srt of this video\", \"transcripts of channel X for the last N months\", \"catalog the models AI Search talked about\", \"update docs\u002Fmodels\".","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fvideo-transcription\u002F.pi\u002Fskills\u002Fyoutube-srt\u002FSKILL.md",[],[78,79,80,81,82,83,84,85,86,87,88,39,89,90,91,92,93,94,95,27,96],"youtube","srt","youtube srt","update","search","subtitles","dlp","Video","Media","open","catalog","update docs","yt-dlp","local","mine","via","ai models","last","media download",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":42},"01M6HQYJBKSXR55T5RSYNJQG4D","video-transcription","Transcribe video and audio files to SRT subtitles with speaker diarization using the Soniox (default) or AssemblyAI API. Use when the user wants to transcribe meetings, videos, or audio files. Supports MKV, MP4, MOV, M4A, MP3. Triggers on \"\u002Ftranscribe\", \"transcribe my meetings\", \"transcribe videos in ~\u002FMovies\", or any request to convert audio\u002Fvideo to text.","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fvideo-transcription\u002F.pi\u002Fskills\u002Fvideo-transcription\u002FSKILL.md",[],[85,104,105,106,83,107,108,109,110,111,112,39,113,114,115,116,30,117,118,79,119,120,121,122],"transcription","video transcription","transcribe","api","Audio","convert","mp4","text","meetings","files","default","mp3","triggers","videos","assemblyai","my","srt subtitles","request","when",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":42},"01M6HQYECMVDC5TDHHW22VC5RX","speaker-id","Name anonymous diarized SRT speakers from a persistent local voiceprint library and repair speaker drift; local, CPU-only, no API key. Triggers \"who is speaker 2\", \"put names on the transcript\", \"label the meeting SRT\", \"the diarization split one person into three\", \"enroll my voice\". Backed by the pi-voiceid CLI.","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fvideo-transcription\u002F.pi\u002Fskills\u002Fspeaker-id\u002FSKILL.md",[],[130,131,132,133,107,134,135,136,137,138,139,91,116,140,141,142,143,79,144,145],"id","speaker id","cli","transcript","voice","pi","only","three","drift","repair","name","CPU","meeting","anonymous","split","person",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":42},"01M6HQYAZWDXE9QJEG592E5PXK","veo-showreel-production-kit","Turn a video timeline + voiceover into a reproducible, sliceable Veo 3.1 prompt package with a consistency anchor and AI storyboard sketches.","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fvideo-production\u002F.pi\u002Fskills\u002Fveo-showreel-production-kit\u002FSKILL.md",[],[153,154,155,156,157,158,159,85,160,161,162,163,30,164,165,166],"Production","veo","kit","veo showreel production kit","package","Reproducible","timeline","prompt","voiceover","storyboard","anchor","consistency","veo 3","2026",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":42},"01M6HQY6TJ0X1ADDKYPMVJY6NV","veo-generator","Render a scripted video project into mp4 clips with the Google Veo 3.1 API. Reads a project's shot package (shots\u002F*.md), one clip per camera cut, reusing each shot's prompt and sketch — world anchor only with `--with-reference`, seed unless `--no-seed`. Use on \"render the Veo video for \u003Cproject>\", \"generate the videos from the shot scripts\", \"make the clips with Veo\".","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fvideo-production\u002F.pi\u002Fskills\u002Fveo-generator\u002FSKILL.md",[],[154,174,175,176,177,157,107,85,110,160,39,178,136,179,180,181,182,183,163,184,185,31,186,30,187,27,165],"generator","veo generator","google","generate","clip","sketch","camera","world","seed","project","cut","scripts","render","google veo",{"skillNo":189,"name":190,"nameZh":6,"description":191,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":192,"categories":193,"keywords":194,"publishedAt":42},"01M6HQY1K2NZJ3B2YHSJJPPVAF","hyperframes-showreel","Turn real screen and site footage into a rhythmic showreel rendered with HyperFrames: sampling, edit script, redacted clips, a generated composition, Veo only as additive FX, music edit + camera punches, delivery render and export QA. Use on \"make a showreel from these recordings\", \"build the HyperFrames video\", \"assemble the footage edit\", \"render and QA the showreel\".","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fvideo-production\u002F.pi\u002Fskills\u002Fhyperframes-showreel\u002FSKILL.md",[],[195,196,197,85,198,199,200,39,201,202,203,136,37,204,205,206,207,186,30,208],"hyperframes","hyperframes showreel","qa","Composition","edit","generated","assemble","export","sampling","delivery","as","fx","screen","script"]