/init-project

Scaffold a FastAPI and React/Vite monorepo with JWT auth and TOTP routing.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Ascenseurs-Menetrey-SA/amsa-claude-skills --skill init-project-ascenseurs-menetrey-sa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: /init-project
Source: https://github.com/Ascenseurs-Menetrey-SA/amsa-claude-skills/tree/main/init-project
Command: npx skills add https://github.com/Ascenseurs-Menetrey-SA/amsa-claude-skills --skill init-project-ascenseurs-menetrey-sa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

It solves the repetitive setup work of creating a complete monorepo from scratch, including backend, frontend, authentication scaffolding, and the base DevOps structure.

Core Features & Use Cases

  • Monorepo scaffolding (FastAPI + React/Vite): Generates a complete project folder for a new application, with a ready-to-run frontend and backend layout.
  • Production-ready frontend foundation: Sets up React with Vite, Tailwind via shadcn/ui, TanStack Router and React Query, including JWT API fetch logic with automatic refresh.
  • JWT auth with TOTP flow: Provides login routing and the client-side auth hooks/types required to support two-step authentication (login then TOTP verification).
  • Example structure for backend auth services: Creates the initial backend modules, schemas, models, and services needed to implement authentication endpoints.

Use case: You need to launch a new internal web app for a team (admin + user roles) and want a consistent starting point with JWT auth and optional TOTP, rather than reinventing the scaffold each time.

Quick Start

Ask the AI to scaffold your new repository by running: /init-project <nom-du-projet>.

Frequently Asked Questions about /init-project

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

FAQPage Schema
How do I scaffold a FastAPI and React monorepo with JWT authentication?

Scaffolding a FastAPI and React monorepo with JWT authentication generates a complete project directory layout featuring baseline DevOps structure, backend auth modules, and a React frontend wired with an authenticated API fetch wrapper.

Does this monorepo scaffold include token refresh handling and TOTP 2FA routing?

Yes, the monorepo scaffold includes JWT token refresh handling and optional TOTP-based 2FA UI routing, providing login routing and client-side auth hooks required to support two-step authentication verification flows.

What is the best way to set up a React Vite frontend with TanStack Router and React Query for a new project?

Setting up a React Vite frontend with TanStack Router and React Query is handled by generating a production-ready foundation that wires routing and data fetching alongside Tailwind via shadcn/ui and JWT API fetch logic with automatic refresh.

Can I use this scaffold for an internal web app requiring admin and user roles?

Yes, you can use this scaffold for internal web apps requiring admin and user roles, as it generates a consistent starting point with JWT auth and optional TOTP rather than reinventing the monorepo structure each time.

How do I start a new FastAPI backend with initial authentication schemas and services?

Starting a new FastAPI backend with authentication schemas and services is done by generating the initial backend modules, schemas, models, and service code patterns needed to implement authentication endpoints directly in the scaffolded monorepo.