Ideal web app builder

From curiositech/windags-skills · View interactive version

Ideal web app builder is an AI agent skill from the GitHub repository curiositech/windags-skills. Builds, rehabilitates, audits, and hardens premium production web apps from a durable design-system contract. Use for React, Next.js, or Vite apps, including dirty existing website repos and shared header/footer or navigation-system rehabilitation, where token discipline, Radix or Headless UI primit

How to use this skill

Skill file

Ideal Web App Builder

Build real web apps as product systems, not screenshots. Treat design, content,

frontend architecture, accessibility, performance, operations, and verification

as one contract.

Use this skill for shared header/footer and navigation-system rehabilitation,

even when the main page already exists. Load the navigation references for

route hierarchy, mobile menus, product previews, or app-shell decisions.

NOT for

app surface.

normalization.

marketing copy.

Operating Rules

Do not compress a full product into a one-turn promise.

Start from templates/pessimistic-plan.md, then update the plan as the

project changes.

user work, inventory current state, capture screenshots, identify drift, and

present a visual decision review for user approval.

has reviewed the visible plan: before screenshots, proposed direction,

component/token map, route impacts, risks, and execution slices.

session. Leave notes, claim files, and use tuples or background agents when

they make the work faster or safer.

research and adversarial sidecars early: design archive, competitive map,

implementation worker, accessibility/performance reviewer, and visual drift

reviewer.

review, not for unbounded taste or architecture calls. Each subagent gets a

disjoint write set, model/budget ceiling, acceptance gate, and handoff.

search strategy, pricing/content claims, legal pages, or observability setup.

sustainability as product foundations. Do not add them as vague launch

polish after the design is done.

and keep the risk visible.

Core Process

flowchart TD
  A[Request] --> B{Production web app scope?}
  B -->|No| C[Use a narrower skill or direct fix]
  B -->|Yes| D[Open or create on-disk pessimistic plan]
  D --> E{Existing dirty repo?}
  E -->|Yes| F[Rehabilitation intake and screenshots]
  E -->|No| G[Research market, users, references, constraints]
  F --> H[Visual decision review with user]
  G --> H
  H --> I{User approved execution plan?}
  I -->|No| D
  I -->|Yes| J[Write or normalize design-system contract]
  J --> K[Threat, privacy, reliability, release, and governance plan]
  K --> L[Assign bounded execution slices]
  L --> M[Implement vertical product slice]
  M --> N[Storybook and component state matrix]
  N --> O[Content, SEO, legal, visuals, OG images]
  O --> P[Observability, PWA, dashboards, metrics]
  P --> S[Adversarial audit and tests]
  S --> Q{All gates pass?}
  Q -->|No| D
  Q -->|Yes| R[Ship with evidence]

Required Contract

Before large implementation, produce these artifacts in the repo:

content model, legal/compliance context, and launch standard.

chosen design-system family, and rejected alternatives.

radii, elevation, motion, focus, density, breakpoints, and component state

matrix.

page assemblies. Vanilla HTML appears only in base primitives.

content, SEO, observability, PWA, and adversarial review.

model, dependency/supply-chain plan, reliability targets, backup/restore or

data-recovery plan, incident path, and rollback strategy.

pricing/billing truth when relevant, consent model, dark-pattern review,

i18n/localization posture, sustainability posture, and AI-risk register when

the app uses generative or agentic AI.

current architecture, dependency and test health, screenshots, drift map,

preserve/replace decisions, migration sequence, rollback points, and

user-approved visual decision board.

Non-Negotiables

and component/application roles. Components use role tokens, not raw values.

OKLCH values may exist only in isolated token-source files or generated

platform files with provenance.

plan records a measured exception.

base semantic HTML primitives.

branded home link atomic; collapse navigation before labels collide. Give

useful footer routes, help, and legal information priority over giant CTAs.

themed product evidence. A headline or generated illustration alone is not

proof; set a viewport composition and media-performance budget.

active, disabled, loading, error, empty, selected, dark mode, and responsive

states where applicable.

data, compliance, health, finance, education, or public-service surfaces.

fonts and font-optical-sizing: auto when supported; if manual opsz is

used, bind it to type roles and verify at normal and high-DPI screenshots.

causality, or comprehension. Respect reduced motion.

loaders, mutations, and scheduled jobs need explicit tests.

handling, cookies/sessions, CSRF where applicable, dependency risk, secure

headers, CSP feasibility, secrets handling, and abuse paths.

separate essential from optional tracking, make consent reversible, and keep

observability from capturing sensitive data.

online-only behavior, stale data, backups, restore tests, migrations,

rollback, and incident communication.

locale formatting, text expansion, bidirectional text risk, time zones,

currency, units, names, addresses, and culturally localizable imagery.

polling, hydration, and analytics. Prefer durable, measurable reductions over

green claims.

data leakage, excessive agency, overreliance, cost denial of service, and

human escalation.

must compose from primitives, components, and page patterns.

Sentry or equivalent, favicons, and OG images are product scope when the app

needs them, not polish to add later.

Expert Cues

viewport height, safe area, and text wrapping defects remain.

contradictory folklore.

Anti-Patterns

Fake Design System

Novice: Define a few CSS variables after building pages.

Expert: Tokens are the build substrate. Generate components from the contract,

then audit production code for drift.

Screenshot-First UI

Novice: Optimize the first viewport until it looks impressive.

Expert: Verify navigation, states, content fit, mobile, keyboard, loading,

empty, error, and data-dense cases before judging quality.

Decorative Navigation

Novice: Import a fashionable navbar and finish with a full-screen slogan.

Expert: Choose the shell from the route inventory, platform conventions and

measured content fit. Verify orientation, reachability, useful footer groups,

large text, keyboard focus, and real product evidence before adding effects.

Accessibility Theater

Novice: Add ARIA labels after custom controls are already written.

Expert: Start from semantic HTML, Radix, or Headless UI; test keyboard behavior,

focus, names, contrast, reduced motion, and screen-reader expectations.

Content Stubs

Novice: Use lorem ipsum, fake quotes, generic promises, and an empty blog.

Expert: Research editorial angles, write complete pages, cite real sources, and

ship truthful content that would survive expert review.

Optimistic Plan

Novice: Promise a complete premium app in one pass.

Expert: Plan pessimistically, split the work into verifiable slices, and keep

the plan updated until the final gate closes.

References

primitive, Storybook, or component architecture work.

route hierarchy, mobile menus, product showcases, or app-shell decisions.

footer references; includes dated first-party and 21st.dev examples with

adoption limits.

competitive, TypeUI, or content-positioning decisions.

existing website repo, normalizing drift, or proposing a repair sequence.

planning, CI, accessibility, performance, SEO, PWA, or observability gates.

security headers, privacy, AI features, reliability, backup, or incident

planning.

SLOs, release engineering, rollback, feature flags, environments, or runbooks.

content governance, consent UX, support, changelog, admin, or product metrics.

language, inclusive UX, sustainability, low-bandwidth, or low-power decisions.

agents, research agents, adversarial agents, or multi-session planning.

visual, diagram, metadata, favicon, or OG-image work.

design-system and production-readiness violations.

Quality Gates

and visual decision review accepted by the user before large edits.

text/zoom, safe-area, composition, and payload matrix in the navigation

reference. Product previews show real themed workflows and working actions.

privacy-aware replay/tracing policy, and a verified test event.

recorded, with OWASP/NIST/W3C sources versioned when used.

evidence exists for production apps.

locales or low-bandwidth modes are recorded as intentional constraints.

images are implemented where applicable.

complete, and appropriate to the market.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.