Skip to contentPorsche Design System
You are currently viewing an earlier release of the Porsche Design System.Switch to the latest Porsche Design System documentation.
SearchGitHub repository of Porsche Design SystemOpen settings sidebar
Installation Table of Contents The instructions on this page use the Knowledge Skill. Select your framework to adapt the package name, skill name and commands below. 1. Install a Porsche Design System Package Install the package for your framework: Vanilla JS Getting Started guide 2. Link the Skill Since AI integrations discover skills in dedicated directories rather than node_modules, the bundled skill has to be linked into the skills directory your AI coding tool reads. Pick one of the methods below. Each supported Porsche Design System npm package includes the pds-skill binary, which creates the project-local symlink for you. Run it from the project or workspace where the package is installed:
npx pds-skill --package @porsche-design-system/components-js --location {.agents|.claude|.github}/skills
--package selects the Porsche Design System npm package installed in your project. --location sets the integration's parent skills directory. The binary creates the skill folders inside it. --skill optionally installs only the named skill and can be repeated. Omit it to install all bundled skills. For --location, use the directory your AI coding tool reads: .agents/skills is the Agent Skills standard and is also picked up by Codex and GitHub Copilot, .claude/skills is used by Claude Code, and .github/skills by GitHub Copilot. If your team uses several agents, link the skill into each of the directories they read.
npx pds-skill --package @porsche-design-system/components-js --location .agents/skills # Agent Skills standard, Codex, GitHub Copilot
npx pds-skill --package @porsche-design-system/components-js --location .claude/skills # Claude Code
npx pds-skill --package @porsche-design-system/components-js --location .github/skills # GitHub Copilot
To link a single skill only, pass its directory name:
npx pds-skill --package @porsche-design-system/components-js --location .agents/skills --skill pds-knowledge-js
3. Verify the Skill Reload your AI coding agent or start a new agent session, then confirm that pds-knowledge-js is available: Claude Code: Type / and look for the skill. GitHub Copilot CLI: Run /skills reload, then /skills list. GitHub Copilot in VS Code: Type /skills in the chat input to open the Configure Skills menu. Codex: Run /skills or type $ and look for the skill. Updating Skills are versioned together with the Porsche Design System package that contains them. Updating the package to a newer version also updates the linked skills, so no additional step is needed as long as the symlink or configured location keeps pointing at the installed package. Re-run the installation only if you remove the link, switch to a different Porsche Design System package or want to add a skill that was not linked before.
Global settingsColor SchemeAll color tokens use the light-dark() CSS function. Set the theme via the CSS color-scheme property: light for light mode, dark for dark mode, or light dark to follow the user's system preference.LightDarkLight DarkDirectionThe dir global attribute in HTML changes the direction of text and other content within an element. It's most often used on the <html> tag to set the entire page's direction, which is crucial for supporting languages that are written from right to left (RTL), such as Arabic and Hebrew. For example, using <html dir="rtl"> makes the entire page display from right to left, adjusting the layout and text flow accordingly.LTR (left-to-right)RTL (right-to-left)Text ZoomTo ensure accessibility and comply with WCAG 2.2 AA standards, it is mandatory for web content to support text resizing up to at least 200% without loss of content or functionality. Using relative units like rem is a best practice for achieving this, as they allow the text to scale uniformly based on the user's browser settings.100%130%150%200%