用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/navikt/copilot --skill conventional-commit命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Expert builder for Aksel, the Nav / @navikt design system — React components, design tokens, layout primitives, theming (light/dark), icons, CSS, the Tailwind preset, version migrations, Figma-to-code. Triggers — Aksel, "using/with aksel", Nav/Navikt, "designsystemet", "design system", @navikt/ds-* (e.g. @navikt/ds-react) or @navikt/aksel-* packages; add/create/build/refactor a component (button, input, modal, table, alert, card, form) or layout; implement a design from Figma (pasted figma.com/design/...?node-id link, "implement this design", "build this from Figma", design-to-code). Invoke for frontend UI work with any Aksel signal unless the user opts out.
Migrer Jackson 2.x til Jackson 3.x (tools.jackson) i Kotlin/Java-prosjekter — automatisert OpenRewrite-pass pluss manuell Kotlin-spesifikk opprydding og verifisering
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.
基于 SOC 职业分类
正在显示 SKILL.md
| 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