• Home
  • Getting started
    • Designing
    • Developing
    • Skills
    • What's new
    • Contribute
    • Terms of use
  • Foundation
  • Components
  • Patterns
  • Writing (SE)
  • Guidelines
  • Brand portal

Search the design system

Getting started

Skills

Give your coding assistant project-specific guidance for building with Svenska Spel UI. The svs-ui skill helps it find the right component documentation, use public imports and compose accessible interfaces with existing components and tokens.

The skill is for projects consuming DS / Nova UI. It reads the installed package and version before giving API advice. It does not upgrade your UI package or require Figma, an MCP server or access to our source repository.

Install

This first version provides project-local installation instructions for Codex CLI. Other assistants are not yet verified. You need an existing React project with the UI package installed and an archive tool supporting .tar.gz files, such as tar on macOS or Linux.

  1. Download svs-ui 0.1.0 from this DS environment.
  2. Open a terminal in your consumer project's root. Create .agents/skills if it does not exist, then extract the downloaded archive there. Replace the archive path below with its actual location.
mkdir -p .agents/skills
tar -xzf /path/to/downloaded/svs-ui-0.1.0.tar.gz -C .agents/skills
  1. Check that .agents/skills/svs-ui/SKILL.md, version.json and the references folder exist. Keep the full folder together; no package script needs to run.
  2. Open Codex CLI in the project. Use /skills or type $ to find svs-ui. If it does not appear, restart Codex and check that the archive was not extracted into an extra nested folder.
  3. Explicitly select the skill for the first request. Confirm that the assistant reads its instructions and the relevant reference files before making changes.

Codex can also select skills when a request matches their description; this is not a guarantee for every prompt. See the Codex skill documentation for discovery and invocation details.

You can include the installed folder in your project's version control so teammates use the same reviewed version. Installation does not grant the assistant additional tools or permissions.

Try it in your project

Start by checking the package and sources:

Use $svs-ui. Identify this application's installed UI package and exact version.
Read the skill and its documentation reference. Find the relevant local package
docs and compare their version with https://www.svenskaspel.design/llms.txt.
Report the sources and any mismatch before proposing API-specific code.

Form with validation

Use $svs-ui to build a profile form with a name field and validation.
Use this project's existing form setup and the installed Field, Input and Button
APIs. Associate labels, help text and errors, preserve entered values on failure,
and verify the invalid and successful paths with keyboard interaction.

Composed view

Use $svs-ui to build a settings overview with Card, Select, Badge and Button.
Use existing themes and semantic tokens. Selected options must display their
labels, and state text must match the actual state. Check keyboard operation,
long Swedish labels and a narrow viewport. Report what you verified.

The installed UI package determines which APIs are available. These prompts describe test scenarios, not version-independent component recipes.

Documentation

The assistant should read your installed package's docs directory and public exports. The shared documentation index links to component Markdown containing Usage + README/API, with the package version used by this DS build. When the project uses another version, its installed package documentation takes priority for imports, props and composition. The online export is not a historical version archive.

For a review environment, give the assistant that environment's full /llms.txt URL explicitly. Confirm that it can retrieve the index and component documents there.

The export includes examples authored in component READMEs; separate Blocks implementations are not included. Image URLs and existing alt text do not explain every visual relationship. Inspect visual examples when the written guidance is insufficient for the task.

Update or remove

The skill version is independent of the UI version. Check the installed version.json against the download version on this page, especially after a UI upgrade or a change to this guidance.

To update, download the current archive, review its instructions and preserve any local changes. Move your existing svs-ui folder outside .agents/skills, then extract the new archive using the installation steps. Replacing the whole folder also removes obsolete references. Restart Codex if needed and repeat the package/version check. Do not keep a backup with the same skill name inside a skill discovery folder.

To remove the skill, remove only .agents/skills/svs-ui. This leaves your UI dependency and application code in place.

Maintenance

The maintained sources are in the DS repository under content/skills/svs-ui. The site build packages those files for download; documentation remains in its original DS Usage and UI package sources.

DS maintains consumer guidance and installation instructions. Changes to component APIs, exports and themes should trigger a review with the Nova UI maintainers. Internal guidance for developing the UI library is maintained separately. Shared rules should point to the same documentation rather than copying API text between skills.

Before publishing an update, verify installation in a clean project, discovery and loading in the documented assistant, the two scenarios above, and version-mismatch behavior. Check download and Markdown access in the deployed environment. A successful build or archive extraction does not by itself verify assistant behavior.

Getting startedDeveloping
Getting startedWhat's new / News

© DesignTech - AB Svenska Spel

What's newTerms of useAccessibility statementCookiesTeams channel [Internal]@svenskaspel/ui version
4.5.0

Feedback

We always want to improve the Design System and would be thrilled to get your feedback.

Please share your wisdom with us.

Microsoft Teams [internal]

Designsystem@svenskaspel.se