[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DDEMV9FHB1HTNWY9W5RXAZ":3,"skill-same:01M7DDEMV9FHB1HTNWY9W5RXAZ":66},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7DDEMV9FHB1HTNWY9W5RXAZ","slides",null,"Make, read or edit a PowerPoint deck (.pptx) - a review, a pitch, a status deck, slides with tables and charts - with a TypeScript script run by `bise office run`. Use when the user asks for slides, a deck or a pptx, sends one, or leaves notes on a pptx artifact.","gvergnaud\u002Fbise","gvergnaud","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9265418?v=4","01M7DDBF4P9FC0JR6BJDMX1Q2J","Gabriel Vergnaud","01M7DDBF5FKMW0JNE71GV5SKBN",51,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgvergnaud\u002Fbise\u002Fblob\u002Fmain\u002Fplugins\u002Fslides\u002Fskills\u002Fslides\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: slides\ndescription: Make, read or edit a PowerPoint deck (.pptx) - a review, a pitch, a status deck, slides with tables and charts - with a TypeScript script run by `bise office run`. Use when the user asks for slides, a deck or a pptx, sends one, or leaves notes on a pptx artifact.\n---\n\n# Slides (pptx)\n\nYou write a short TypeScript script against `@bise\u002Foffice` and run it with\n`bise office run`. The script reads and writes the deck; you never unzip\nor hand-edit XML. Each write of a file that is an artifact is its next\nversion, and the user sees it in the side panel.\n\n## Quick start\n\n```sh\nbise office inspect q3.pptx     # the outline as JSON: slides, shapes with ids, boxes, text\nbise office check q3.pptx       # the problems as JSON ([] when none)\nbise office run \"$TMPDIR\u002Fdeck.ts\"\n```\n\n```ts\n\u002F\u002F $TMPDIR\u002Fdeck.ts: an ES module, top-level await, no other import\nimport { slides, run } from \"@bise\u002Foffice\";\n\nconst deck = await slides.create();                       \u002F\u002F 16:9, 960 x 540 pt\nconst s = deck.addSlide({ layout: \"title-body\" });\ns.placeholder(\"title\")!.setText(\"Q3: revenue up 4%\");\ns.placeholder(\"body\")!.setText([\"North carried the quarter\", \"South flat\", \"West back to growth\"]);\nconsole.log(JSON.stringify(deck.check()));\nconsole.log(await run.write(\"q3.pptx\", await deck.save(), { artifact: true }));\n```\n\n`{ artifact: true }` on the first write of a new file, so it shows in the\npanel; later writes to the same path are its next versions without it.\n\nThe script runs in a closed box: `run.read` and `run.write` reach your\nworktree and `$TMPDIR` only (a file elsewhere: `cp` it into `$TMPDIR`\nfirst), files up to 50 MB, 5 minutes, no network, no timers, no `fs`,\nno `process`. `console.log` prints a line. Keep scripts in `$TMPDIR`, not\nin the repo. An image goes in with `run.read(\"chart.png\")`.\n\n## The loop\n\n1. **Inspect.** `bise office inspect \u003Cfile>`, or `deck.inspect()`. A slide\n   is `s\u003Cn>` with `props.index`, `layout`, `w`, `h`; a shape is\n   `s\u003Cn>\u002F\u003Cid>` with `props.box` `[x, y, w, h]` in points, its text, its\n   placeholder type, font size, fill. Read the deck's layouts\n   (`deck.layouts()`), sizes and fonts before you add to it.\n2. **Edit by id.** `deck.slide(n)`, `slide.shape(\"3\")` or by name,\n   `slide.placeholder(\"title\")`, or `deck.at(anchor)`. On a shape:\n   `setText`, `replace`, `style`, `move`, `fill`, `line`, `setCell`,\n   `replaceImage`, `remove`. On a slide: `addText`, `addShape`, `addImage`,\n   `addTable`, `addChart`, `duplicate`, `moveTo`, `remove`.\n3. **Save.** `await run.write(path, await deck.save())`, to the same path:\n   that path is the artifact. Print what `run.write` returns.\n4. **Check.** `deck.check()` before the write, `bise office check` after.\n5. **Fix** each `error` and `warning`: text that overflows its box, a shape\n   off the slide, an empty placeholder, text under 10 pt, shapes whose\n   text overlaps. Or say in your reply why one stays.\n\nDone means: saved, checked, the problems fixed or named, and the deck\nreads well (`style.md`).\n\n## Notes and selections from the user\n\nHe can point at a slide, a shape, or a box he drew on a slide. Two shapes\nreach you:\n\n- a message `you sent N notes on \"q3.pptx\" (artifact \u003Cid> vN, ...)` with an\n  `\u003Cartifact-notes artifact=\"\u003Cid>\" version=\"N\">[...]\u003C\u002Fartifact-notes>`\n  block: a JSON list of `{id, anchor, text}`;\n- an `\u003Cartifact-selection artifact=\"\u003Cid>\" version=\"N\">` block inside his\n  own message: the first line is an anchor's JSON, the lines after are\n  what he saw selected.\n\nAnchors here: `{\"kind\": \"shape\", \"slide\": 2, \"shape\": \"12\", \"quote\": \"up 4%\"}`\n(a shape, `quote` the words he selected in it) or\n`{\"kind\": \"slide\", \"slide\": 5, \"rect\": {\"x\": 10, \"y\": 40, \"w\": 30, \"h\": 20}}`\n(a slide, `rect` in % of it when he drew a box). Pass it as it is:\n`deck.at(anchor)` gives the shape or the slide; on a slide with a rect,\n`.under()` lists the shapes in that box. Do each note, save once to the\nartifact's path (`sb artifact list` shows it), then reply one or two lines\nper note: what you changed, or why not. The new version marks the notes\ndone. `at()` throws `not_found` when the shape is gone: inspect, find it\nby its text (the quote), and say so.\n\n## Errors\n\nThe SDK throws `OfficeError` with a `code` and words that say what to do:\n`not_found` (it lists what is there), `bad_arg` (it shows the shape it\ntakes), `anchor_kind_mismatch`. A refused path names the folders you may\nuse.\n\n## Read next\n\n- `api.md`: every call, its arguments, the outline's fields.\n- `recipes.md`: a deck from a brief, a chart slide, a table slide, edit\n  his deck, answer notes, split a dense slide.\n- `style.md`: how a deck should look and read.\n- `check.md`: each problem code, what it means, how to fix it.\n","# Slides (pptx)\n\nYou write a short TypeScript script against `@bise\u002Foffice` and run it with\n`bise office run`. The script reads and writes the deck; you never unzip\nor hand-edit XML. Each write of a file that is an artifact is its next\nversion, and the user sees it in the side panel.\n\n## Quick start\n\n```sh\nbise office inspect q3.pptx     # the outline as JSON: slides, shapes with ids, boxes, text\nbise office check q3.pptx       # the problems as JSON ([] when none)\nbise office run \"$TMPDIR\u002Fdeck.ts\"\n```\n\n```ts\n\u002F\u002F $TMPDIR\u002Fdeck.ts: an ES module, top-level await, no other import\nimport { slides, run } from \"@bise\u002Foffice\";\n\nconst deck = await slides.create();                       \u002F\u002F 16:9, 960 x 540 pt\nconst s = deck.addSlide({ layout: \"title-body\" });\ns.placeholder(\"title\")!.setText(\"Q3: revenue up 4%\");\ns.placeholder(\"body\")!.setText([\"North carried the quarter\", \"South flat\", \"West back to growth\"]);\nconsole.log(JSON.stringify(deck.check()));\nconsole.log(await run.write(\"q3.pptx\", await deck.save(), { artifact: true }));\n```\n\n`{ artifact: true }` on the first write of a new file, so it shows in the\npanel; later writes to the same path are its next versions without it.\n\nThe script runs in a closed box: `run.read` and `run.write` reach your\nworktree and `$TMPDIR` only (a file elsewhere: `cp` it into `$TMPDIR`\nfirst), files up to 50 MB, 5 minutes, no network, no timers, no `fs`,\nno `process`. `console.log` prints a line. Keep scripts in `$TMPDIR`, not\nin the repo. An image goes in with `run.read(\"chart.png\")`.\n\n## The loop\n\n1. **Inspect.** `bise office inspect \u003Cfile>`, or `deck.inspect()`. A slide\n   is `s\u003Cn>` with `props.index`, `layout`, `w`, `h`; a shape is\n   `s\u003Cn>\u002F\u003Cid>` with `props.box` `[x, y, w, h]` in points, its text, its\n   placeholder type, font size, fill. Read the deck's layouts\n   (`deck.layouts()`), sizes and fonts before you add to it.\n2. **Edit by id.** `deck.slide(n)`, `slide.shape(\"3\")` or by name,\n   `slide.placeholder(\"title\")`, or `deck.at(anchor)`. On a shape:\n   `setText`, `replace`, `style`, `move`, `fill`, `line`, `setCell`,\n   `replaceImage`, `remove`. On a slide: `addText`, `addShape`, `addImage`,\n   `addTable`, `addChart`, `duplicate`, `moveTo`, `remove`.\n3. **Save.** `await run.write(path, await deck.save())`, to the same path:\n   that path is the artifact. Print what `run.write` returns.\n4. **Check.** `deck.check()` before the write, `bise office check` after.\n5. **Fix** each `error` and `warning`: text that overflows its box, a shape\n   off the slide, an empty placeholder, text under 10 pt, shapes whose\n   text overlaps. Or say in your reply why one stays.\n\nDone means: saved, checked, the problems fixed or named, and the deck\nreads well (`style.md`).\n\n## Notes and selections from the user\n\nHe can point at a slide, a shape, or a box he drew on a slide. Two shapes\nreach you:\n\n- a message `you sent N notes on \"q3.pptx\" (artifact \u003Cid> vN, ...)` with an\n  `\u003Cartifact-notes artifact=\"\u003Cid>\" version=\"N\">[...]\u003C\u002Fartifact-notes>`\n  block: a JSON list of `{id, anchor, text}`;\n- an `\u003Cartifact-selection artifact=\"\u003Cid>\" version=\"N\">` block inside his\n  own message: the first line is an anchor's JSON, the lines after are\n  what he saw selected.\n\nAnchors here: `{\"kind\": \"shape\", \"slide\": 2, \"shape\": \"12\", \"quote\": \"up 4%\"}`\n(a shape, `quote` the words he selected in it) or\n`{\"kind\": \"slide\", \"slide\": 5, \"rect\": {\"x\": 10, \"y\": 40, \"w\": 30, \"h\": 20}}`\n(a slide, `rect` in % of it when he drew a box). Pass it as it is:\n`deck.at(anchor)` gives the shape or the slide; on a slide with a rect,\n`.under()` lists the shapes in that box. Do each note, save once to the\nartifact's path (`sb artifact list` shows it), then reply one or two lines\nper note: what you changed, or why not. The new version marks the notes\ndone. `at()` throws `not_found` when the shape is gone: inspect, find it\nby its text (the quote), and say so.\n\n## Errors\n\nThe SDK throws `OfficeError` with a `code` and words that say what to do:\n`not_found` (it lists what is there), `bad_arg` (it shows the shape it\ntakes), `anchor_kind_mismatch`. A refused path names the folders you may\nuse.\n\n## Read next\n\n- `api.md`: every call, its arguments, the outline's fields.\n- `recipes.md`: a deck from a brief, a chart slide, a table slide, edit\n  his deck, answer notes, split a dense slide.\n- `style.md`: how a deck should look and read.\n- `check.md`: each problem code, what it means, how to fix it.\n",{"name":5,"description":7},"main","7c09ce329eff2caff1dc3e4d44dfd6c236a282ce","plugins\u002Fslides\u002Fskills\u002Fslides",9,"https:\u002F\u002Fgithub.com\u002Fgvergnaud\u002Fbise","https:\u002F\u002Fbise.dev","https:\u002F\u002Fgithub.com\u002Fgvergnaud","https:\u002F\u002Ftype-level-typescript.com","Building agents at Mistral — Author of bise, type-level-typescript.com, TS-Pattern, HOTScript...","2026-11-15 04:07:17",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add gvergnaud\u002Fbise --skill slides",{"tool":40,"command":41},"bunx","bunx skills add gvergnaud\u002Fbise --skill slides",{"tool":43,"command":44},"pnpm","pnpm dlx skills add gvergnaud\u002Fbise --skill slides","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgvergnaud\u002Fbise\u002Fblob\u002Fmain\u002Fplugins\u002Fslides\u002Fskills\u002Fslides\u002FSKILL.md",true,[48,54,58,62],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"api.md","REFERENCE","参考文档",6932,"https:\u002F\u002Fgithub.com\u002Fgvergnaud\u002Fbise\u002Fblob\u002Fmain\u002Fplugins\u002Fslides\u002Fskills\u002Fslides\u002Fapi.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"check.md",2743,"https:\u002F\u002Fgithub.com\u002Fgvergnaud\u002Fbise\u002Fblob\u002Fmain\u002Fplugins\u002Fslides\u002Fskills\u002Fslides\u002Fcheck.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"recipes.md",5422,"https:\u002F\u002Fgithub.com\u002Fgvergnaud\u002Fbise\u002Fblob\u002Fmain\u002Fplugins\u002Fslides\u002Fskills\u002Fslides\u002Frecipes.md",{"path":63,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":64,"sourceHtmlUrl":65},"style.md",2845,"https:\u002F\u002Fgithub.com\u002Fgvergnaud\u002Fbise\u002Fblob\u002Fmain\u002Fplugins\u002Fslides\u002Fskills\u002Fslides\u002Fstyle.md",[67,74,81,88,95,101],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7DDF53D28NXA17HZP08094A","greet","Greet someone the hello-plugin way. Use when asked for a hello-plugin greeting.","https:\u002F\u002Fgithub.com\u002Fgvergnaud\u002Fbise\u002Fblob\u002Fmain\u002Frust\u002Fplugins\u002Ftests\u002Ffixtures\u002Fhello-plugin\u002Fskills\u002Fgreet\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7DDF3V0J5P7VEWAS7NM458P","triage","triage Linear issues","https:\u002F\u002Fgithub.com\u002Fgvergnaud\u002Fbise\u002Fblob\u002Fmain\u002Frust\u002Fplugins\u002Ftests\u002Ffixtures\u002Fadd\u002Fcodex-linear\u002Fin\u002Fskills\u002Ftriage\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7DDF1EPY3GMFG4WG368B3Q8","jot","jot a note","https:\u002F\u002Fgithub.com\u002Fgvergnaud\u002Fbise\u002Fblob\u002Fmain\u002Frust\u002Fplugins\u002Ftests\u002Ffixtures\u002Fadd\u002Fclaude-notes\u002Fin\u002Fskills\u002Fjot\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7DDETP44AE35MSDENY1THS9","bise-demo","Run bise's built-in demo, a short role-play where a small product team (a pm, a designer, a dev) starts, talks like colleagues, asks the user one question and one agent is dropped, with no file or git change. Use when the user asks to see what bise or you can do, for a demo, a tour or your features (show me what you can do, give me a demo, what can you do?, demo all your features), in any language.","https:\u002F\u002Fgithub.com\u002Fgvergnaud\u002Fbise\u002Fblob\u002Fmain\u002Fprompts\u002Fskills\u002Fbise-demo\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7DDERQ5JJHVR314X762FD5K","bise-pages","https:\u002F\u002Fgithub.com\u002Fgvergnaud\u002Fbise\u002Fblob\u002Fmain\u002Fprompts\u002Fskills-all\u002Fbise-pages\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7DDEFCNG5X1DVY4WP028BH6","sheets","Make, read or edit an Excel workbook (.xlsx) - a table of numbers, a budget, a tracker, a model with formulas - with a TypeScript script run by `bise office run`. Use when the user asks for a spreadsheet or an xlsx, sends one, or leaves notes on an xlsx artifact.","https:\u002F\u002Fgithub.com\u002Fgvergnaud\u002Fbise\u002Fblob\u002Fmain\u002Fplugins\u002Fsheets\u002Fskills\u002Fsheets\u002FSKILL.md",[],[]]