Логотип Aksel Builder

Aksel Builder

Организация
navikt
aksel-builder

Build and refactor UI with Aksel, Nav's design system. Use for frontend tasks involving Aksel, Nav/Navikt, or @navikt/ds- and @navikt/aksel-packages, and for Figma-to-code with Aksel. Covers components, layout, tokens, theming, icons, Tailwind, accessibility, and migrations. Do not use when the user opts out of Aksel.

Обзор

Издательnavikt
Репозиторийcopilot
Название навыкаaksel-builder
Звёзды
60
Форки
16
Файлы в комплекте
11
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 11

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

  • Открытый исходный код

    Издатель навыка на GitHub — navikt. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Aksel Builder в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/navikt/copilot/tree/main/skills/aksel-builder
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/navikt/copilot.git /tmp/copilot
mkdir -p .claude/skills
cp -r /tmp/copilot/skills/aksel-builder .claude/skills/aksel-builder
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Aksel Builder в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Aksel Builder, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Aksel Builder не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Aksel design system skill

Mission

Build correct, accessible, production-quality UI with the Aksel design system (Nav). Lead the user to the right component, token, and primitive — and back every choice with the Aksel MCP server, not memory. Its 5 tools and 4 resources combine cached live docs from aksel.nav.no with token, icon, and migration catalogs bundled with the server. Check the project's installed versions before applying newer APIs. Aim for the fewest correct calls.

Design for the user's work

Start with the affected user's job and workflow. For applications where people carry out work, give working content and the next meaningful action priority. Derive navigation from workflows rather than project documents, hypotheses, or capability lists. Keep explanations, status, and history where they help people choose, perform, or check the work; disclose other detail when needed. Remove filler while preserving context needed for informed decisions and accessibility. Reports and information-led views are appropriate when reading, comparing, or monitoring is the user's job. Use the existing product direction and Aksel components to support that job; no single layout fits every workflow.


MCP-First rule (hard rule)

Never generate, edit, or debug Aksel code from training memory alone.

Aksel moves fast — token names, props, and whole components change between majors, and your weights are stale. Before writing any import, prop, token, or icon name:

  1. Confirm it exists and how it's used via the MCP.
  2. Never invent doc paths, prop names, token names, or icon exports.
  3. Verified sources win over memory. The MCP describes current docs and its bundled catalogs, not necessarily the project's installed version. Resolve mismatches against installed package types/exports and version-specific documentation. If no source confirms an API, say what you tried — don't fall back to a guess.

This one rule prevents the most common failure: confidently shipping an Aksel API that no longer exists.


Preflight: is the MCP available?

This skill is built around the Aksel MCP. Before your first lookup, check whether the aksel_* tools exist, and branch:

✅ MCP available (strongly preferred). Use the tools below for structured props, token values, and icon names. They do not inspect the consuming project's dependencies: confirm version-sensitive APIs against the installed packages.

The environment must allow https://aksel-mcp.nav.no. If access is blocked, report it and use the fallback below; don't work around access restrictions.

❌ MCP not available → recommend installing it, then fall back to fetching docs.

  1. Recommend the MCP. Find io.github.navikt/aksel-mcp in Nav's registry (https://mcp-registry.nav.no) and use the client's installation flow. The endpoint is https://aksel-mcp.nav.no/mcp. For VS Code, .vscode/mcp.json uses:
json
{
  "servers": {
    "io.github.navikt/aksel-mcp": {
      "type": "http",
      "url": "https://aksel-mcp.nav.no/mcp"
    }
  }
}

Merge the entry into existing configuration; don't replace other servers. Other clients use different configuration keys; see the VS Code format reference.

  1. Until it's installed, fall back to the public LLM docs over HTTP. Start from the index at https://aksel.nav.no/llm.md — it lists every page as an individual .md file — then fetch the specific .md page you need. These are the docs used by the MCP's documentation tools, not a replacement for its structured token/icon catalogs. Inspect installed exports and token files when prose is insufficient; never invent paths, props, tokens, or icon names.

Tool → manual-fetch fallback

When the MCP is absent, map each tool to a direct fetch:

MCP tool (preferred)Without MCP, fetch instead
aksel_find_docs (docs)https://aksel.nav.no/llm.md index → follow the matching .md link
aksel_get_docthe page's .md URL directly (e.g. https://aksel.nav.no/komponenter/core/button.md)
aksel_get_component_infothe component's .md page — it documents props & usage (prose, not a structured table)
aksel_get_token_detailshttps://aksel.nav.no/grunnleggende/styling/design-tokens.md
aksel_find_iconshttps://aksel.nav.no/komponenter/ikoner.md
aksel_find_docs (migrations)https://aksel.nav.no/grunnleggende/kode/codemods-config.md; discover the version-specific guide in llm.md

Prefer fetching individual .md pages over the full collection — only pull llm.md (or komponenter.md) when you need to discover the right page.


Tool capability matrix

Route by intent. Pick the narrowest tool. The default loop is Find → Fetch.

IntentToolKey argsReturnsCommon failure to avoid
Find the doc/component path for a topicaksel_find_docs{ query, kind:"docs" }ranked results[] with pathGuessing a path instead of searching first
Read a full doc pageaksel_get_doc{ path } (exact, from find)markdownHand-writing a path; must start /, end .md
Get a component's props/APIaksel_get_component_info{ component } slug or pathstructured propsReading prose docs when you need the prop table
Look up a design token's value/usageaksel_get_token_details{ tokenName }value, accessors, semanticsUsing find_docs for tokens — wrong tool
Browse tokens by keywordaksel_find_docs{ query, kind:"tokens" }token catalog matchesThen call get_token_details for the exact one
Find an iconaksel_find_icons{ keyword, category?, variant? }icons[] with nameAssuming an icon export name from memory
Find a migration/codemodaksel_find_docs{ query, kind:"migrations" }codemods + run commandUsing kind:"docs" for upgrade questions

Resources (read directly when you want the whole catalog, not a search): aksel-docs://index, aksel-tokens://catalog, aksel-icons://category-catalog, aksel-migrations://catalog.


Core workflow: Find → Fetch → Build → Validate

Most tasks need 2–4 MCP calls.

  1. Find — aksel_find_docs({ query }) with 1–2 keywords (component names work best; Norwegian and English both work). Use the returned path; never build one yourself. Switch kind: tokens/colors/spacing → "tokens", upgrades/codemods → "migrations".
  2. Fetch — get_doc (usage, examples, props as prose), get_component_info (props as JSON), get_token_details (one token), find_icons (then map name → ${name}Icon).
  3. Build — use semantic tokens for design-system styling; primitive props, CSS, and the project's existing Tailwind utilities are valid choices, subject to local rules (tokens-styling.md); reach for layout primitives before custom CSS (primitives-layout.md); add the a11y props Aksel requires (accessibility.md).
  4. Validate — run the checklist at the end of this file.

Decision tree: route the task

The Find → Fetch → Build → Validate loop is how you work; this is where to go for a given task. Orient once, then take the matching branch(es). Load a reference the first time a task touches its domain — don't preload all of them. All reference files live in references/ (e.g. references/components.md).

0. Orient (once per task). Glance at the project before building:

  • Are the aksel_* MCP tools available? If not, see Preflight above — encourage installing the MCP, and until then fall back to fetching https://aksel.nav.no/llm.md.
  • Is Aksel installed and which major version? Check package.json for @navikt/ds-react (its version drives which API is current). Unsure about setup, imports, or SSR/RSC? → load setup-and-imports.md.

Then branch by intent (reference to load → tools to call):

If the task is…LoadThen call
Pick/build a component (form, modal, table, …)components.mdfind_docs → get_component_info → get_doc (usage) → build
Implement a Figma design → Aksel codefigma-to-code.mdFigma MCP (get_design_context/get_screenshot) → map to Aksel via the aksel_* tools → build
Lay out / space / make responsiveprimitives-layout.mdbuild with primitives (get_component_info for a primitive's API)
Color / token / spacing value / Tailwind stylingtokens-styling.mdget_token_details (browse via find_docs kind:"tokens")
Light/dark mode or base colortheming.mdget_component_info / get_doc for Theme when not already verified
An iconicons.mdfind_icons → map name → ${name}Icon
Accessibility / labels / a11y reviewaccessibility.mdget_component_info to find the label/description props
Upgrade / codemod / “why is this deprecated?”migrations.mdfind_docs kind:"migrations"
Project setup / imports / packages / SSRsetup-and-imports.mdfind_docs kind:"docs" ("kom i gang")
A tool call misbehaves / returns nothingmcp-workflow.mdre-route per its recovery tables

Complex tasks chain branches. “Dark-mode contact form with a trash icon” touches components.md + tokens-styling.md + theming.md + icons.md + accessibility.md — load each as you reach that part, and build in that order (structure → style → theme → icons → a11y pass).


Reference files

The decision tree above says when to load each file; this is the index of what each contains. Load on demand to keep context small.


Call-budget & token conservation

  • Prefer Find → Fetch (2 calls) over scattershot searching; stop once you can build.
  • find_docs (kind:"docs") needs ≥ 3 characters; if it returns nothing, retry once with a single broader keyword (a component name) before changing approach.
  • Don't re-fetch a doc you already have. Don't echo raw tool JSON back — extract and build.
  • ≤ 4 calls is the target, not a limit. Still stuck after ~7? Stop and ask the user rather than guessing.

Final validation checklist

  • For changes to layout or interaction, the affected job was exercised on the rendered UI, including its result and relevant recovery states. Inspect hierarchy at the relevant viewport and whether explanation or navigation delays the work. Report anything that could not be inspected.
  • Aksel components and icons were confirmed via MCP or the documented fallback, and match installed versions.
  • Doc paths came from aksel_find_docs, aksel-docs://index, or llm.md — none were guessed.
  • Non-trivial props were checked with aksel_get_component_info or, in fallback mode, official docs and installed types.
  • Aksel tokens are verified; custom values have a real requirement rather than replacing an existing token.
  • Icon imports use the ${name}Icon export from @navikt/aksel-icons.
  • Required accessibility props are present (labels, descriptions, alt text).
  • Imports resolve against installed packages. React compatibility follows the app; React 17 compatibility is required when contributing to Aksel's published React library.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Aksel Builder?

Build and refactor UI with Aksel, Nav's design system. Use for frontend tasks involving Aksel, Nav/Navikt, or @navikt/ds- and @navikt/aksel-packages, and for Figma-to-code with Aksel. Covers components, layout, tokens, theming, icons, Tailwind, accessibility, and migrations. Do not use when the user opts out of Aksel.

Зачем использовать Aksel Builder в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Aksel Builder — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Aksel Builder в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/navikt/copilot/tree/main/skills/aksel-builder. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Aksel Builder?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Aksel Builder?

С любым количеством. В TypingMind вы можете использовать Aksel Builder с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Aksel Builder?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — navikt. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип openclaw

Release Openclaw Plugin Testing

openclaw
ОрганизацияПопулярный

Планируйте и проводите проверку плагинов OpenClaw перед релизом: проверяйте встроенные плагины, артефакты пакетов, команды жизненного цикла, doctor/fix, обратное преобразование конфигурации, запуск gateway, совместимость SDK, Docker E2E,…

82.2K
391K
Файлы: 1
Открыть
Логотип openclaw

Solid

openclaw
ОрганизацияПопулярный

Write, port, review, or test Solid 2 UI in OpenClaw (Control UI, plugin views, Canvas hosts), including state ownership, Lit interop during the migration, native overlays, testing, performance, and…

82.4K
391.7K
Файлы: 9
Открыть
Логотип openclaw

Auto Qa

openclaw
ОрганизацияПопулярный

Проводите масштабные автономные кампании QA и проверки в реальном времени и под нагрузкой во всех подсистемах OpenClaw, подтверждайте исправления и формируйте отчёт с доказательствами, который можно продолжить.

82.2K
391K
Файлы: 5
Открыть
Логотип openclaw

Autoreview

openclaw
ОрганизацияПопулярный

Проводите структурированный анализ кода по прямому запросу; в первую очередь используйте OpenAI/Codex, а затем Claude.

82.2K
391K
Файлы: 12
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇