AI-Powered Design & Development

Build government websites with AI + UX4G

Copy the universal prompt below, paste it into any IDE AI (Cursor, Windsurf, GitHub Copilot, Kiro), attach your BRD — and generate a production-ready, accessible, UX4G-powered website in minutes.

Two prompts, one ecosystem

Write a BRD once. Use it with the Figma Make prompt to generate designs, or with the CodeGen prompt to generate working code — or both, in sequence.

Design Path

Figma Make + UX4G Make Kit

Generate complete, themed design screens in Figma. Produces mobile + desktop frames, dark mode, regional language variants, and all interactive states — annotated with BRD traceability.

Figma MakeUX4G Make KitDesign Screens

Code Path

Any AI IDE + ux4g-web-components

Generate a deployable Next.js application using UX4G components. Produces routed pages, CSS token system, mock data, i18n, form validation, and accessibility — with a 5-round self-audit.

KiroCursorCopilotClaude Code

Prompts

Download and use with your BRD for AI-powered design or development.

Figma Make — Universal BRD-to-Design Prompt

For Figma Make + UX4G Component Library

Paste into Figma Make's system context field along with your BRD and the UX4G Figma component library. Produces complete, themed, accessible design screens — not wireframes. Includes section background planning, typography hierarchy rules, color application rules, and a 9-step quality checklist. Uses the UX4G Make Kit built from the ux4g-web-components npm package.

v3.0~6,000 wordsFigma MakeDesignUX4G Make Kit

IDE Universal Code Generation Prompt

For Kiro, Cursor, GitHub Copilot, Claude Code

Paste into your AI code editor as a system prompt or rules file. Produces a fully functional, accessible, responsive Next.js 14 application using ux4g-web-components — not a static prototype. Includes project structure, CSS token system, component standards, mock data layer, i18n setup, and a 5-round self-audit protocol.

v1.0~5,500 wordsKiroCursorCopilotClaude Code

BRD Template

The structured requirements format both prompts are designed to consume. Fill it out, attach it, and let the AI handle the rest.

UX4G BRD Template

Structured requirements format for AI consumption

A comprehensive Business Requirements Document template designed to pair with both the Figma Make and CodeGen prompts. Covers product overview, personas, user journeys, page inventory, functional requirements, design & brand requirements, accessibility, and more. Fill this out and attach it to either prompt for best results.

v1.0~3,500 wordsTemplateRequirementsAll tools

What the BRD template covers

Product Overview & Identity
Problem Statement & Pain Points
Goals & Success Metrics
Users & Personas (detailed)
User Journeys (step-by-step)
Page & Screen Inventory
Functional Requirements (categorised)
Non-Functional Requirements
Content & Language Plan
Integration Requirements
Design & Brand Requirements
Accessibility Requirements
Constraints & Risks
Timeline & Milestones
Glossary & Appendix

Sample BRDs

Complete, production-quality BRDs you can use for testing the prompts or as reference when writing your own.

Sample BRD — Join Indian Navy

Recruitment portal revamp — complete BRD example

A complete, production-quality BRD for the Join Indian Navy recruitment portal (joinindiannavy.gov.in). Includes 5 detailed personas, 3 user journeys with error recovery, 25+ page inventory, full functional requirements, payment flows, multilingual support, and design specifications with Navy Blue + Gold color scheme.

v2.0~12,000 wordsDefenceRecruitmentFormsPayment

Sample BRD — Incredible India Tourism Portal

National tourism portal — discovery & planning

A complete BRD for the Incredible India tourism portal (incredibleindia.org). Covers destination discovery, itinerary builder, interactive maps, visa information, verified operator directory, accessible tourism, and 500+ destination pages. Demonstrates a content-heavy, photography-driven product with international audience requirements.

v1.0~11,000 wordsTourismDiscoveryItineraryMaps

Sample BRD comparison

FeatureJoin Indian NavyIncredible India Tourism
Product typeRecruitment portalTourism discovery portal
Primary actionCheck eligibility → ApplyDiscover → Plan itinerary
Forms & payment✓ Multi-step form, OTP, payment✗ No forms (referral model)
Itinerary / builder✓ Day-by-day itinerary builder
Maps✓ Interactive map discovery
Personas5 (candidate, parent, admin)5 (domestic, international, accessible, admin)
Pages25+30+
PhotographyOfficial Navy media onlyStunning destination photography
Color schemeNavy Blue #003087 + Gold #C8960CRed #E63329 + Saffron #FF8C00 + Green #1A472A
Languages at launchEnglish + HindiEnglish + Hindi

Step-by-step workflows

Follow these steps for each path.

1

Write your BRD

Same BRD template works for both design and code generation.

2

Set up your IDE

Install the prompt as a rules file: .kiro/rules/product.md (Kiro), .cursorrules (Cursor), or AGENTS.md (Copilot).

3

Install UX4G package

Run npm install ux4g-web-components in your project.

4

Reference your BRD

Use @BRD.md or #BRD.md in your first message to the AI.

5

Send the trigger message

The prompt includes a trigger message. The AI will extract requirements, generate foundation files, then build pages with full self-audit.

IDE-specific setup

Kiro
.kiro/rules/product.md
Auto-reads on every generation
Cursor
.cursorrules
Auto-reads on Cmd+K / Cmd+L
GitHub Copilot
AGENTS.md
Workspace agent instructions
Claude Code
CLAUDE.md
Auto-reads from project root

What gets generated

Complete project structure

Pages, routing, components, styles, tokens, mock data, i18n — all wired up and building.

UX4G components throughout

Every UI element uses the correct UX4G component — Button, Card, Alert, Badge, Stepper, Timeline, and 50+ more.

WCAG 2.1 AA from day one

Skip links, ARIA, keyboard navigation, focus rings, and color contrast — built in, not bolted on.

4 frameworks supported

React (primary), Angular, Flutter, Web Components — specify in your BRD and the prompt adapts.

Hindi + English ready

i18n structure with next-intl / react-i18next. No hardcoded strings. Add languages without restructuring.

Dark mode via tokens

UX4G CSS custom properties handle light/dark automatically. No extra Tailwind classes needed.

UX4G Accessibility Tool
Dictionary
UX4G Accessibility Tool
Dictionary