Captures screenshots of selected Axure prototype pages and converts each page into a Markdown spec document via vision analysis. Triggers when a user provides an Axure Share URL and requests spec extraction, e.g. "/parsing-axure https://xxxx.axshare.com/".
將 Axure 原型頁面截圖,並透過視覺分析轉換為 Markdown 規格文件。
執行前確認以下項目已安裝(一次性設定):
# 1. 全域安裝 playwright
npm install -g playwright
# 2. 安裝 Chromium browser binary
npx playwright install chromium
# 3. 確認 Node.js >= 18
node -v
若 Node.js 版本不符,透過 nvm 切換:
source ~/.nvm/nvm.sh && nvm use 18
/parsing-axure [axure網址]
使用 AskUserQuestion 詢問使用者是否需要密碼:
--password 參數--password 參數留空,腳本會自動跳過執行腳本的 --list 模式,輸出頁面清單 JSON:
source ~/.nvm/nvm.sh && nvm use 18 && NODE_PATH=$(npm root -g) node ./scripts/crawler.cjs [axure網址] --password [密碼] --list
解析輸出的 JSON,取得所有頁面名稱。
根據頁面數量選擇互動方式:
AskUserQuestion 的 options 上限為 4 個,頁面數超過時必須改用文字互動。
將使用者選擇的頁面名稱以逗號串接,帶入 --pages 參數執行截圖:
source ~/.nvm/nvm.sh && nvm use 18 && NODE_PATH=$(npm root -g) node ./scripts/crawler.cjs [axure網址] --password [密碼] --pages "[頁面1,頁面2,...]"
腳本執行完成後會輸出:
output/{hostname}/{YYYY-MM-DD}/screenshots/)若腳本回報 Playwright 未安裝,引導使用者執行 Prerequisites 的安裝指令後重試。
截圖完成後,對每一張截圖執行以下流程:
輸出路徑:output/{hostname}/{YYYY-MM-DD}/markdown/{截圖同名}.md
範例:截圖 01_畫面示意與介面規則.png → 01_畫面示意與介面規則.md
所有頁面處理完成後,告知使用者輸出目錄位置。
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer