brand
DraftForge brand/theming review. Flags raw <button> over PrimaryButton/SecondaryButton, raw palette colors over brand/domain tokens, inline styles, missing…
от kettleofketchup★ 16 звёзд на GitHub
Установить brand в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
DraftForge Brand & Theming Review
DraftForge's visual identity is "Neon Cyber Esports" — a violet/indigo primary palette with cyan accents, dark-mode first, Dota-style draft UI. The full visual language is canonical in docs/THEMING-GUIDE.md. This skill is the review entry point that enforces it on every UI change.
Canonical Sources (priority order)
docs/THEMING-GUIDE.md— single source of truth. Palette, brand button system (PrimaryButton/SecondaryButton/ConfirmButton/EditButton),bg-base-*scale, status colors, domain colors (Radiant/Dire, pick/ban, positions, roles), gradient utilities, glow effects, mandatory<UserAvatar>/<EntityBreadcrumb>components, button policy. Read first.docs/theming-guide/ai/references/— AI-targeted review references (hidden from MkDocs nav, linked from the canonical guide's## Referencessection).frontend/app/app.css— token SSOT (CSS variables for palette, oklch values, gradients).frontend/app/components/ui/buttons/styles.ts— exported brand style constants (brandGradient,brandSecondary,brandErrorBg,brandSuccessBg,brandBg,buttonLift, etc.).frontend/app/components/ui/buttons/README.md— folder convention (root for generic buttons,icons/for icon-only,<domain>/for domain-specific).
When To Use
Activate this skill whenever:
- A diff touches
frontend/app/components/,frontend/app/routes/,frontend/app/features/, orfrontend/app/app.css. - Writing or editing a React component, page, dialog, or button anywhere in the frontend.
- A
/reviewpass runs and the diff includes.tsx/.ts/.cssfiles. - Working on UI-adjacent skills (
aesthetic,ui-styling,frontend-dev-guidelines) — those skills delegate to this one for brand specifics.
How To Run a Review
Identify scope. Read
theming-guide/ai/references/scope.md(path:docs/theming-guide/ai/references/scope.md). Confirm the diff lives in an in-scope tree. Out-of-scope diffs (build tooling, generated bindings, e2e selectors, backend Python) are skipped.Walk the checklist. Read
theming-guide/ai/references/review-checklist.md. Every item is a question; emit a finding for every "no". Each item links back to the section ofTHEMING-GUIDE.mdthat explains why.Use the substitution tables. For raw HTML / hand-rolled markup violations, look up the replacement in
theming-guide/ai/references/component-substitutions.md. For inline-style / hardcoded-color violations, look up the fix intheming-guide/ai/references/inline-styles.md.Use grep to find more. Once one violation is found, run the matching
rgrecipe fromtheming-guide/ai/references/grep-recipes.mdto surface every instance — fixes should be batched per anti-pattern, not one-by-one.Grade severity.
block/warn/nitpertheming-guide/ai/references/severity-rubric.md. Anyblockhalts the merge. Format every finding as:brand: <severity> · <file>:<line> — <one-line summary> why: <THEMING-GUIDE.md section or component contract> fix: <concrete code change>
What This Skill Does NOT Do
- Does not replace
aesthetic(design principles) orui-styling(generic shadcn/Tailwind setup) — those are for greenfield design work. This one enforces the brand on existing/new draftforge code. - Does not enforce TypeScript, lint, or test rules — those have their own tooling.
- Does not review Django, Channels, or backend code — frontend only.
- Does not review build tooling (
vite.config.ts,tailwind.config.js).
References (loaded on demand)
All of the below live in docs/theming-guide/ai/references/ (hidden from the MkDocs nav, linked from THEMING-GUIDE.md ## References):
- scope.md — in-scope source trees and special cases.
- component-substitutions.md — raw
<button>→<PrimaryButton>/<SecondaryButton>/<ConfirmButton>/<EditButton>table;<img>→<UserAvatar>; manual breadcrumbs →<EntityBreadcrumb>; bare shadcn<Select>→<BrandSelect>family;<input type="radio">/ per-call-site restyles → shared<RadioGroupItem>; structural<Button>exceptions. - inline-styles.md —
style={{}}, raw violet/slate hex,bg-slate-*instead ofbg-base-*, hardcoded gradients, missingcn(),space-x-*, w-N h-N, button height overrides. - review-checklist.md — single ordered checklist; the spine of a review pass.
- grep-recipes.md — copy-paste
rgrecipes for each anti-pattern. - severity-rubric.md —
block/warn/nitdefinitions and output
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл brand?
DraftForge brand/theming review. Flags raw <button> over PrimaryButton/SecondaryButton, raw palette colors over brand/domain tokens, inline styles, missing UserAvatar/EntityBreadcrumb.
Как установить скилл brand?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл brand запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…