[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EKSMXBA7HDT492HTYTFQFY":3,"skill-same:01M6EKSMXBA7HDT492HTYTFQFY":103},{"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":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":43,"ownerHtmlUrl":44,"ownerBlogUrl":6,"ownerDescription":45,"updatedAt":46,"install":47,"resources":60},"01M6EKSMXBA7HDT492HTYTFQFY","blocklet-converter",null,"Converts static web or Next.js projects into ArcBlock blocklets using provided DID. Analyzes project structure, generates configuration files, and validates setup. Requires blocklet DID as parameter.","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Farcblock\u002Fblocklet-converter\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32],"converter","blocklet converter","web","project structure","setup","Next.js","js","projects","files","configuration","next","structure","project","as","2026-11-10 10:12:30",false,"---\nname: blocklet-converter\ndescription: Converts static web or Next.js projects into ArcBlock blocklets using provided DID. Analyzes project structure, generates configuration files, and validates setup. Requires blocklet DID as parameter.\n---\n\n# Blocklet Converter\n\nConverts static web projects and Next.js applications into ArcBlock blocklets with proper configuration and validation.\n\n## Parameters\n\n**`did`** (required): Pre-generated blocklet DID (format: `z8ia...`)\n\nExample: `\"Convert this project to blocklet using DID z8ia4e5vAeDsQEE2P26bQqz9oWR1Lxg9qUMaV\"`\n\nIf missing or invalid, exit immediately with error message: \"Blocklet DID parameter is required.\"\n\n## Workflow\n\n### 1. Project Analysis\n\n**Skip directories**: `node_modules\u002F`, `.pnpm\u002F`, `.yarn\u002F`, `.cache\u002F`, `.turbo\u002F`, `bower_components\u002F`\n\n#### Verify Web Application Exists\n\nCheck for ANY of:\n\n- `package.json` with web-related dependencies\n- `index.html` in root, `public\u002F`, or `src\u002F` or common locations\n- Web framework config (`vite.config.*`, `webpack.config.*`, `next.config.*`, etc.)\n\n**If none found → EXIT** with error message: \"No web application detected.\"\n\n#### Detect Project Type\n\nCheck `package.json` dependencies for:\n\n- **Next.js**: `next` in dependencies → **Next.js project**\n- **Backend frameworks**: express, koa, fastify, nest, etc. → **EXIT** with error: \"Only static webapp and next.js projects are supported.\"\n- **Otherwise** → **Static webapp**\n\n#### Extract & Emit Metadata (Early)\n\n**Immediately after confirming project type**, extract metadata from `package.json`:\n\n- `title`: Human-friendly project name suitable for public display (e.g., `my-cool-app` → `My Cool App`)\n- `description`: A clear, non-technical description for end users. If package.json description is too technical, rewrite it to be user-friendly.\n\n**Emit using the protocol below**, then continue with the workflow:\n\n```\n\u003C\u003C\u003CBLOCKLET_PROJECT>>>\n{\"title\": \"...\", \"description\": \"...\"}\n\u003C\u003C\u003CEND_BLOCKLET_PROJECT>>>\n```\n\n#### Build (if build script exists)\n\n```bash\nbun install && bun run build\n```\n\n**If either fails → EXIT** with error output.\n\n#### Locate Output Directory\n\n**For Next.js projects**: Output directory is always `.next` — skip detection.\n\n**For static webapps**: Find `index.html` in: `dist\u002F` → `build\u002F` → `out\u002F` → `public\u002F` → `.\u002F`, or any other common locations. **If not found → EXIT** with error message: \"No index.html entry point found.\"\n\n#### Confirm Output Directory\n\nVerify the output directory exists and contains expected files before proceeding.\n\n### 2. Asset Preparation\n\n- **README.md**: If missing, generate from `{baseDir}\u002Ftemplates\u002FREADME-template.md`\n- **logo.png**: If missing, copy from `{baseDir}\u002Fassets\u002Fdefault-blocklet-logo.png`\n- **index.js** (Next.js only): Copy `{baseDir}\u002Fassets\u002Fnextjs-entry.txt` to project root as `index.js`\n\n### 3. Generate blocklet.yml\n\n**For Next.js projects**: Use template from `{baseDir}\u002Ftemplates\u002Fnextjs-blocklet.yml`\n\n**For static webapps**: Use template from `{baseDir}\u002Ftemplates\u002Fstatic-blocklet.yml`\n\nPopulate with:\n\n- `did` and `name`: Use provided DID\n- `title`: Human-readable project name\n- `description`: From package.json\n\n### 4. Verification\n\n```bash\nblocklet meta\n```\n\n**For Next.js projects**:\n\n```bash\nblocklet bundle --simple --create-release --external=\"*\"\n```\n\n**For static webapps**:\n\n```bash\nblocklet bundle --create-release\n```\n\nFix any errors and retry.\n\n### 5. Finalization\n\n**Do NOT output any summary or recap after completion.** Simply end silently after successful verification. The tool outputs already provide sufficient feedback to the user.\n\n## Error Reference\n\nSee `{baseDir}\u002Ferrors.md` for all error conditions and suggestions.\n\n## Supporting Files\n\n- `assets\u002Fdefault-blocklet-logo.png` - Default logo\n- `assets\u002Fnextjs-entry.txt` - Next.js entry point sample\n- `templates\u002Fstatic-blocklet.yml` - Static webapp config template\n- `templates\u002Fnextjs-blocklet.yml` - Next.js config template\n- `templates\u002FREADME-template.md` - README template\n- `examples.md` - Workflow examples\n- `errors.md` - Error reference\n\n`{baseDir}` resolves to the skill's installation directory.\n\n## Output Protocol\n\nThis skill emits structured data that callers can parse programmatically.\n\n### Project Metadata Event\n\nEmitted immediately after project validation succeeds (before build):\n\n```\n\u003C\u003C\u003CBLOCKLET_PROJECT>>>\n{\"title\": \"...\", \"description\": \"...\"}\n\u003C\u003C\u003CEND_BLOCKLET_PROJECT>>>\n```\n\n| Field | Type | Description |\n|-------|------|-------------|\n| `title` | string | Human-friendly project name for public display |\n| `description` | string | Non-technical description for end users |\n\n","# Blocklet Converter\n\nConverts static web projects and Next.js applications into ArcBlock blocklets with proper configuration and validation.\n\n## Parameters\n\n**`did`** (required): Pre-generated blocklet DID (format: `z8ia...`)\n\nExample: `\"Convert this project to blocklet using DID z8ia4e5vAeDsQEE2P26bQqz9oWR1Lxg9qUMaV\"`\n\nIf missing or invalid, exit immediately with error message: \"Blocklet DID parameter is required.\"\n\n## Workflow\n\n### 1. Project Analysis\n\n**Skip directories**: `node_modules\u002F`, `.pnpm\u002F`, `.yarn\u002F`, `.cache\u002F`, `.turbo\u002F`, `bower_components\u002F`\n\n#### Verify Web Application Exists\n\nCheck for ANY of:\n\n- `package.json` with web-related dependencies\n- `index.html` in root, `public\u002F`, or `src\u002F` or common locations\n- Web framework config (`vite.config.*`, `webpack.config.*`, `next.config.*`, etc.)\n\n**If none found → EXIT** with error message: \"No web application detected.\"\n\n#### Detect Project Type\n\nCheck `package.json` dependencies for:\n\n- **Next.js**: `next` in dependencies → **Next.js project**\n- **Backend frameworks**: express, koa, fastify, nest, etc. → **EXIT** with error: \"Only static webapp and next.js projects are supported.\"\n- **Otherwise** → **Static webapp**\n\n#### Extract & Emit Metadata (Early)\n\n**Immediately after confirming project type**, extract metadata from `package.json`:\n\n- `title`: Human-friendly project name suitable for public display (e.g., `my-cool-app` → `My Cool App`)\n- `description`: A clear, non-technical description for end users. If package.json description is too technical, rewrite it to be user-friendly.\n\n**Emit using the protocol below**, then continue with the workflow:\n\n```\n\u003C\u003C\u003CBLOCKLET_PROJECT>>>\n{\"title\": \"...\", \"description\": \"...\"}\n\u003C\u003C\u003CEND_BLOCKLET_PROJECT>>>\n```\n\n#### Build (if build script exists)\n\n```bash\nbun install && bun run build\n```\n\n**If either fails → EXIT** with error output.\n\n#### Locate Output Directory\n\n**For Next.js projects**: Output directory is always `.next` — skip detection.\n\n**For static webapps**: Find `index.html` in: `dist\u002F` → `build\u002F` → `out\u002F` → `public\u002F` → `.\u002F`, or any other common locations. **If not found → EXIT** with error message: \"No index.html entry point found.\"\n\n#### Confirm Output Directory\n\nVerify the output directory exists and contains expected files before proceeding.\n\n### 2. Asset Preparation\n\n- **README.md**: If missing, generate from `{baseDir}\u002Ftemplates\u002FREADME-template.md`\n- **logo.png**: If missing, copy from `{baseDir}\u002Fassets\u002Fdefault-blocklet-logo.png`\n- **index.js** (Next.js only): Copy `{baseDir}\u002Fassets\u002Fnextjs-entry.txt` to project root as `index.js`\n\n### 3. Generate blocklet.yml\n\n**For Next.js projects**: Use template from `{baseDir}\u002Ftemplates\u002Fnextjs-blocklet.yml`\n\n**For static webapps**: Use template from `{baseDir}\u002Ftemplates\u002Fstatic-blocklet.yml`\n\nPopulate with:\n\n- `did` and `name`: Use provided DID\n- `title`: Human-readable project name\n- `description`: From package.json\n\n### 4. Verification\n\n```bash\nblocklet meta\n```\n\n**For Next.js projects**:\n\n```bash\nblocklet bundle --simple --create-release --external=\"*\"\n```\n\n**For static webapps**:\n\n```bash\nblocklet bundle --create-release\n```\n\nFix any errors and retry.\n\n### 5. Finalization\n\n**Do NOT output any summary or recap after completion.** Simply end silently after successful verification. The tool outputs already provide sufficient feedback to the user.\n\n## Error Reference\n\nSee `{baseDir}\u002Ferrors.md` for all error conditions and suggestions.\n\n## Supporting Files\n\n- `assets\u002Fdefault-blocklet-logo.png` - Default logo\n- `assets\u002Fnextjs-entry.txt` - Next.js entry point sample\n- `templates\u002Fstatic-blocklet.yml` - Static webapp config template\n- `templates\u002Fnextjs-blocklet.yml` - Next.js config template\n- `templates\u002FREADME-template.md` - README template\n- `examples.md` - Workflow examples\n- `errors.md` - Error reference\n\n`{baseDir}` resolves to the skill's installation directory.\n\n## Output Protocol\n\nThis skill emits structured data that callers can parse programmatically.\n\n### Project Metadata Event\n\nEmitted immediately after project validation succeeds (before build):\n\n```\n\u003C\u003C\u003CBLOCKLET_PROJECT>>>\n{\"title\": \"...\", \"description\": \"...\"}\n\u003C\u003C\u003CEND_BLOCKLET_PROJECT>>>\n```\n\n| Field | Type | Description |\n|-------|------|-------------|\n| `title` | string | Human-friendly project name for public display |\n| `description` | string | Non-technical description for end users |\n\n",{"name":5,"description":7},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Faiskillstore\u002Fmarketplace\u002Farcblock\u002Fblocklet-converter",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill blocklet-converter",{"tool":53,"command":54},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill blocklet-converter",{"tool":56,"command":57},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill blocklet-converter","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Farcblock\u002Fblocklet-converter\u002FSKILL.md",true,[61,67,71,77,81,87,91,95,99],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"assets\u002Fdefault-blocklet-logo.png","ASSET","资产文件",4572,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Farcblock\u002Fblocklet-converter\u002Fassets\u002Fdefault-blocklet-logo.png",{"path":68,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":69,"sourceHtmlUrl":70},"assets\u002Fnextjs-entry.txt",380,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Farcblock\u002Fblocklet-converter\u002Fassets\u002Fnextjs-entry.txt",{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"errors.md","REFERENCE","参考文档",2466,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Farcblock\u002Fblocklet-converter\u002Ferrors.md",{"path":78,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":79,"sourceHtmlUrl":80},"examples.md",2882,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Farcblock\u002Fblocklet-converter\u002Fexamples.md",{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"parse-project-meta.js","SCRIPT","脚本",948,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Farcblock\u002Fblocklet-converter\u002Fparse-project-meta.js",{"path":88,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":89,"sourceHtmlUrl":90},"skill-report.json",18868,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Farcblock\u002Fblocklet-converter\u002Fskill-report.json",{"path":92,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":93,"sourceHtmlUrl":94},"templates\u002Fnextjs-blocklet.yml",695,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Farcblock\u002Fblocklet-converter\u002Ftemplates\u002Fnextjs-blocklet.yml",{"path":96,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":97,"sourceHtmlUrl":98},"templates\u002FREADME-template.md",63,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Farcblock\u002Fblocklet-converter\u002Ftemplates\u002FREADME-template.md",{"path":100,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":101,"sourceHtmlUrl":102},"templates\u002Fstatic-blocklet.yml",914,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Farcblock\u002Fblocklet-converter\u002Ftemplates\u002Fstatic-blocklet.yml",[104,113,122,131,137,143],{"skillNo":105,"name":106,"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":107,"categories":108,"keywords":109,"publishedAt":33},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[110,111,112],"model","model hierarchy","model hierarchy skill",{"skillNo":114,"name":115,"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":116,"categories":117,"keywords":118,"publishedAt":33},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[119,120,121],"MCP","zoom","zoom mcp",{"skillNo":123,"name":124,"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":125,"categories":126,"keywords":127,"publishedAt":33},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[128,129,130,120],"sdk","zoom apps sdk","apps",{"skillNo":132,"name":133,"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":134,"categories":135,"keywords":136,"publishedAt":33},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[133],{"skillNo":138,"name":139,"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":140,"categories":141,"keywords":142,"publishedAt":33},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[139],{"skillNo":144,"name":145,"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":146,"categories":147,"keywords":148,"publishedAt":33},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[145]]