[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79H4VNAB93GG2KB9G9QWVFB":3,"skill-same:01M79H4VNAB93GG2KB9G9QWVFB":63},{"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":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M79H4VNAB93GG2KB9G9QWVFB","figure-observable-plot",null,"Use when a data figure needs Observable Plot's chart vocabulary — density, hexbin, facets, cell heatmap, geo — spec + CSV → experiment-run → SVG, then stop. Ordinary line\u002Fbar\u002Fscatter → figure-matplotlib. Diagrams → figure-typst (.typ paper) or figure-tikz (.tex paper). Panel cards → figure-interaction. Manuscript include → figure-pipeline, and only if the user asked.","yibocat\u002Fprismnext","yibocat","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F98038316?v=4","01M79H3HDXFS2RDP1ED51TDF87","yibo","01M79H3HEG17B8ZH9AD0A06RBK",4,"MIT","https:\u002F\u002Fgithub.com\u002Fyibocat\u002Fprismnext\u002Fblob\u002Fmaster\u002Fresources\u002Fteams\u002Fprismnext.core\u002Fskills\u002Ffigure-observable-plot\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: figure-observable-plot\ndescription: Use when a data figure needs Observable Plot's chart vocabulary — density, hexbin, facets, cell heatmap, geo — spec + CSV → experiment-run → SVG, then stop. Ordinary line\u002Fbar\u002Fscatter → figure-matplotlib. Diagrams → figure-typst (.typ paper) or figure-tikz (.tex paper). Panel cards → figure-interaction. Manuscript include → figure-pipeline, and only if the user asked.\nlicense: MIT\n---\n\n# Figure: Observable Plot (SVG lane)\n\nChart types matplotlib reaches awkwardly, rendered headless to **SVG**.\nThe loop is **spec + CSV → experiment-run → SVG**. When the SVG exists,\nthe job is done.\n\nThe renderer (`scripts\u002Frender_plot.mjs`) uses the app's bundled\n`@observablehq\u002Fplot` + `jsdom` — nothing to install. `experiment-run`\ninjects `$PRISM_NODE` and `$PRISM_APP_NODE_MODULES`.\n\n## When to use\n\n- Density contours \u002F 2D density over scatter\n- Hexbin for large point clouds\n- Faceted small multiples (`fx`\u002F`fy`)\n- Cell\u002Ftile heatmaps (viridis-family, never jet)\n- Geographic \u002F graticule views (`references\u002Fplot-recipes.md`; topojson is\n  the user's data)\n\n## When not\n\n- Ordinary 2D line\u002Fbar\u002Fscatter → `figure-matplotlib`\n- Architecture \u002F commutative diagrams → `figure-tikz`\n- \"Make a reopenable card\" → `figure-interaction` (file must exist first)\n- Interactive \u002F animated \u002F 3D — this lane is static SVG only\n\n## Closed path\n\n1. **Copy** this skill's `templates\u002Fplot-spec.mjs` and\n   `scripts\u002Frender_plot.mjs` into the experiment island. Fill the spec\n   from a real run CSV — no invented series. The spec returns an **options\n   object**, not a DOM node (`d3` may be null; prefer plain JS).\n2. **Run** via `experiment-run`:\n   ```bash\n   \"$PRISM_NODE\" render_plot.mjs spec.mjs --data results.csv --out fig-density.svg\n   ```\n   Quote `$PRISM_NODE`. Declare the SVG in `artifacts`. Empty\u002Fmissing CSV\n   must fail the run — fix the data, not the error.\n3. **Stop.** Chat can preview the SVG.\n\n**Done** = `experiment-run` exits 0 and the SVG is in the island\nartifacts. One short sentence in chat.\n\n**Do not** (unless the user named that next step):\n\n- Convert SVG → PDF (`cairosvg`, `sips`, `gs`) so LaTeX or \"looking\"\n  works — the SVG is the figure\n- `figure-pipeline` \u002F `\\includesvg` \u002F `latex-compile`\n- `interaction-write`\n\n`references\u002Fplot-recipes.md` only when the mark type is unclear.\n\n## Rules\n\n- One spec, one visual question.\n- Categorical: Okabe-Ito (`#0072B2 #E69F00 #009E73 #D55E00 #CC79A7\n  #56B4E9 #F0E442`). Continuous: viridis-family.\n- Set explicit `width` \u002F `height` \u002F `style.fontSize` in the spec.\n","# Figure: Observable Plot (SVG lane)\n\nChart types matplotlib reaches awkwardly, rendered headless to **SVG**.\nThe loop is **spec + CSV → experiment-run → SVG**. When the SVG exists,\nthe job is done.\n\nThe renderer (`scripts\u002Frender_plot.mjs`) uses the app's bundled\n`@observablehq\u002Fplot` + `jsdom` — nothing to install. `experiment-run`\ninjects `$PRISM_NODE` and `$PRISM_APP_NODE_MODULES`.\n\n## When to use\n\n- Density contours \u002F 2D density over scatter\n- Hexbin for large point clouds\n- Faceted small multiples (`fx`\u002F`fy`)\n- Cell\u002Ftile heatmaps (viridis-family, never jet)\n- Geographic \u002F graticule views (`references\u002Fplot-recipes.md`; topojson is\n  the user's data)\n\n## When not\n\n- Ordinary 2D line\u002Fbar\u002Fscatter → `figure-matplotlib`\n- Architecture \u002F commutative diagrams → `figure-tikz`\n- \"Make a reopenable card\" → `figure-interaction` (file must exist first)\n- Interactive \u002F animated \u002F 3D — this lane is static SVG only\n\n## Closed path\n\n1. **Copy** this skill's `templates\u002Fplot-spec.mjs` and\n   `scripts\u002Frender_plot.mjs` into the experiment island. Fill the spec\n   from a real run CSV — no invented series. The spec returns an **options\n   object**, not a DOM node (`d3` may be null; prefer plain JS).\n2. **Run** via `experiment-run`:\n   ```bash\n   \"$PRISM_NODE\" render_plot.mjs spec.mjs --data results.csv --out fig-density.svg\n   ```\n   Quote `$PRISM_NODE`. Declare the SVG in `artifacts`. Empty\u002Fmissing CSV\n   must fail the run — fix the data, not the error.\n3. **Stop.** Chat can preview the SVG.\n\n**Done** = `experiment-run` exits 0 and the SVG is in the island\nartifacts. One short sentence in chat.\n\n**Do not** (unless the user named that next step):\n\n- Convert SVG → PDF (`cairosvg`, `sips`, `gs`) so LaTeX or \"looking\"\n  works — the SVG is the figure\n- `figure-pipeline` \u002F `\\includesvg` \u002F `latex-compile`\n- `interaction-write`\n\n`references\u002Fplot-recipes.md` only when the mark type is unclear.\n\n## Rules\n\n- One spec, one visual question.\n- Categorical: Okabe-Ito (`#0072B2 #E69F00 #009E73 #D55E00 #CC79A7\n  #56B4E9 #F0E442`). Continuous: viridis-family.\n- Set explicit `width` \u002F `height` \u002F `style.fontSize` in the spec.\n",{"name":5,"license":15,"description":7},"master","bea8e76eec5d154324b095a78e731876fc136f75","resources\u002Fteams\u002Fprismnext.core\u002Fskills\u002Ffigure-observable-plot",0,"https:\u002F\u002Fgithub.com\u002Fyibocat\u002Fprismnext","https:\u002F\u002Fprismnext.pages.dev\u002F","https:\u002F\u002Fgithub.com\u002Fyibocat","Data Science and Artificial Intelligence","2026-09-05 14:31:57",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add yibocat\u002Fprismnext --skill figure-observable-plot",{"tool":39,"command":40},"bunx","bunx skills add yibocat\u002Fprismnext --skill figure-observable-plot",{"tool":42,"command":43},"pnpm","pnpm dlx skills add yibocat\u002Fprismnext --skill figure-observable-plot","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fyibocat\u002Fprismnext\u002Fblob\u002Fmaster\u002Fresources\u002Fteams\u002Fprismnext.core\u002Fskills\u002Ffigure-observable-plot\u002FSKILL.md",true,[47,53,59],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fplot-recipes.md","REFERENCE","参考文档",3923,"https:\u002F\u002Fgithub.com\u002Fyibocat\u002Fprismnext\u002Fblob\u002Fmaster\u002Fresources\u002Fteams\u002Fprismnext.core\u002Fskills\u002Ffigure-observable-plot\u002Freferences\u002Fplot-recipes.md",{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"scripts\u002Frender_plot.mjs","SCRIPT","脚本",6415,"https:\u002F\u002Fgithub.com\u002Fyibocat\u002Fprismnext\u002Fblob\u002Fmaster\u002Fresources\u002Fteams\u002Fprismnext.core\u002Fskills\u002Ffigure-observable-plot\u002Fscripts\u002Frender_plot.mjs",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"templates\u002Fplot-spec.mjs",1123,"https:\u002F\u002Fgithub.com\u002Fyibocat\u002Fprismnext\u002Fblob\u002Fmaster\u002Fresources\u002Fteams\u002Fprismnext.core\u002Fskills\u002Ffigure-observable-plot\u002Ftemplates\u002Fplot-spec.mjs",[64,72,79,86,93,100],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M79H88CRCDM6364CQV3AXTX8","demo-multi-file","Local test skill with an extra notes file","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fyibocat\u002Fprismnext\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-registry\u002Fdemo-multi-file\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M79H84P8BEMKYP2EAJEJ12QQ","writing-results","Use when drafting a Results \u002F Experiments \u002F Analysis section — narrating verified evidence from run receipts, with complete statistical reporting, derivation analysis, and honest treatment of negative results. Every number traces to a run; every claim survives the audit.","https:\u002F\u002Fgithub.com\u002Fyibocat\u002Fprismnext\u002Fblob\u002Fmaster\u002Fresources\u002Fteams\u002Fprismnext.core\u002Fskills\u002Fwriting-results\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M79H80M7D6BJJ0NFJ74589E4","writing-related-work","Use when drafting a Related Work \u002F literature review section or a standalone synthesis note — organizing prior work into a grounded, cited narrative or comparing methods across papers, from the project library plus staged external discovery. Never cites from memory.","https:\u002F\u002Fgithub.com\u002Fyibocat\u002Fprismnext\u002Fblob\u002Fmaster\u002Fresources\u002Fteams\u002Fprismnext.core\u002Fskills\u002Fwriting-related-work\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M79H7WTP45W9KJQKQHX22PBR","writing-preliminaries","Use when drafting a Preliminaries \u002F Background \u002F Notation section — definitions, problem setup, and formal statements the rest of the paper builds on, with notation consistency and machine-checked formal claims. Reference patterns, not molds; include only what later sections actually use.","https:\u002F\u002Fgithub.com\u002Fyibocat\u002Fprismnext\u002Fblob\u002Fmaster\u002Fresources\u002Fteams\u002Fprismnext.core\u002Fskills\u002Fwriting-preliminaries\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M79H7RYRFZ3J74Z15JNG6FD6","writing-methods","Use when drafting a Methods \u002F Methodology \u002F Approach \u002F Model section — expounding the ideas and the reasoning behind the method, grounded in the project's brief, notes, and prior discussions, with empirical details from run receipts. Structure follows the idea's shape; reference angles, not fixed templates.","https:\u002F\u002Fgithub.com\u002Fyibocat\u002Fprismnext\u002Fblob\u002Fmaster\u002Fresources\u002Fteams\u002Fprismnext.core\u002Fskills\u002Fwriting-methods\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M79H7MPZB0KTWZBDFVN9NKP2","writing-introduction","Use when drafting or rewriting a paper's Introduction — framing the problem, positioning against prior work, and stating contributions as checkable claims, grounded in the brief, notes, and the library. Reference rhetorical patterns, adapted to the paper — never applied as molds.","https:\u002F\u002Fgithub.com\u002Fyibocat\u002Fprismnext\u002Fblob\u002Fmaster\u002Fresources\u002Fteams\u002Fprismnext.core\u002Fskills\u002Fwriting-introduction\u002FSKILL.md",[],[]]