sif-soknad-setup

Scaffold soknad-based apps with routing shell, pages, and i18n.

2|Updated Jun 3, 2022
One-click install
npx skills add https://github.com/navikt/sif-brukerdialog --skill sif-soknad-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sif-soknad-setup
Source: https://github.com/navikt/sif-brukerdialog/tree/main/.github/skills/sif-soknad-setup
Command: npx skills add https://github.com/navikt/sif-brukerdialog --skill sif-soknad-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffolds the initial structure for soknad-based apps to reduce setup time and enforce a consistent architecture across projects.

Core Features & Use Cases

  • Comprehensive boilerplate: providers, routing shell (Soknad.tsx), pages (VelkommenPage, KvitteringPage), step registration, i18n, and data models.
  • Templates and patterns for common app structure, including constants, hooks, and Sentry/SifQuery client integration.
  • Clear adaptation points for per-app steps, routes, and domain data without starting from scratch.

Quick Start

Copy from the reference app, adapt the boilerplate to your new soknad app, and run type checks to ensure correctness.

Frequently Asked Questions about sif-soknad-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a new soknad app with routing and i18n boilerplate?

To scaffold a soknad app, copy the boilerplate from the reference app, adapt the routing shell, step configuration, and i18n constants to your project, then run type checks to verify correctness.

What is included in the boilerplate for soknad-based app setup?

The boilerplate includes a routing shell (Soknad.tsx), VelkommenPage and KvitteringPage, step registration, i18n integration, data models, constants, hooks, and Sentry/SifQuery client integration.

Can I customize the routing steps and forms when setting up a soknad app?

Yes, you can customize the routing steps and forms. The template-driven approach provides clear adaptation points for per-app steps, routes, and domain data without starting from scratch.

Does the scaffolding setup work with Sentry and SifQuery clients?

The scaffolding setup includes templates and patterns for Sentry and SifQuery client integration, ensuring your new soknad app is pre-configured for error tracking and data fetching.

What is the best way to ensure consistent architecture across soknad apps?

Using a template-driven scaffolding setup is the best way to ensure consistent architecture. It enforces standard providers, routing, and data models, reducing setup time and structural deviations.

Why do I need a scaffolding template for @sif/soknad apps instead of starting from scratch?

You need a scaffolding template to reduce initial setup time and guarantee a consistent architecture. It provides pre-configured boilerplate hooks and forms, preventing manual configuration errors.