ux4g-skill
v3.0.22
Published
Official AI skill for UX4G — the Indian government design system. Generate accessible HTML, React, and Angular code using UX4G components, patterns, utilities, and design tokens. Works offline for LLM coding assistants.
Maintainers
Keywords
Readme
UX4G Skill
A self-contained, offline-ready AI skill for the UX4G Design System — a design system for Indian government citizen-facing digital services.
This package lets any LLM coding assistant generate production-grade HTML, React, and Angular code using UX4G tokens, utilities, components, and patterns — without needing internet access or browsing the live Storybook.
What is UX4G?
UX4G (User Experience for Government) is the design system for building accessible, responsive, mobile-first digital services for citizens of India.
What's inside
| File / folder | Purpose |
|---|---|
| SKILL.md | Main skill instructions for the AI agent |
| QUICKSTART.md | Full index and onboarding guide |
| FRAMEWORKS.md | HTML, React, and Angular generation rules |
| PROCESS.md | Copy-paste checklist workflow |
| EXAMPLES.md | Concrete input/output examples |
| EVALUATIONS.md | Test scenarios for skill validation |
| catalog.json | Structured index of all entities |
| llms.txt | Local route map |
| llms-full.txt | Full narrative system guide |
| llms/ | Chunked docs for components, patterns, utilities, tokens, layout, and examples |
| bin/ux4g-skill.js | CLI helper via npx ux4g-skill |
Everything is local-first. No CDN fetches, no Storybook scraping, no truncation.
How to use as a project skill
- Extract this package.
- Attach
SKILL.mdas a project-level skill/instructions file in your AI assistant. - The assistant reads
QUICKSTART.md,FRAMEWORKS.md,PROCESS.md, andllms/files on demand. - Ask it to generate UX4G code in HTML, React, or Angular.
npm / npx usage
npm install -g ux4g-skill
npx ux4g-skillSupported frameworks
- HTML — semantic, accessible markup with
ux4g-*classes - React — functional components using
className - Angular — templates with UX4G utility classes
Design principles
- Mobile-first, responsive layouts
- Accessibility first (WCAG 2.1 AA)
- Citizen-centric, inclusive language
- Consistent tokens and utilities
- Government-grade trust and clarity
Author
Kasif Raza [email protected]
