详细分析 ▾
运行时依赖
版本
- Initial release of scaffold-art-script skill. - Provides tools and guidance for building or converting generative art scripts for Art Blocks using artblocks-mcp. - Supports scaffolding ready-to-run projects with p5.js, Three.js, or vanilla JS via scaffold_artblocks_project. - Offers options to include PostParams (PMP), FLEX dependencies (IPFS, Arweave), and $features trait stubs. - Emphasizes fetching the authoritative generator spec before starting script work. - Includes a detailed checklist and step-by-step guide for porting existing artwork to the Art Blocks format.
安装命令
点击复制技能文档
Always 获取 Generator Spec 第一个
Before any art script work, fetch this MCP resource:
artblocks://generator-spec
It contains the authoritative reference for: tokenData structure, hash-based PRNG patterns, FLEX dependency types (IPFS, Arweave, ONCHAIN, Dependency Registry), supported script types and library versions, HTML structure requirements, and window.$features. It also includes the step-by-step conversion guide for porting existing scripts.
Scaffolding 新的 Project
Use scaffold_artblocks_project to generate a ready-to-run index.html + starter art script.
Parameters
| Param | Options / Notes |
|---|---|
scriptType | "js" (vanilla), "p5js", "threejs" — required |
dependencyVersion | p5.js: "1.0.0" or "1.9.0" (default). Three.js: "0.124.0", "0.160.0", "0.167.0" (default). Ignored for "js". |
includePostParams | true — adds ONCHAIN/PostParams (PMP) stubs in tokenData and example usage |
includeFlexDependencies | true — adds IPFS and Arweave dependency stubs with usage patterns |
includeFeatures | true — adds window.$features trait assignment stub |