# `@gsc/web-kit` App skeleton for GSC Next.js frontends. Wraps `@limitless/ui` primitives into a pre-configured layout + auth + data/forms/feedback stack so apps just write their domain pages. See the implementation plan in the parent repo for the full module map. This is a `file:` dep consumed by every GSC frontend. ## Install (in a consumer app) ```jsonc // package.json { "dependencies": { "@gsc/web-kit": "file:../../../templates/gsc-web-kit" } } ``` ## Layered architecture ``` your app └── @gsc/web-kit ← this package (layout, auth, data, forms…) └── @limitless/ui ← Bootstrap-flavoured primitives └── bootstrap ``` ## Sub-exports ```ts import "@gsc/web-kit/css"; // CSS bundle (layout-3 + JetBrains Mono) import { AppLayout } from "@gsc/web-kit/layout"; import { createAuth } from "@gsc/web-kit/auth/server"; import { fetchShellConfig } from "@gsc/web-kit/shell/server"; import { EntityList } from "@gsc/web-kit/data"; import { Form, TextField } from "@gsc/web-kit/forms"; import { useToast } from "@gsc/web-kit/feedback"; import { Breadcrumbs } from "@gsc/web-kit/navigation"; import { createApiClient } from "@gsc/web-kit/api"; import { formatCurrency } from "@gsc/web-kit/utils"; ``` ## Phases | Phase | Scope | Status | |---|---|---| | 1 | Package scaffold + CSS bundle + sub-export stubs | **in progress** | | 2 | layout · auth · shell — usable end-to-end with shell-api | planned | | 3 | data · forms — EntityList, Form, DefineAction | planned | | 4 | feedback · navigation · api · utils | planned | | 5 | Roll out to gscCRM / gscChronos / gscAdmin / gscPortal | planned |