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

Aberta
#1,120 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
55/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
markdown, typescript
Domínio
design, documentation

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.
Linguagem predominante
TypeScript
Estrelas
481
Forks
45
Merge médio
1d 13h
PRs com merge (30d)
91

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de ai-driven-dev/framework

Todas as issues de ai-driven-dev/framework

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.