一键导入
conventional-commit
Generer conventional commit-meldinger med Nav-relevante scopes og breaking change-format
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generer conventional commit-meldinger med Nav-relevante scopes og breaking change-format
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Expert builder for the Aksel design system (Nav / @navikt) React components, design tokens, layout primitives, theming (light/dark), icons, CSS, the Tailwind preset, version migrations, and Figma-to-code. Trigger on any frontend UI task that mentions Aksel, Nav/Navikt, "designsystemet", or @navikt/ds-* / @navikt/aksel-* packages — or that asks to add, create, build, or refactor a component (button, input, modal, table, alert, card, form) or layout, or to implement a design from Figma (a pasted figma.com/design/...?node-id link, "implement this design", "build this from Figma", design-to-code). Strong signals "using/with aksel", "@navikt/ds-react", "design system", a pasted figma.com link. If the work is frontend UI and there is any Aksel signal, invoke this skill unless the user explicitly opts out.
Generer Architecture Decision Records (ADR) med flerperspektiv-review tilpasset Nav
Strukturert intervju som avdekker blindsoner i Nav-prosjekter — personvern, auth, avhengigheter og observerbarhet
Integrer og konfigurer Nav Dekoratøren – felles header og footer for nav.no-applikasjoner. Bruk når et team skal ta i bruk Dekoratøren, oppdatere konfigurasjon, legge til breadcrumbs/språkvelger/analytics, håndtere samtykke (ekomloven), CSP eller feilsøke integrasjon mot dekoratøren.
Arkitekturplanlegging med beslutningstrær for auth, kommunikasjon, database og Nais-konfigurasjon
Strukturerte diagnostiske trær for vanlige Nav-plattformproblemer — pod-krasj, auth-feil, Kafka-lag og databaseproblemer
| name | conventional-commit |
| description | Generer conventional commit-meldinger med Nav-relevante scopes og breaking change-format |
| license | MIT |
| metadata | {"domain":"general","tags":"git commit conventional-commits changelog"} |
Generate commit messages following the Conventional Commits specification, adapted for Nav projects.
<type>(<scope>): <description>
[optional body]
[optional footer]
| Type | Usage |
|---|---|
feat | New functionality |
fix | Bug fix |
docs | Documentation-only changes |
style | Formatting, semicolons, etc. (no code change) |
refactor | Code that neither fixes a bug nor adds a feature |
perf | Performance changes |
test | Adding or fixing tests |
build | Build system or dependency changes |
ci | CI configuration changes |
chore | Other changes that don't affect code |
feat(vedtak): add support for complaint decisions
fix(auth): fix token validation for TokenX
docs(api): update OpenAPI spec for the vedtak endpoint
refactor(repository): use CTE for better readability
test(controller): add integration test with MockOAuth2Server
build(deps): upgrade Spring Boot to 3.4.1
ci(deploy): add prod deploy step
perf(db): add index on bruker_id
chore(nais): update resource limits
feat(api)!: change response format for the vedtak endpoint
BREAKING CHANGE: The `vedtakDato` field has been changed to `opprettetDato`.
Consumers must update their parsing.
Closes #123 or Refs NAV-1234# Simple feature
git commit -m "feat(søknad): add validation of national identity number"
# Bugfix with reference
git commit -m "fix(auth): handle expired refresh token
The refresh token was not renewed upon expiration, which caused
users to be logged out without warning.
Fixes #456"
# Dependency update
git commit -m "build(deps): upgrade postgresql driver to 42.7.4"
# Breaking change
git commit -m "feat(api)!: remove deprecated /api/v1/vedtak endpoint
BREAKING CHANGE: /api/v1/vedtak has been removed. Use /api/v2/vedtak."
To generate a commit message, analyze staged changes:
git diff --cached --stat # Overview of changed files
git diff --cached # Detailed diff
Based on the diff:
BREAKING CHANGE footer if the API changes