extract-annotation-source
Installation
SKILL.md
Extract Annotation Source
Read Axhub prototype context from the runtime snapshot. Treat the page as read-only.
Workflow
- Open the requested prototype URL with Playwright, Browser, Chrome, or an equivalent tool that can evaluate page JavaScript.
- Wait until the app renders, then poll briefly for
window.__AXHUB_ANNOTATION_SOURCE__. - Evaluate and return that value. Do not modify the object or write anything back to
window. - If the value is missing, report the URL, page title, relevant console errors, and that the annotation runtime snapshot was not published.
- If the user asks to submit a review report back to Axhub Make, read
references/review-report-submission.md.
Minimal page evaluation:
await page.waitForFunction(() => window.__AXHUB_ANNOTATION_SOURCE__, { timeout: 10000 });
const source = await page.evaluate(() => window.__AXHUB_ANNOTATION_SOURCE__);