/website:cross-page-design-consistency-auditfrom website
Use when auditing a multi-page or multilingual site for competing design systems, ad-hoc interior templates, translation drift, and cross-route content artefacts; use visual-qa for baseline screenshot regression.
Ships in website. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Acknowledgement: Shared by Peter Bamuhigire, techguypeter.com, +256 784 464178.
Detect system-level inconsistency across routes and locales without treating one polished page as representative.
design-quality-score for intrinsic single-template scoring or visual-qa for baseline drift.| Artefact | Source or provider | Required? | Purpose | If absent |
|---|---|---|---|---|
| Rendered representative routes, source templates, token and component definitions, locale content, and route inventory | Build, repository, and design decisions | yes | Compare implementation systems | If rendering is absent, perform only a qualified source review and stop a visual pass |
| Artefact | Consumer | Acceptance condition |
|---|---|---|
| Cross-page consistency report | Design-system, page-builder, and release owner | Every finding names affected routes, shared cause, evidence, correction owner, and retest condition |
| Evidence | Consumer | Acceptance condition |
|---|---|---|
| Route comparison matrix, renders, source references, and content-artifact scan | Release owner | Covers every template family and selected locale with pass/fail/not assessed status |
Read, search, rendering, and source inspection are required for full assessment. Default to read-only. Refactoring, baseline changes, translation edits, and production mutation require explicit remediation authority.
If rendering, fonts, source, locale data, or route access is unavailable, return the narrowest qualified comparison, mark those checks not assessed, and never infer a visual pass.
| Choice | Action | Failure or risk avoided |
|---|---|---|
| Same content role uses unrelated components across routes | Promote one shared pattern and retest | Two design systems |
| Locale changes structure rather than data without a documented need | Restore shared markup | Translation drift |
not assessed and qualify the verdict.If English and French service routes duplicate markup and only French loses the CTA component, cite both source paths and renders, then restore shared markup with locale data before retesting.
design-quality-score.A real institutional site scored 67/100 not because any one page was bad, but because it ran two design languages at once:
global.css classes: section labels, section
titles, feature cards, authored CTA, custom shadow tokens, a distinctive serif display) — an
authored, anti-slop page.The homepage alone scored ~88; the interior pages ~52. The gap — not any single page — is what drags a site down. Discerning clients read the inconsistency as "no system."
The homepage was a shared component driven by a per-language content file
(HomePage.astro + homeContent.ts). The interior pages duplicated full markup in every
en/, fr/, sw/ file. That single decision caused three separate defects:
"banana flour, banana flour" and "Tooke Tooke" across many files at once, including into
JSON-LD keywords (keyword stuffing).Fix the architecture and the other problems stop recurring.
src/content/<page>Content.ts ← typed content, Record<Language, …>, ALL languages
src/components/<Page>Page.astro ← ONE markup source using the shared class layer
src/pages/<lang>/<page>.astro ← thin: import BaseLayout + <Page>Page + SEO from content
Structural things that are the same in every language (SVG icon paths, image imports, grid shape) live in the component, never in content. Translatable strings live in content. This makes "two design systems" structurally impossible and makes a find-replace touch one content file, not nine page files.
Don't invent per-page styles. Lift the homepage's voice into reusable classes in global.css
and route every page through them. The BIRDC set (adapt names per project):
PageHero.astro (left-weighted, photographic) — not a centered
eyebrow→title→subtitle stack repeated per page..section-label / .section-label-light, .section-title, .body-copy,
.body-copy-sm, .eyebrow..feature-card, .product-card, .info-card. Highlight boxes: .highlight-panel..icon-badge / .icon-badge-gold holding inline SVG (heroicons-outline).cta-shell + .cta-panel with .button-primary / .button-secondary..link-arrow / .link-arrow-light. Lists: .check-item with a tick SVG.Run these from the site root. Each hit is a finding to fix, not necessarily a failure — judge in context, but on a premium site the target is zero.
| Tell | Detector | Fix |
|---|---|---|
| Off-brand neutrals | rg "text-gray-[0-9]" | Use the warm brand neutral ramp (text-neutral-*) or .body-copy*. |
| Emoji as iconography | rg "[\x{1F300}-\x{1FAFF}\x{2600}-\x{27BF}]" src | Inline SVG in an .icon-badge. Emoji reads as unconsidered for institutional UI. |
| Generic gradient CTA band | rg "bg-gradient-to-r from-primary-800 via-primary-900" | Replace with the authored cta-shell + .cta-panel. |
| Glassmorphism | rg "backdrop-blur-(xl|2xl|3xl)" | Prefer a solid, opaque authored panel; it reads stronger and stays legible over photos. Glassmorphism is a listed convergence tell. |
| Banned easing | rg "cubic-bezier\(0\.[0-9]+, 1\.[0-9]" (overshoot/back/elastic) | Use exponential ease-out (--transition-smooth). No bounce on institutional UI. |
| Over-wide eyebrow tracking | rg "tracking-\[0\.2" | Short uppercase labels ≈ 0.15–0.18em, not 0.22–0.24em. |
| Centered generic hero | rg "text-center" src/pages in a hero block | Use the shared editorial PageHero. |
# Duplicate-word artifacts from a botched find-replace (tune the words to the project):
rg -n "(\b[\w-]+\b) \1" src # naive "word word" repeats
rg -n "Tooke Tooke|banana flour, banana flour" # project-specific example
# Translation drift: EN is canonical. After de-slopping EN, diff intent against FR/SW.
# If pages are duplicated per language (the anti-pattern), FR/SW will lag — extract to
# content.ts and retranslate from the CURRENT EN, matching its restrained tone.
Also scan JSON-LD keywords/description for the same duplications — find-replace hits
structured data too, and duplicated keywords read as stuffing.
pages/<lang>/<x>.astro that
contains substantial markup instead of importing a shared component — that is the
duplication anti-pattern.design-quality-score). A gap > 1.5 points is the headline finding.global.css component classes +
shared hero/CTA components.visual-qa), then re-score every primary template ≥ 8/10.Presentation-layer rules (banned fonts, glassmorphism-as-slop, easing, colour, type scale)
trace to the cross-cutting design engine: chwezi-design-engine (resolved through the engine-routing table) — start at its
README.md and doctrine/design-doctrine.md. This skill is the site-wide consistency lens on
top of that doctrine; design-quality-score is the per-template lens. Run all three together.
What SKILL.md sets; muted values are Claude Code's defaults
62 skills in this plugin
/accessibility-auditUse when auditing rendered website conformance to WCAG 2.2 AA with automated, keyboard, screen-reader, zoom, contrast, and content checks; use visual-qa for screenshot and hierarchy defects./africa-excellenceUse when a website must work credibly in African markets across constrained bandwidth, mobile-first use, mobile money, USSD-aware journeys, local languages, trust, and cultural context; use deploy for release execution./agency-client-retentionUse when designing post-launch retainers, review cadence, expansion offers, churn controls, recurring-revenue capacity, or client reporting. Use `monthly-report` for one evidence-backed report and `customer-service-website-ops` for incident handling.Other plugins' skills for the same job
npx claudepluginhub peterbamuhigire/astro-website-design-skills --plugin website