About axhub-prototype-context
axhub-prototype-context is a skill for AI Agents to read page structure, PRDs, annotations, and source references from published prototypes. It treats the page as read-only by default and supports submitting a review report to Axhub Make when requested.
Key features
- 01Read the published context snapshot
- 02Summarize directory and PRD entries
- 03Extract annotation fields and counts
- 04Check image and source handoff details
- 05Submit review reports on request
Use cases
- 01Continue reviewing an annotated prototype
- 02Understand pages and requirements before production work
- 03Find relevant files from the source manifest
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ lintendo/ axhub-skills --skill axhub-prototype-contextAfter installing, type/axhub-prototype-contextin Claude Code to confirm it loaded.
Bundled filesreferences/review-report-submission.md
Details
From the project READMEAnnotated Prototype Context
Read the published context from an annotated prototype so an AI Agent can understand its pages, PRD, annotations, and available source before continuing with review or production work. Treat the page as read-only unless the user asks to submit a review report back to Axhub Make.
Workflow
- Open the requested annotated 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 annotated prototype context 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__);
What To Report
- Directory / PRD outline from
source.directory. - Markdown or PRD entries from directory nodes with
type: "markdown". - Annotation count and the important node fields:
id,title,pageId,locator,annotationText,aiPrompt,color, andcontrols. - Source handoff from
source.sourcewhen present. Reportrootandmanifest; when source is needed, read the manifest and relevant files viaroot. - Mention whether images are attached by checking
images.length; do not download images unless the user asks.
Data Shape
type AnnotationSourceRuntimeSnapshot = {
directory: AnnotationDirectory | null;
nodes: AnnotationNode[];
source?: {
root?: string;
manifest?: string;
};
};
directory.nodesis the prototype tree. Node types arefolder,route,link, andmarkdown.nodesis the full annotation list, independent of current page, selected state, and color filter.- Each annotation node includes
id,index, optionaltitle, optionalpageId,locator,aiPrompt,annotationText,hasMarkdown,color,images, optionalcontrols,createdAt, andupdatedAt. sourceis only a source-code discovery reference. In HTML published with source included,manifestpoints tosource/manifest.json; resolve its paths relative tosource.root.
Comments
Markdown supported