Логотип Frontend

Frontend

Спільнота
notque
frontend

Фронтенд: дизайн інтерфейсу, виразні візуальні стилі, HTML-артефакти, 3D-графіка Three.js.

Add to TypingMind

Огляд

Видавецьnotque
Репозиторійvexjoy-agent
Назва навичкиfrontend
Зірки
443
Форки
50
Файли в пакеті
116
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 116

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: notque. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Frontend у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/notque/vexjoy-agent/tree/main/skills/frontend/frontend
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/notque/vexjoy-agent.git /tmp/vexjoy-agent
mkdir -p .claude/skills
cp -r /tmp/vexjoy-agent/skills/frontend/frontend .claude/skills/frontend
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Frontend в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Frontend, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Frontend не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Frontend Skill

Four modes: Design (UX copy, design systems, critique, accessibility, handoff, research), Distinctive (surface check, then brand-led visual direction for landing and campaign pages), HTML-Artifact (self-contained HTML generation with 8 shapes), and Three.js (3D web apps in imperative, R3F, or WebGPU paradigms).

Load first for any UI work

Before DESIGN, DISTINCTIVE, HTML-ARTIFACT, or a THREEJS UI overlay (HUD, menu, panel), read skills/shared-patterns/ui-design-judgment.md. Take starting values from ui-design-recipes.md and before/after fixes from ui-design-examples.md in the same folder. The mode references below add depth. Where they conflict with the core doc, the core doc wins. Every default can be overridden; state the reason.

Mode Selection

Classify the request into one mode before loading references.

ModeSignalsWhat to Load
DESIGNUX copy, design system, design critique, accessibility, WCAG, design handoff, user researchDesign-refs per sub-mode table below
DISTINCTIVEFrontend design, typography, visual identity, anti-cliche, text animation, card effectsreferences/distinctive-frontend-design-refs/ per step
HTML-ARTIFACTHTML artifact, make HTML, as HTML, rich visualization, interactive document, pptx, deckreferences/html-artifact-refs/ per shape
THREEJSThree.js, 3D scene, WebGL, WebGPU, react three fiber, R3F, GLTFreferences/threejs-builder-refs/ per paradigm

DESIGN Mode

Design methodology: UX copy, design systems, critique, accessibility review, developer handoff, user research synthesis. Always load references/design-refs/llm-design-failure-modes.md alongside mode-specific reference.

Sub-mode Detection

Sub-modeSignalsLoad
UX-COPYwrite copy, button text, error message, empty state, tooltipreferences/design-refs/ux-copy.md
DESIGN-SYSTEMdesign tokens, component library, audit components, themereferences/design-refs/design-systems.md
CRITIQUEreview design, critique mockup, design feedback, usabilityreferences/design-refs/design-critique.md
ACCESSIBILITYWCAG, accessibility audit, color contrast, keyboard nav, a11yreferences/design-refs/accessibility-review.md
HANDOFFdeveloper handoff, spec sheet, implementation spec, responsivereferences/design-refs/design-handoff.md
RESEARCHsynthesize research, interview analysis, usability findings(inline below)

UX-COPY

  1. Gather context: component type, user emotional state, brand voice, constraints, existing terminology.
  2. Generate copy: primary recommendation with rationale, 2-3 alternatives, localization notes.
  3. Validate: terminology consistency, action labels match outcomes, error messages follow What/Why/Fix, character limits met.

Gate: Copy for all requested components. Each piece has rationale. Alternatives differentiated.

DESIGN-SYSTEM

Three operations: Audit (naming consistency, token coverage, hardcoded values, state completeness), Document (props/variants/states/a11y/usage spec), Extend (new component using existing tokens). Use design token architecture: color, typography, spacing, borders, shadows, motion.

Validate: consistent naming, all values reference tokens, all states defined (default/hover/active/disabled/loading/error), ARIA documented.

CRITIQUE

Render or open the design first, then run the core doc's section 10 checks (three widths, squint, grayscale, edge content) and rank findings in its fix order: content and job, hierarchy, spacing, type, color, polish. Write each finding as element, problem, effect, fix. Apply Nielsen heuristics only where they explain a real finding. Match depth to stage: exploration (concept direction), refinement (hierarchy, patterns), final (contrast, spacing, a11y).

ACCESSIBILITY

Audit by WCAG principle: Perceivable (alt text 1.1.1, contrast 4.5:1 text / 3:1 UI), Operable (keyboard 2.1.1, focus order 2.4.3, touch 44x44px), Understandable (predictable 3.2.1, error ID 3.3.1), Robust (name/role/value 4.1.2). Report: severity matrix, each finding with WCAG criterion + remediation, contrast table, keyboard map.

HANDOFF

Gather: design source, tech stack, tokens, breakpoints. Generate spec covering: layout, tokens, components, states, interactions, content limits, edge cases (empty/loading/error/overflow/i18n), accessibility, animation. Validate: all states documented, token references used, edge cases present.

RESEARCH

Accept inputs (transcripts, surveys, support tickets). Extract observations and quotes -- behavioral data outweighs stated preferences. Synthesize via affinity mapping and theme development. Priority matrix (impact x frequency). Output: executive summary, themes with evidence, insights-to-opportunities table, user segments, recommendations.

Output Conventions

Markdown with tables. Severity: Critical (blocks users), Major (degrades), Minor (polish). Every recommendation names element + issue + concrete fix. Include what works alongside what needs improvement.


DISTINCTIVE Mode

Brand-led visual direction for pages people visit once: landing, launch, portfolio, event. Output: tokens, base styles, and a rendered page.

Step 1: Surface check

Name the surface before any styling (core doc section 1):

SurfaceExamplesDo this
Tooldashboard, admin, editor, settings, internal appGet real content (Step 2 item 1), then use the tool recipe in ui-design-recipes.md: one neutral sans (system UI font, Inter, Geist), tinted grays plus one accent, 4/8 spacing scale, borders over shadows, motion only for state changes. Build tokens (Step 6 item 1), then Step 7.
Brand pagelanding, launch, portfolio, event, campaignContinue with Step 2.
Mixed (marketing site with an app inside)pricing page plus signed-in appBrand rules for public pages, tool rules for the app.

Litmus: on a tool, a user who reads only headings, labels, and numbers understands the screen. On a brand page, a user who sees the first viewport for 3 seconds can name the product and its promise.

Step 2: Brief

  1. Get real content: product name, headline, main action, real section copy. Mark missing items as placeholders (references/distinctive-frontend-design-refs/honest-placeholders.md).
  2. Pick one page structure from references/distinctive-frontend-design-refs/macrostructure-catalog.md by heading anchor. Load only that entry.
  3. Write three sentences: visual thesis (mood), content plan (sections in order, one job each), interaction thesis (the few motions that matter).
  4. Write two candidate directions from the brand and audience, pick one, and say why. Use color-inspirations.json and font-catalog.json in references/distinctive-frontend-design-refs/ when the brand gives no lead. Do not default to serif display, cream background, and grain; that is the overcorrection tell. Direction examples and per-step values: references/distinctive-frontend-design-refs/phase-details.md.

Step 3: Type

Default: one display face plus one text face, both from font-catalog.json and matched to the direction. A neutral sans is a valid text face. Use the core doc's scale and line heights (section 4); body 16 px, headings 1.1-1.25 line height. Avoid reflexive picks: a face chosen because it is popular (Inter, Space Grotesk) or because it looks "not generic" (editorial serif) needs a brand reason on a brand page.

Step 4: Color

Start neutral: background, surface, border, and text grays tinted toward the brand hue. Add one brand accent for the main action, links, and selection; status colors are separate. A rough 60/30/10 split (neutral, secondary, accent) is a starting point, not a target. Build scales with references/distinctive-frontend-design-refs/oklch-color-harmony.md. Check contrast on real pairs: 4.5:1 body text, 3:1 large text and UI boundaries. Build dark mode from its own values (core doc section 5).

Step 5: Motion and background

  • Motion: 2-3 intentional motions per page is a good budget (entrance, scroll, interaction). Use 150-250 ms ease-out for UI, up to 600 ms for a one-time hero entrance. Respect prefers-reduced-motion. Patterns: references/distinctive-frontend-design-refs/animation-patterns.md.
  • Background: a solid surface is a valid default. Add at most one effect (gradient, pattern, texture) from references/distinctive-frontend-design-refs/background-techniques.md when it supports the brand and keeps text contrast.
  • Hero: one composition, the product name at hero scale, one primary action. Full-bleed by default.

Step 6: Build and check

  1. Emit the design stamp comment, CSS custom properties, and base styles (references/distinctive-frontend-design-refs/implementation-examples.md).
  2. Run the advisory check: python3 ${CLAUDE_SKILL_DIR}/scripts-distinctive-frontend-design/validate_design.py --fonts "Display,Body" --palette palette.json --project NAME --macrostructure macro:ID --emitted-css generated.html. Fix warnings that apply; for the rest, state why the default does not fit. Add --strict to exit 1 below a score of 80.

Step 7: Look, then fix

Run the core doc's section 10 loop on the rendered page. This is the final step for every surface, including tools.


HTML-ARTIFACT Mode

Generate single self-contained .html files. All CSS in <style>, all JS in <script>. No CDN links, no frameworks, no external deps. Max 500KB.

Local files only. Write the page to disk and open it in Google Chrome. Do not call the Artifact tool (publish or quickstart), the Claude Docs connector, or ArtifactData unless the user explicitly asks for a Claude Artifact by name. This rule overrides the Artifact tool's guidance to publish pages, reports, boards, and dashboards. For metrics dashboards, use Perses instead of a page.

Phase 0: Check Saved Template

Run: python3 ${CLAUDE_SKILL_DIR}/scripts-html-artifact/fill-template.py --list

If a saved template matches, clone it and fill slots only. Skip to Phase 4 VALIDATE. Do not restyle the template.

Phase 1: Detect Shape

Run: python3 ${CLAUDE_SKILL_DIR}/scripts-html-artifact/detect-shape.py --request "{request}"

ShapeSignalsOutput
specplan, compare, brainstormSide-by-side grids, pro/con, SVG diagrams
code-reviewreview PR, explain diffDiff rendering, severity colors, annotations
prototypeprototype, tune, try optionsSliders, CSS var live update, sandbox
reportreport, summarize, statusTL;DR box, collapsibles, timeline, metrics
editorreorder, triage, edit configDrag-drop, kanban, toggles, export
data-vizvisualize, chart, dashboardSVG charts, canvas, tooltips, filters
diagramdiagram, flowchart, architectureInline SVG, annotated flowcharts
deckslides, presentation, pitchArrow-key nav, 16:9, progress bar

Low confidence falls back to report. Hybrid shapes: primary controls layout, secondary provides embedded components.

Phase 2: Assemble + Load Context

Run: python3 ${CLAUDE_SKILL_DIR}/scripts-html-artifact/assemble-template.py --shape {shape} --title "{title}" --components {components}

Load references/html-artifact-refs/design-system.md. Headings must use Archivo Black (embedded templates/fonts/archivo-black.css, weight 400, font-synthesis: none). The assembler injects it; hand-written artifacts inline that file rather than linking Google Fonts. validate-artifact.py errors without it. For diagram shapes, also load references/html-artifact-refs/shape-diagram-illustration.md and references/html-artifact-refs/diagram-layering.md. Per-shape must-include rules live in agents/html-builder.md.

Phase 3: Generate

Dispatch html-builder agent (see agents/html-builder.md) with pre-assembled template. Vanilla JS only. Semantic HTML. SVG inline.

Phase 4: Validate, then look

  1. Run: python3 ${CLAUDE_SKILL_DIR}/scripts-html-artifact/validate-artifact.py {html_file}. Errors (structure, <title>, external deps, empty body) must be fixed; re-run up to 3 times. CSS slop findings are warnings: fix them or state why they fit this artifact.
  2. Run the core doc's section 10 loop on the rendered file. This is the final check before delivery.

Phase 5: Deliver

Open the file in Google Chrome: open -a "Google Chrome" <file> on macOS, google-chrome <file> on Linux (check $DISPLAY/$SSH_TTY first; skip opening over SSH). Print the absolute file path and a 1-line summary. Do not publish it as a Claude Artifact.

Phase 6-7: Export (optional)

PDF: python3 ${CLAUDE_SKILL_DIR}/scripts-html-artifact/to-pdf.py --input <html> --output <pdf> --json. PPTX (deck shape only): python3 ${CLAUDE_SKILL_DIR}/scripts-html-artifact/pptx-bridge/run-unified.py --input <html> --format pptx --out <pptx> --no-render.


THREEJS Mode

Build Three.js web applications in four phases: Design, Build, Animate, Polish. Three paradigms detected from context.

Phase 1: Design

Detect paradigm first:

SignalParadigmLoad
@react-three/fiber, r3f, drei, useFrameReact Three Fiberreferences/threejs-builder-refs/react-three-fiber.md
WebGPURenderer, TSL, compute shaderWebGPUreferences/threejs-builder-refs/webgpu.md
Standalone HTML, new THREE.Scene(), vanillaImperativereferences/threejs-builder-refs/advanced-topics.md
EventBus, GameState, player controllerGame (alongside paradigm)references/threejs-builder-refs/game-architecture.md + game-patterns.md
GLTF/GLB, .glb, skeletal rigsGLTF (alongside paradigm)references/threejs-builder-refs/gltf-loading.md

If ambiguous, ask -- imperative and R3F patterns conflict. Identify core visual element, select components per references/threejs-builder-refs/build-recipes.md, document visual style.

Phase 2: Build

Follow paradigm-specific patterns from loaded reference. Imperative defaults: single HTML, CONFIG object, three-point lighting, renderer.setAnimationLoop(). See references/threejs-builder-refs/build-recipes.md for boilerplate, scene infrastructure, constraints.

Phase 3: Animate

R3F uses useFrame (never requestAnimationFrame). Imperative uses setAnimationLoop. No geometry/material allocation in animation loop. Wire interaction handlers per scene plan.

Phase 4: Polish

Remove debug helpers. Handle window resize. Verify visible lighting. Run the verification steps in references/threejs-builder-refs/build-recipes.md, then finish with the core doc's section 10 loop on the rendered scene and any UI overlay.


Deep References

Load on demand when the task needs detailed patterns, examples, or specifications:

Design Refs

FileContent
references/design-refs/ux-copy.mdComponent-specific UX copy patterns
references/design-refs/design-systems.mdDesign token architecture, component specs
references/design-refs/design-critique.mdStructured critique method, heuristics
references/design-refs/accessibility-review.mdWCAG criteria, component a11y patterns
references/design-refs/design-handoff.mdSpec categories, artifact templates
references/design-refs/llm-design-failure-modes.mdLLM design failure modes with defenses

Distinctive Frontend Design Refs

FileContent
references/distinctive-frontend-design-refs/font-catalog.jsonCurated fonts by aesthetic category
references/distinctive-frontend-design-refs/color-inspirations.jsonCultural/contextual palette sources
references/distinctive-frontend-design-refs/animation-patterns.mdAnimation choreography with CSS/React
references/distinctive-frontend-design-refs/background-techniques.mdAtmospheric background methods
references/distinctive-frontend-design-refs/implementation-examples.mdCSS tokens, framework templates
references/distinctive-frontend-design-refs/macrostructure-catalog.mdNamed macro:* page structures
references/distinctive-frontend-design-refs/phase-details.mdDirection examples, motion timing, hero, backgrounds, design stamp
references/distinctive-frontend-design-refs/css-audit-patterns.mdGrep commands to audit existing CSS
references/distinctive-frontend-design-refs/performance-budgets.mdRender costs, layout thrashing
references/distinctive-frontend-design-refs/game-ui-polish.mdGame-native UI polish rules
references/distinctive-frontend-design-refs/card-shader-patterns.mdFragment shader GLSL
references/distinctive-frontend-design-refs/shader-integration-react.mdReact 19 WebGL hook + context pool
references/distinctive-frontend-design-refs/balatro-shader-breakdown.mdHolographic foil shader
references/distinctive-frontend-design-refs/roll-text.mdRoll/slot text patterns
references/distinctive-frontend-design-refs/text-animation-patterns.mdReveal, typewriter, crossfade
references/distinctive-frontend-design-refs/oklch-color-harmony.mdOKLCH color harmony
references/distinctive-frontend-design-refs/honest-placeholders.mdPlaceholder content rules

HTML Artifact Refs

FileContent
references/html-artifact-refs/design-system.mdTheme tokens, a11y checklist, SVG rules
references/html-artifact-refs/diagram-layering.mdSVG layer order, dark-theme colors
references/html-artifact-refs/infographic-layouts.md21 layout types, 22 visual styles
references/html-artifact-refs/pdf-export.mdPage-size table, troubleshooting
references/html-artifact-refs/pptx-export.mdLayout types, THEME dict, CLI ref
references/html-artifact-refs/shape-diagram-illustration.mdSVG construction, diagram types

Three.js Refs

FileContent
references/threejs-builder-refs/build-recipes.mdBoilerplate, scene setup, error handling
references/threejs-builder-refs/react-three-fiber.mdR3F patterns, Drei, Zustand
references/threejs-builder-refs/webgpu.mdWebGPURenderer, TSL, compute shaders
references/threejs-builder-refs/advanced-topics.mdGLTF, post-processing, shaders, physics
references/threejs-builder-refs/visual-polish.mdMaterials, lighting, HDR, shadows
references/threejs-builder-refs/gltf-loading.mdCoordinate contract, caching, auto-center
references/threejs-builder-refs/game-patterns.mdAnimation FSM, camera movement, input
references/threejs-builder-refs/game-architecture.mdEventBus, GameState, pre-ship checklist
references/threejs-builder-refs/shader-patterns.mdShaderMaterial, vertex displacement, effects
references/threejs-builder-refs/performance-patterns.mdInstancedMesh, batching, LOD, dispose
references/threejs-builder-refs/advanced-animation.mdAnimationMixer, IK, spring physics, GSAP

Scripts

  • Distinctive design: scripts-distinctive-frontend-design/validate_design.py, scripts-distinctive-frontend-design/css_slop_rules.py
  • HTML artifact: scripts-html-artifact/detect-shape.py, scripts-html-artifact/assemble-template.py, scripts-html-artifact/validate-artifact.py, scripts-html-artifact/fill-template.py, scripts-html-artifact/to-pdf.py, scripts-html-artifact/pptx-bridge/
  • HTML artifact templates: templates/, agents: agents/html-builder.md

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Додаткових файлів: 56.

Поширені запитання

Що робить навичка ШІ Frontend?

Фронтенд: дизайн інтерфейсу, виразні візуальні стилі, HTML-артефакти, 3D-графіка Three.js.

Навіщо використовувати Frontend у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Frontend — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Frontend у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/notque/vexjoy-agent/tree/main/skills/frontend/frontend. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Frontend?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Frontend?

Зі скількома забажаєте. У TypingMind ви можете використовувати Frontend із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Frontend?

Так. На GitHub цю навичку публікує notque за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇