feat(aidd-ui): give the UI contract a brand section and agnostic accessibility and adaptation baselines

Abierto
#1,120 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
markdown, typescript

Línea de trabajo

Start with plugins/aidd-ui/skills/01-system/assets/system-contract.md, 04-accessibility/references/fragments.md, and 05-adapt/references/fragments.md; read 01-system/references/authority.md for existing ownership guidance. Define the brand ownership decision and technology-agnostic accessibility and adaptation baselines, then update the template and skills so their outputs reflect those requirements. Done means all acceptance criteria pass, including the strict plugin validation and Markdown link check.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Problem

The UI system contract template in PR #708 (plugins/aidd-ui/skills/01-system/assets/system-contract.md) covers foundations (color, type, spacing, shape, depth, motion), surfaces, adaptation, accessibility, assets and deprecations. It has no place for brand identity: logo usage, voice and tone, and the rules that tell a model what the product must sound and look like beyond its tokens. A model generating a screen from the contract can follow every token and still ship an off-brand result.

The two provider skills have the same gap. 04-accessibility and 05-adapt define the shape of their outputs (references/fragments.md: provider, target, scope, evidence, acceptance), but state no baseline to evaluate against. The skill never says which accessibility standard it measures, nor which adaptation conventions it assumes (mobile-first, relative units, breakpoint rules, touch input without hover). Each project would have to reinvent them, and two projects will not get the same verdict on the same screen.

This was raised during a community lab on the plugin: brand is missing from the design contract, and the accessibility and adaptation skills should carry technology-agnostic good practice.

Scope
  • Add a brand section to the UI system contract template: logo usage, voice and tone, and where the canonical brand sources live. Optional, removed when empty like the other sections.
  • Decide and document who owns brand: aidd-ui through the contract, or project memory through aidd-context. aidd-ui treats memory as read-only, so the default is the contract; state the reason if memory wins.
  • In 04-accessibility, name the reference standard the skill evaluates against (a recognised one, for example WCAG 2.2 level AA) and the minimum requirement families it checks.
  • In 05-adapt, state the technology-agnostic baseline: mobile-first, relative units over fixed pixels, breakpoint and layout-primitive conventions, input modality (no hover on touch), content pressure.
  • Keep both skills free of technology-specific rules (no framework, CSS or toolkit names).
Acceptance criteria
  • The contract template has a brand section, and the skill that fills it is named.
  • The ownership decision for brand (contract vs project memory) is written in the plugin, with its reason.
  • 04-accessibility states the standard and level it measures, and a finding cites it.
  • 05-adapt states its baseline conventions, and a requirement that follows the baseline reports no system impact.
  • Neither skill mentions a specific framework, library or design tool.
  • claude plugin validate plugins/aidd-ui --strict and node scripts/check-markdown-links.js pass.
Prior art in this repo
  • PR #708 (draft): 01-system/assets/system-contract.md has no brand section; 04-accessibility/references/fragments.md and 05-adapt/references/fragments.md define output fields only.
  • 01-system/references/authority.md (PR #708): evidence priority between contract, code, memory and external documents.
  • #192 and #218 to #222 (closed): original plugin scoping and placeholders, no brand or baseline decision.
Out of scope
  • Generating logos or other binary brand assets: the plugin contracts asset roles and does not produce binaries (PR #708, "Known limitations").
  • Visual identity work for the AI-Driven Dev trainers: a separate task, not a framework change.
  • UX methodology (interviews, flows, heuristics): a later increment.
Lenguaje dominante
TypeScript
Estrellas
481
Forks
45
Merge medio
1 d 13 h
PR fusionados (30 d)
91

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ai-driven-dev/framework

Todos los issues de ai-driven-dev/framework

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.