db-ux-design-system.github.io
Hosting our central public overview page
Install / Use
npx skills add db-ux-design-system/db-ux-design-system.github.ioInstalls into whichever agent you are using.
Amazon Q Rules
Amazon Q Developer rules
Quality Score
Category
Development & EngineeringSupported Platforms
Skill content
View source on GitHub--- START: DB UX Amazon Q Instructions – do not edit below ---
NOTE: Always use "DB UX" components and variables as project's conventions
@db-ux/core-components
Best Practise / Common AI mistakes
- always read this file if you use Components:
node_modules/@db-ux/core-components/agent/Best-Practise_Common-AI-Mistakes.md
@db-ux/core-foundations
CSS
- If you use CSS, follow these rules:
- Always reference the file
node_modules/@db-ux/core-foundations/agent/css/Variables.mdfor variables like sizing, spacing, elevation, border, or container-size. This file contains the authoritative list of available variables. - Use the examples provided in
Variables.mdto ensure correct usage like:padding: var(--db-spacing-fixed-md);height: var(--db-sizing-md);width: var(--db-container-xs);color: var(--db-adaptive-on-bg-basic-emphasis-90-default);background-color: var(--db-adaptive-bg-basic-level-2-default);font: var(--db-type-body-sm);
- Always reference the file
SCSS
- If you use SCSS, follow these rules:
- Always reference the file
node_modules/@db-ux/core-foundations/agent/scss/Variables.mdfor variables like sizing, spacing, elevation, border, or container-size. This file contains the authoritative list of available variables. - Use the examples provided in
Variables.mdto ensure correct usage. - Always use
@usefor imports:- Variables:
@use "@db-ux/core-foundations/build/styles/variables"; - Colors:
@use "@db-ux/core-foundations/build/styles/colors"; - Fonts:
@use "@db-ux/core-foundations/build/styles/fonts"; - Never use
as *for the@use, use it like this:padding: variables.$db-spacing-fixed-md;height: variables.$db-sizing-md;width: variables.$db-container-xs;color: colors.$db-adaptive-on-bg-basic-emphasis-90-default;background-color: colors.$db-adaptive-bg-basic-level-2-default;font: fonts.$db-type-body-sm;
- Variables:
- Always reference the file
Tailwind
- If you use Tailwind, follow these rules:
- Always reference the file
node_modules/@db-ux/core-foundations/agent/tailwind/Variables.mdfor variables like sizing, spacing, elevation, border, or container-size. This file contains the authoritative list of available variables. - Use the examples provided in
Variables.mdto ensure correct usage like:- padding:
p-fix-md - height:
h-siz-md - width:
w-container-xs - color:
text-adaptive-on-bg-basic-emphasis-90-default - background-color:
bg-adaptive-bg-basic-level-2-default - font:
text-body-sm
- padding:
- Always stick to the variables. Don't use values like
p-4orm-[16px]; usep-fix-xsorm-fix-mdinstead.
- Always reference the file
Figma MCP
- If you use Figma MCP always generate code with project's conventions, such as using @db-ux/core-components and @db-ux/core-foundations.
- If a code snippet from Figma MCP has a font-family with "DB Neo Screen Head" use HTML headlines (
<h1>,<h2>,<h3>,<h4>,<h5>,<h6>HTML tags). - If the headline has a
font-weight: 300;usedata-variant="light"additionally. - If a code snippet has a Figma
Mode, add it asdata-xxx, wherexxxis the mode in lower-case.
Tailwind
If you use tailwind follow those rules as well:
- Don't use values like
p-4orm-[16px]; usep-fix-xsorm-fix-mdinstead. - Never use something like
font-['DB_Neo_Screen_Head']andleading-[48px]instead usetext-head-xxclass, where-xxcan be a t-shirt size from3xsto3xl; If it has afont-wight:300;usetext-head-light-xxinstead.
@db-ux/react-core-components
- Use "@db-ux/react-core-components" as import for components:
- use for
DBDrawerorDrawerthe file node_modules/@db-ux/react-core-components/agent/Drawer.md - use for
DBTooltiporTooltipthe file node_modules/@db-ux/react-core-components/agent/Tooltip.md - use for
DBTextareaorTextareathe file node_modules/@db-ux/react-core-components/agent/Textarea.md - use for
DBTagorTagthe file node_modules/@db-ux/react-core-components/agent/Tag.md - use for
DBTabsorTabsthe file node_modules/@db-ux/react-core-components/agent/Tabs.md - use for
DBTabItemorTabItemthe file node_modules/@db-ux/react-core-components/agent/TabItem.md - use for
DBSwitchorSwitchthe file node_modules/@db-ux/react-core-components/agent/Switch.md - use for
DBStackorStackthe file node_modules/@db-ux/react-core-components/agent/Stack.md - use for
DBSelectorSelectthe file node_modules/@db-ux/react-core-components/agent/Select.md - use for
DBSectionorSectionthe file node_modules/@db-ux/react-core-components/agent/Section.md - use for
DBRadioorRadiothe file node_modules/@db-ux/react-core-components/agent/Radio.md - use for
DBPopoverorPopoverthe file node_modules/@db-ux/react-core-components/agent/Popover.md - use for
DBPageorPagethe file node_modules/@db-ux/react-core-components/agent/Page.md - use for
DBNotificationorNotificationthe file node_modules/@db-ux/react-core-components/agent/Notification.md - use for
DBNavigationItemorNavigationItemthe file node_modules/@db-ux/react-core-components/agent/NavigationItem.md - use for
DBNavigationorNavigationthe file node_modules/@db-ux/react-core-components/agent/Navigation.md - use for
DBLinkorLinkthe file node_modules/@db-ux/react-core-components/agent/Link.md - use for
DBInputorInputthe file node_modules/@db-ux/react-core-components/agent/Input.md - use for
DBInfotextorInfotextthe file node_modules/@db-ux/react-core-components/agent/Infotext.md - use for
DBIconorIconthe file node_modules/@db-ux/react-core-components/agent/Icon.md - use for
DBHeaderorHeaderthe file node_modules/@db-ux/react-core-components/agent/Header.md - use for
DBDividerorDividerthe file node_modules/@db-ux/react-core-components/agent/Divider.md - use for
DBCustomSelectorCustomSelectthe file node_modules/@db-ux/react-core-components/agent/CustomSelect.md - use for
DBCheckboxorCheckboxthe file node_modules/@db-ux/react-core-components/agent/Checkbox.md - use for
DBCardorCardthe file node_modules/@db-ux/react-core-components/agent/Card.md - use for
DBButtonorButtonthe file node_modules/@db-ux/react-core-components/agent/Button.md - use for
DBBrandorBrandthe file node_modules/@db-ux/react-core-components/agent/Brand.md - use for
DBBadgeorBadgethe file node_modules/@db-ux/react-core-components/agent/Badge.md - use for
DBAccordionItemorAccordionItemthe file node_modules/@db-ux/react-core-components/agent/AccordionItem.md - use for
DBAccordionorAccordionthe file node_modules/@db-ux/react-core-components/agent/Accordion.md
- use for
--- END: DB UX Amazon Q Instructions – do not edit above ---
Related Skills
Agent-Reach
84.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
career-ops
72.4kOpen-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)
ai-job-search
43.6kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
41.6kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
Security Score
Audited on Invalid Date
