Feature status
What is stable, in preview, and planned
Stable features are released on npm and covered by CI. Preview features are released but still waiting on a live acceptance check, so verify them in your own staging environment first. Planned work is not available yet. For the full change list, see the release notes.
Status overview
| Feature | Status | Available in |
|---|---|---|
| Batch slice generation | Stable | CLI 2.7.0 |
| Structure-only segments (--segments, --root) | Stable | CLI 2.7.0 |
| Architecture check (check --architecture) | Stable | CLI 2.7.0 |
| Light Git hooks | Stable | CLI 2.7.0 |
| Supabase auth adapter (--auth-provider supabase) | Preview | CLI 2.7.0 |
| Existing-project migration | Preview | Agent Skill v2.0.0 |
| Angular scaffolding and generators | Planned | Inspection only today |
Batch slices, preserving segments, and architecture checks
StableBatch generation creates several slices in one run. It checks every slice before writing and rolls back earlier slices, affected route/store files, and the ownership manifest if a later one fails. --force is refused in batch mode.
npx create-fsd-architecture@latest -g entity product customer --dry-run
npx create-fsd-architecture@latest -g entity product customer
npx create-fsd-architecture@latest -g feature cart --segments ui,api --root src/lib
npx create-fsd-architecture@latest -g shared --segments ui,lib --root src--segments creates missing directories and empty TypeScript public APIs and keeps existing files. It generates no components, routes, backend, or state registration. --root works only in this structure-only mode and does not rewrite framework aliases or routing. Pass segments as one comma-separated argument. Symlinks and path collisions are rejected.
# Install in the application using its package manager:
npm install -D steiger @feature-sliced/steiger-plugin
npx create-fsd-architecture@latest check --architecturecheck --architecture runs the project's installed Steiger against its framework source root and fails when Steiger fails. It downloads nothing; rules and exceptions stay in your project. Plain check and doctor inspect config, layers, and toolchain without analyzing imports.
Supabase auth adapter
PreviewThe opt-in adapter replaces example auth requests with Supabase SDK calls in all five supported frameworks. It writes inside the auth slice and does not install the SDK, provision a project, or edit env files. Generated output builds in every framework, but end-to-end acceptance against a live Supabase project is still pending, so test sign-up, recovery, and RLS in a staging project before production.
npx create-fsd-architecture@latest -g feature auth --auth-provider supabase --dry-run
npx create-fsd-architecture@latest -g feature auth --auth-provider supabase
npm install @supabase/supabase-js@supabase/supabase-js requires Node.js 22 or later. Initialize the adapter at the framework browser boundary before form submission:
import { createClient } from '@supabase/supabase-js';
import { configureSupabaseAuth } from '@/features/auth';
// Values from the application's public browser configuration.
const client = createClient(publicUrl, publishableKey);
configureSupabaseAuth(client);Use a public publishable or anon key. Never ship secret or service-role keys to the browser. Server configuration of the browser singleton is rejected; SSR cookies, callbacks, and authorization need a separate request-scoped server integration.
- Login returns a normalized user/session; provider errors and missing sessions reject.
- Registration can return null when email confirmation is required; show confirmation instructions.
- Password recovery uses an email recovery OTP. Configure the recovery email template to expose
{{ .Token }}. - Reset requires matching password confirmation and verified recovery identity; recovery proof is consumed once.
- Logout calls provider signOut. Clearing UI state alone does not revoke a session.
- The SDK owns persistence and refresh. Subscribe to onAuthStateChange to synchronize application state.
When server state is disabled, wire submit handlers to exported API methods. Handle failures without logging passwords, OTPs, or tokens.
Light hooks and optional automation
StableNew projects check staged and unstaged whitespace on pre-commit, validate conventional commit messages on commit-msg, and leave quality checks to CI. Local lint and pre-push lint/build are opt-in:
FSD_PRE_COMMIT_LINT=1 git commit -m "feat: add catalog"
FSD_PRE_PUSH_CHECKS=1 git push
# Explicit bypass when needed:
HUSKY=0 git commit -m "docs: update guide"React Auto-PR and labeler workflows live in optional-workflows. Auto-PR runs only when dispatched manually; configure repository labels and workflow permissions before enabling either one. Nothing is published automatically.
Existing projects move to light hooks through the managed light-hooks-v1 migration. Only unchanged CLI-owned hooks are updated; customized hooks are reported as conflicts. Review upgrade --dry-run before applying.
Existing-project migration through the Agent Skill
PreviewMigration is an agent-guided workflow in the AI Agent Skill, not a CLI command. The agent inventories the existing app, establishes a passing baseline, maps responsibilities to FSD, and then moves code in small batches. Routes, API contracts, product behavior, SSR boundaries, and locale handling stay intact. Each batch is validated and restored on failure.
It has been verified on a representative React + Vite application, including rollback. It is not certified for arbitrary production apps or other frameworks yet, so migrate on a branch and review every batch.
Planned
Planned- Angular: projects can be inspected read-only today. Scaffolding, generators, reconfiguration, and managed upgrades are not available yet and are rejected before any write.
- A CLI command for migrating arbitrary existing apps is not planned for a specific release; use the Agent Skill workflow above.