Ui Pack Maintain logo

Ui Pack Maintain

Community
Lisuiwen
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.

Overview

PublisherLisuiwen
Repositoryai-html-annotation
Skill nameui-pack-maintain
Stars
26
Forks
2
Bundled files
15
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 15 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Lisuiwen on GitHub. Read the source before you install it.

Installation

Install the Ui Pack Maintain AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Lisuiwen/ai-html-annotation/tree/master/skills/ui-pack-maintain
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Lisuiwen/ai-html-annotation.git /tmp/ai-html-annotation
mkdir -p .claude/skills
cp -r /tmp/ai-html-annotation/skills/ui-pack-maintain .claude/skills/ui-pack-maintain
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ui Pack Maintain in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ui Pack Maintain on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ui Pack Maintain is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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 locates local packs for maintenance. It does not own download or prototype generation.

Quick start

List installed packs (same lookup chain as html-prototype-build), then validate and resolve:

bash
node scripts/list-packs.mjs
node scripts/validate-pack.mjs --pack=<pack-id|directory> --strict
node scripts/resolve-pack.mjs --pack=<pack-id|directory> --entry=<id>[,<id>...]

Pack discovery order: --pack-root= / HTML_PROTOTYPE_PACK_ROOT, then <cwd>-upward .html-prototype/packs/, then ~/.html-prototype/packs/. Pass a filesystem path to --pack= to skip id lookup. Details in Pack authoring.

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.

Responsibility split

Owns ui-pack-maintainOwns html-prototype-build
pack contract, schemaVersion, validate-pack.mjs, registry generation, maintenance lookup (list-packs.mjs)consumer lookup, install-pack.mjs, deliver[] copy-out
in-pack resolve-pack.mjs (`--pack=<iddir> --entry=`)
pack lifecycle: create → validate → version → publishprototype 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 change as Pack creation, Foundation, Component, Pattern, Preset, registry/publication, or repair.
  4. Read Pack authoring and implement the smallest reusable change.
  5. Update manifest.json, then run deterministic validation.
  6. For a new Pack or substantial semantic change, run the isolated review in Isolated semantic review.
  7. Regenerate registry.json when publishing or changing downloadable metadata.
  8. Apply only verified findings, then rerun validation and the resolver smoke test.

Evidence priority is documented in Evidence authority.

Publication references:

Hard boundaries

  • Keep a UI Pack inside the directory resolved by --pack=; this skill discovers installed packs through the shared root chain (explicit roots, project, user cache). It does not implement consumer download flows.
  • Keep the Foundation DOM-free; include only shared tokens and a document-level CSS baseline.
  • Keep each Component as one leaf implementation with a local contract.
  • Compose Components through Patterns without copying their implementations.
  • Keep Presets business-fact-free.
  • Keep state adapters to projecting passed local state only; never access PrototypeViewers, persist state, parse URLs, or register global event handlers.
  • Treat manifest.json as the only machine-readable index and dependency source.
  • Declare only required dependencies in requires; keep conditional capabilities in optional.
  • Patterns and Presets must not select internal components directly.
  • Declare sketch atoms in components[<id>].atoms, and mark each one with data-pack-atom in its own component.html. Mark one control per atom, not a composite demo.
  • Do not implement consumer download flows here; point users to html-prototype-build Pack install.

Deterministic validation

bash
node scripts/validate-pack.mjs --pack=<pack-directory> --strict

The validator enforces the pack contract, including pack-local vendor / runtime / assets and manifest.delivery. Fix every error before semantic review. Warnings must be resolved or explicitly reported as evidence gaps.

It cannot judge whether a component boundary is useful or whether visual evidence is sufficient; delegate those questions to the semantic reviewer.

Resolver smoke test

bash
node scripts/resolve-pack.mjs --pack=<pack-directory> --entry=<id>[,<id>...] [--optional=<id>[,<id>...]]

This covers in-pack requires/uses closures only. After validation, also run the consumer resolver check in Pack authoring. Cross-pack references are out of scope and must be reported as a ponytail: evidence gap.

Completion report

Report:

  • changed Pack entries
  • evidence used
  • provisional decisions and missing evidence
  • validator and resolver test results
  • registry regeneration status
  • unresolved independent-review findings

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Ui Pack Maintain AI skill do?

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.

Why use Ui Pack Maintain on TypingMind?

Because you install it once and use it with any model. Ui Pack Maintain is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ui Pack Maintain in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Lisuiwen/ai-html-annotation/tree/master/skills/ui-pack-maintain. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ui Pack Maintain?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ui Pack Maintain?

As many as you like. As long as a model supports skills, you can use Ui Pack Maintain with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ui Pack Maintain AI skill free?

Yes. It is published on GitHub by Lisuiwen under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇