AGENT SKILL

brand-qa

Check a built page, screenshot, component, or branch diff against an imprint's brand QA checklist (qa.md), its tokens (no off-token colour, font, or spacing values), WCAG 2.1 AA, and the anti-patterns in its brand docs, and report a pass/fail table with each fix routed to the owning role; seeds qa.md from the template when an imprint has none. Trigger on "/brand-qa", "does this look Valesor", "brand check the homepage", "QA the project row against the kit", "is this on-brand before I open the PR". Requires the visual-designer or implementation role. Not for reviewing a target image (brand-audit), generated art candidates (art-slot), general code review (pre-pr), or changing the brand rules themselves (visual-designer, directly).

License 许可
Apache-2.0
最近更新
2026-10-28
Stars
★ 0
Forks
0

01 前言 Front Matter

name
brand-qa
description
Check a built page, screenshot, component, or branch diff against an imprint's brand QA checklist (qa.md), its tokens (no off-token colour, font, or spacing values), WCAG 2.1 AA, and the anti-patterns in its brand docs, and report a pass/fail table with each fix routed to the owning role; seeds qa.md from the template when an imprint has none. Trigger on "/brand-qa", "does this look Valesor", "brand check the homepage", "QA the project row against the kit", "is this on-brand before I open the PR". Requires the visual-designer or implementation role. Not for reviewing a target image (brand-audit), generated art candidates (art-slot), general code review (pre-pr), or changing the brand rules themselves (visual-designer, directly).
allowed-tools
Bash(.claude/bin/role:*) Bash(git diff:*) Bash(git fetch:*) Bash(git merge-base:*) Bash(git log:*) Bash(make:*)
argument-hint
<slug> [<url | path | screenshot> | diff | seed]

02 资源文件 2

03 SKILL.md 正文

Brand QA

Request: $ARGUMENTS

Preflight

  1. Run .claude/bin/role show ${CLAUDE_SESSION_ID}. It must print visual-designer or implementation. Otherwise stop and tell the owner to run /role visual-designer or /role implementation.
  2. Resolve the slug (brands/<slug>/). Read qa.md, brand/foundation.md, brand/visual-language.md, brand/voice.md, tokens/tokens.json, and the component specs the target uses.
  3. If qa.md doesn't exist: as visual-designer, seed it (below) and stop. As implementation, stop and ask for it with story comment <ID> --to visual-designer. Never QA against rules nobody approved.

Seed (seed, visual-designer only)

Fill references/qa-template.md from the imprint's brand docs and its Notion direction page's checklist. Every item must be observable on a page. Mark items the docs don't settle [PROPOSED P<n>], with one PR checkbox each (the visual-designer role's Proposals section). It ships in a design/ PR for the owner's review.

Check

Decide what you're checking: a running page (local make preview or a preview deploy URL), a screenshot, a component, or diff (changes since git merge-base origin/main HEAD under brands/ and sites/).

  1. Look at it. Render the page at desktop and phone widths, in every theme the imprint has, and with JavaScript off. Never judge a page from its source alone.
  2. Checklist: each qa.md item, pass or fail, with the evidence (a region of the screenshot, a selector, a line). An item still [PROPOSED P<n>] binds only if its box was checked on the merged PR that added it. Otherwise report it as undecided, not as a fail.
  3. Tokens: search the diff or built CSS for literal colours, font families, and spacing values that aren't tokens. Each one is a defect, unless it's in tokens/ itself.
  4. Accessibility: WCAG 2.1 AA contrast for every text/background pair used (from the tokens), visible focus, target size, real headings and landmarks, prefers-reduced-motion.
  5. Anti-patterns: each item in the foundation's "not" list (e.g. gradients, shadows, rounded card UI, marketing CTAs). One hit fails.
  6. Copy: CTA wording and voice against brand/voice.md.

Report

| # | Check | Result | Evidence | Fix | Owner |
|---|---|---|---|---|---|
| 1 | Palette is ink, paper, one accent | ✗ | footer link uses #3366CC | use --color-accent | implementation |

Owners: implementation for code and page fixes, visual-designer for a rule that's missing or wrong. Rules that need the owner are marked as such. Don't fix another role's files. As implementation, fix your own fails before the PR, and send rule gaps with story comment <ID> --to visual-designer. As visual-designer, report fails on the story with story comment <ID> --to implementation and fix your own docs.

When the check is for a story, record it with story comment <ID> --record "Brand QA" --body-file <report>.

Output

The table, a one-line verdict (pass, or the count of fails by owner), and one next action.

04 同仓库更多 Skills

valesordev
valesordev/automate.valesordev.com

up-skill

Upstream skill, for when the dependency's job is asked for. Not for local work.

★ 0
valesordev
valesordev/automate.valesordev.com

do-thing

Do the thing when asked to do the thing. Not for other things.

★ 0
valesordev
valesordev/automate.valesordev.com

sre-start-sprint

Work the active sprint as SRE, with stories as GitHub issues. Observability review of the sprint's drafts first (architecture's contract review waits on it), then instrumentation verification for stories at review, then SRE's own backlog. Run once PM has activated the sprint; it also resumes a sprint already under way.

★ 0
valesordev
valesordev/automate.valesordev.com

sprint-run

Plan the active sprint's role lanes and, once the owner confirms, start them in parallel. Reads the board, shows which stories and queues each role the repo runs as a lane (implementation, architecture, SRE, PM, and where the charters say so visual-designer and product) can pick up now and what everything else is waiting on, then runs one isolated `claude -p` session per lane (own worktree, role set, hooks on) via `.claude/bin/coordinator`, and reports from live state. Trigger on "run the sprint", "/sprint-run", "start the lanes", "what can the agents pick up", "kick off implementation and SRE". Not for working one story yourself (impl-start-sprint), activating or closing a sprint (pm-start-sprint, pm-close-sprint), or merging.

★ 0
valesordev
valesordev/automate.valesordev.com

role

Set this session's role (e.g. pm, product, architecture, sre, implementation, visual-designer, or none) and load its charter, then start an optional task given after the role; or show the current role when run with no argument, or the repo's role catalog with `help`. The owner runs it at session start. Never invoke it on your own or to change roles mid-task.

★ 0
valesordev
valesordev/automate.valesordev.com

release-review

Review a release's readiness across every delivery planner's board and repo (each feature's success signal, the milestones and stories delivering it, blockers and who owns them) and recommend go, no-go, or cut, written to docs/product/reviews/ (one file per review). Trigger on "/release-review", "where are we on R1", "are we ready to ship", "what's blocking the release", "go/no-go", and when a planner closes the last milestone a release names. Requires the product role. Not for sprint or cycle status (project-sync, producer-close-cycle), changing release scope (release-plan), or shipping or announcing anything (the owner).

★ 0