ui-pack-maintainlisted
Install: claude install-skill Lisuiwen/ai-html-annotation
# UI Pack Maintain
Self-contained authoring and publication workflow for UI Packs. This skill owns the pack
contract, schema version rules, registry format, validator, and release metadata. It does not
own consumer-side discovery, download, or prototype generation.
## Quick start
Create a Pack, then validate and resolve it:
```bash
node scripts/validate-pack.mjs --pack=<pack-directory> --strict
node scripts/resolve-pack.mjs --pack=<pack-directory> --entry=<id>[,<id>...]
```
Before publishing pack changes:
```bash
node scripts/generate-registry.mjs
node scripts/generate-registry.mjs --check
```
Landing paths, create/update steps, and the consumer resolver smoke test are in
[Pack authoring](references/pack-authoring.md).
## Responsibility split
| Owns `ui-pack-maintain` | Owns `html-prototype-build` |
|---|---|
| pack contract, `schemaVersion`, `validate-pack.mjs`, registry generation | pack lookup chain, `install-pack.mjs`, `deliver[]` copy-out |
| in-pack `resolve-pack.mjs` (`--pack=<dir> --entry=`) | consumer `resolve-pack.mjs` (`--list` / `--select`) |
| pack lifecycle: create → validate → version → publish | prototype generation |
## Workflow
1. Read `references/contract.md` for structure and responsibility boundaries.
In **creation** mode, stop here for evidence. In **maintenance** mode,
continue to step 2.
2. Read the target Pack's `PACK.md` and `manifest.json`, plus only the resource
entries this task touches (maintenance only).
3. Classify the chang