⏳ This skill is pending AI review.
Scores will appear once the review pipeline completes.
ui-pack-maintain
Creates, extends, repairs, validates, versions, and publishes reusable UI Packs. Use when adding or changing UI Pack Foundations, Components, Patterns, Presets, design tokens, state adapters, manifests, or registry metadata, or when extracting a reusable visual system from screenshots, existing pages, or computed styles. Creating a Pack relies only on the self-contained contract plus user intent; maintenance may additionally read existing Packs. Do not use for generating business prototypes, editing production frontend code, installing packs for end users, or ordinary page styling.
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
// README
AI HTML Annotation
Agent Skill for native HTML prototypes with real-DOM annotations — for Claude Code, Codex, Cursor, and other coding agents.
The page is the deliverable, not just a picture of one. Build from a UI pack, annotate on the live DOM, copy feedback to an AI, and ship clean multi-state screenshots.
Experimental 0.x · zero npm dependencies · MIT · Changelog
Why it exists
Chat comments never hit an element, screenshot-based HTML drifts, and spec / chat / source stay disconnected. The product guide covers why that fails, four jobs on the loop, and the numbered workflow.
generate HTML from a UI pack
│
▼
Viewer
│
├── Mark → Copy for AI (optional)
├── Direct Edit (optional)
└── Inspector (optional)
│
▼
scenarios
Mark, Direct Edit, and Inspector are parallel options after Viewer, not a required sequence.
See it first
Walkthrough video: media/hero-main.mp4 (GitHub may not autoplay — open the file).
Review the page the way a PM would
Formal annotations sit on the real DOM. Add, edit, or browse them, switch page states, and follow SVG connectors to the matching modules — same page, not a separate spec.

Pin a problem and copy it to the AI
Hold Ctrl (macOS: ⌘) and click an element to drop a removable review pin. Then Copy all → For AI exports selectors plus element HTML.

Tweak style or copy on the live page
Author Tools → edit. Hold Ctrl (macOS: ⌘), change copy or styles (for example a background color), and save. The editor UI stays in the authoring session; it is not injected into the deliverable.

Lock the thing that looks wrong and jump to source
Hold Alt + Shift, hover to see the selector, click to open that location in your local IDE.

Deliver clean multi-state screenshots
Multi-state screenshots hide the annotation rail, connectors, and Author Tools. Formal HTML can still show Viewer; the PNGs are the product page only.

Generate from a UI pack so pages stay visually consistent
Installable visual systems — tokens, components, patterns — not bundled inside the Skill. Official packs: admin-desktop (desktop admin) and mobile-vant (phone-width H5). Customize or author a pack with the ui-pack-maintain skill when the official simulation is the wrong visual language. Details: UI packs.
Fit / not fit
Fit when you need to:
- turn UI materials into openable HTML quickly;
- review on the real page and copy precise feedback to an AI;
- iterate structure, copy, and state while keeping reproducible screenshots;
- keep admin, config, or interaction prototypes visually stable across tasks.
Not a fit as a production component library, a Figma replacement, a third-party design-system implementation, or a general frontend scaffold / production code generator.
Install
skills.sh is the default. Then install a UI pack (admin-desktop for desktop, mobile-vant for phone) and open Author Tools — steps in 5-minute quickstart.
npx skills add https://github.com/Lisuiwen/ai-html-annotation --skill html-prototype-build
Open examples/minimal-notes-system/prototype.html (desktop sample in this repo).
Claude Code marketplace is secondary: /plugin marketplace add Lisuiwen/ai-html-annotation then /plugin install ai-html-annotation@lisuiwen-agent-skills. Pack authors also install ui-pack-maintain.
Examples
- Default walkthrough:
examples/minimal-notes-system(admin desktop). - Alternate:
examples/mobile-work-order(mobile H5,mobile-vant).
Where to go next
- Product guide — why it fails, four scenarios, capabilities, numbered steps
- Quickstart · UI packs · Comparison · FAQ
- Docs index
- Skill overview → html-prototype-build README (中文)
Skill references, UI pack contracts, and addon docs are in English.
For agents
Local Author Tools, pack install, and screenshot commands: Local authoring, Pack install, Screenshots. Agent routing: SKILL.md.
Distribution layout
.claude-plugin/marketplace.json Claude Code marketplace catalog
.html-prototype/packs/ Official UI packs
skills/html-prototype-build/ Prototype build Agent Skill
skills/ui-pack-maintain/ UI pack authoring Agent Skill
examples/ Runnable samples
media/ README demo assets
docs/ Product docs
Security
- Author Tools bind to
127.0.0.1only. Do not run authoring or screenshots against untrusted HTML. - Author writes require same-origin localhost JSON. Keep the Skill-root
.envlocal for IDE selection; never commit it. - Direct Edit and Mark load only in the authoring session. Direct Edit writes style/copy through localhost; Mark stores pins in page-scoped
localStorageand may copy to the clipboard. Neither is injected into source HTML. - Do not put real credentials, production data, personal information, or unauthorized brand assets in prototypes.
Contributing
Experimental 0.x; APIs and layout may change. See .github/CONTRIBUTING.md and .github/CODE_OF_CONDUCT.md. Report vulnerabilities privately per .github/SECURITY.md.
UI packs are original native-HTML visual simulations. They do not bundle third-party design-system code; vendored libraries (for example Apache ECharts in admin-desktop) ship inside the pack and are listed in NOTICE.
License
MIT. Third-party attribution is in NOTICE (html-mark credit and Apache ECharts).
// HOW IT'S BUILT
KEY FILES