webapp-ui-design
A UI and graphic design rulebook for AI coding agents (Claude Code, Codex, Cursor, Copilot, Gemini, Windsurf). The agent reads coded rules, each with a rationale, do/don't examples and an authoritative source, and builds web, iOS, Android, tablet and desktop interfaces that follow real design principles instead of looking "AI-made".
Content is written in Vietnamese with English IDs and code. Tiếng Việt: README.vi.md.
- 18 rule files (
skill/rules/): visual principles, typography, color, grid, UX laws, components, motion, WCAG 2.2, content, anti-"AI look", review checklist, Material 3 / HIG / Fluent / GOV.UK, 32 industries, color library, light/dark theming, responsive, user behavior, component library. - Real-site data: 1,062 sites in 32 industries, 92,465 component samples of 26 types measured at desktop, tablet, phone and in dark mode (
docs/dataset/). - 15 workflows: screens, landing pages, dashboards, app flows, audits, redesigns, design systems, platform ports, responsive.
uidengine (optional): search 239 catalog entities, export design tokens (CSS, Tailwind, SwiftUI, Compose, Flutter, Figma), check contrast and UX issues.
Quick install
Pick one. Options 1 and 2 need no Python.
1. Claude Code plugin
/plugin marketplace add bynne2602/webapp-ui-design
/plugin install webapp-ui-design@webapp-ui-design
2. npx (Node ≥ 18 and git)
npx github:bynne2602/webapp-ui-design init --global # all projects: ~/.claude/skills + ~/.agents/skills
npx github:bynne2602/webapp-ui-design init # current project only
npx github:bynne2602/webapp-ui-design init --target all # also Cursor, Copilot, Gemini, Windsurf rules
npx github:bynne2602/webapp-ui-design doctor # check the optional uid engine
Catalog data is copied to ~/.webapp-ui-design, so clearing the npm cache does not break it. Re-run init to update. Once the package is on npm: npx webapp-ui-design init --global.
3. pip
Once the package is on PyPI (skill and data bundled):
pip install webapp-ui-design
uid install-skill --global # or, inside a project: uid install-skill
From source (to modify or contribute):
git clone https://github.com/bynne2602/webapp-ui-design
cd webapp-ui-design
pip install -e . # Python ≥ 3.10; add ".[image,browser]" for image analysis and rendering
uid build && uid validate
After npx ... --global, pip install "git+https://github.com/bynne2602/webapp-ui-design" is enough: uid finds the data in ~/.webapp-ui-design.
4. claude.ai Skills
Download the repo zip, zip the skill/ folder as webapp-ui-design.zip and upload it in the Skills section of claude.ai settings.
Usage
Ask your agent as usual: "build a landing page for a dental clinic", "review this checkout page", "add dark mode to this dashboard". The skill picks a workflow, reads the relevant rules and answers as Brief → Tokens → Code → Checklist.
uid search "bottom navigation for a banking app" --platform ios --limit 5
uid show cmp.tab-bar --platform ios --form-factor tablet --industry fintech
uid tokens export --to css,tailwind,swiftui,compose,flutter,figma --preset fintech-trust
uid check ux page.html
More: docs/getting-started.md · docs/cli.md · rule index: skill/rules/README.md.
Maintainers: publishing to npm/PyPI is described in docs/publishing.md.
Layout
| Layer | Path | |
|---|---|---|
| Skill | skill/ |
SKILL.md, 18 rule files + 22 do/don't images, 15 workflows, 11 references, UI kit |
| Data | docs/dataset/ |
real-site measurements, layout notes, per-type component CSVs |
| Knowledge | catalog/, tokens/, references/ |
239 entities, 3-tier DTCG tokens, 10 presets × light/dark/high-contrast |
| Engine | engine/ui_intel/ |
uid CLI |
| Distribution | adapters/, .claude-plugin/, bin/ |
per-agent adapters, Claude Code plugin, npx installer |
Status
See docs/status.md and CHANGELOG.md for what is verified, what is limited, and real sample counts per component type.
License
Code: MIT (LICENSE). Rules, catalog, tokens, data: CC-BY-4.0 (LICENSE-CONTENT.md). Apple, Google and Microsoft guidelines are summarized in our own words with links, never copied. Research screenshots of third-party sites are not included.
Metadata
Release files for webapp-ui-design 3.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| webapp_ui_design-3.1.0.tar.gz | 1.1 MB | Without provenance | Details for webapp_ui_design-3.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| webapp_ui_design-3.1.0-py3-none-any.whl | Python 3 | none | any | Details for webapp_ui_design-3.1.0-py3-none-any.whl |
Total release size: 2.5 MB
Release files / webapp_ui_design-3.1.0.tar.gz
| Download URL | webapp_ui_design-3.1.0.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39ce6505354f7b7cd3df2ead9c598e3589390c48c4120184f6b1886c789ee2f8
|
|
BLAKE2b-256 checksum How to use checksums |
96684fe01d28a209ee14a9ac23d0b874f3a5f971e9c24a36e08b7137b127df13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Release files / webapp_ui_design-3.1.0-py3-none-any.whl
| Download URL | webapp_ui_design-3.1.0-py3-none-any.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c5ce54c3a66d6d805cb29e2c255774142438225d05ef894e088f8be8a89307a8
|
|
BLAKE2b-256 checksum How to use checksums |
b3e84b9482bef355c4fbe46f8fdbc9bacef224e7b7ee995c6571acaa72d44c46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Security for webapp-ui-design 3.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.