← ClaudeAtlas

blocklet-converterlisted

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.
aiskillstore/marketplace · ★ 329 · Data & Documents · score 79
Install: claude install-skill aiskillstore/marketplace
# Blocklet Converter Converts static web projects and Next.js applications into ArcBlock blocklets with proper configuration and validation. ## Parameters **`did`** (required): Pre-generated blocklet DID (format: `z8ia...`) Example: `"Convert this project to blocklet using DID z8ia4e5vAeDsQEE2P26bQqz9oWR1Lxg9qUMaV"` If missing or invalid, exit immediately with error message: "Blocklet DID parameter is required." ## Workflow ### 1. Project Analysis **Skip directories**: `node_modules/`, `.pnpm/`, `.yarn/`, `.cache/`, `.turbo/`, `bower_components/` #### Verify Web Application Exists Check for ANY of: - `package.json` with web-related dependencies - `index.html` in root, `public/`, or `src/` or common locations - Web framework config (`vite.config.*`, `webpack.config.*`, `next.config.*`, etc.) **If none found → EXIT** with error message: "No web application detected." #### Detect Project Type Check `package.json` dependencies for: - **Next.js**: `next` in dependencies → **Next.js project** - **Backend frameworks**: express, koa, fastify, nest, etc. → **EXIT** with error: "Only static webapp and next.js projects are supported." - **Otherwise** → **Static webapp** #### Extract & Emit Metadata (Early) **Immediately after confirming project type**, extract metadata from `package.json`: - `title`: Human-friendly project name suitable for public display (e.g., `my-cool-app` → `My Cool App`) - `description`: A clear, non-technical description for end users. If package