skills/fullstack-app-generator/SKILL.md
Generate complete, production-ready full-stack applications from a single prompt. Scaffolds projects with the right framework, database schema, API layer, frontend components, authentication, and deployment config. Covers Vite + React, Next.js, Express + React, static sites, and monorepo setups. Use when building a new application from scratch or scaffolding a major feature.
npx skillsauth add RaheesAhmed/SajiCode fullstack-app-generatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Requirement | Recommended Stack | |-------------|-------------------| | Static site / landing page | Vite + React (or plain HTML/CSS/JS) | | SaaS with auth + dashboard | Next.js + Prisma + NextAuth | | API-only backend | Express/Fastify + Prisma | | Real-time app (chat, collab) | Next.js + WebSocket + Redis | | Mobile + Web | Next.js (web) + React Native (mobile) | | CLI tool | Node.js + Commander/Yargs | | Prototyping | Vite + React + JSON file/SQLite |
project/
├── src/
│ ├── app/ # Next.js App Router
│ │ ├── layout.tsx # Root layout (fonts, providers)
│ │ ├── page.tsx # Home page
│ │ ├── globals.css # Design system
│ │ ├── (auth)/ # Auth routes
│ │ │ ├── login/page.tsx
│ │ │ └── register/page.tsx
│ │ ├── dashboard/ # Protected routes
│ │ │ ├── layout.tsx # Dashboard shell
│ │ │ └── page.tsx
│ │ └── api/ # API routes (webhooks only)
│ │ └── webhooks/route.ts
│ ├── components/
│ │ ├── ui/ # shadcn/ui components
│ │ ├── layout/ # Header, Sidebar, Footer
│ │ └── features/ # Feature-specific components
│ ├── lib/
│ │ ├── db.ts # Prisma client singleton
│ │ ├── auth.ts # Auth helpers
│ │ └── utils.ts # cn() and shared utils
│ ├── actions/ # Server Actions
│ │ ├── auth.ts
│ │ └── [feature].ts
│ └── types/ # Shared type definitions
│ └── index.ts
├── prisma/
│ └── schema.prisma # Database schema
├── public/ # Static assets
├── .env.example
├── .env.local
├── package.json
├── tsconfig.json
├── next.config.ts
└── README.md
project/
├── src/
│ ├── routes/ # Route handlers
│ ├── middleware/ # Auth, validation, errors
│ ├── services/ # Business logic
│ ├── repositories/ # Data access
│ ├── models/ # Types and schemas
│ ├── lib/ # Config, clients, utils
│ ├── jobs/ # Background processors
│ └── index.ts # Server bootstrap
├── prisma/
│ └── schema.prisma
├── tests/
├── Dockerfile
├── docker-compose.yml
├── .env.example
└── package.json
Parse user prompt to determine:
- What type of app (SaaS, blog, e-commerce, dashboard, API)
- What data models are needed
- What user flows exist
- What authentication is required
- What third-party integrations are needed
1. Initialize project with framework CLI
2. Install core dependencies
3. Set up TypeScript configuration
4. Create design system (globals.css with tokens)
5. Set up database schema
6. Configure environment variables
1. Design Prisma schema with all models and relations
2. Generate initial migration
3. Create database client singleton
4. Implement repository functions for each model
1. Create Zod schemas for all inputs
2. Implement server actions or API routes
3. Add validation middleware
4. Add error handling
5. Add authentication checks
1. Create root layout with fonts, theme, metadata
2. Build reusable components (Header, Sidebar, Footer)
3. Create page layouts for each route
4. Implement forms with validation
5. Add loading and error states
6. Polish with animations and micro-interactions
1. Add SEO metadata to all pages
2. Create .env.example with all required variables
3. Add README with setup instructions
4. Create Dockerfile if deployment target needs it
5. Test complete user flow
import NextAuth from "next-auth";
import { PrismaAdapter } from "@auth/prisma-adapter";
import GitHub from "next-auth/providers/github";
import Google from "next-auth/providers/google";
import Credentials from "next-auth/providers/credentials";
import { prisma } from "@/lib/db";
import bcrypt from "bcrypt";
export const { handlers, auth, signIn, signOut } = NextAuth({
adapter: PrismaAdapter(prisma),
providers: [
GitHub({ clientId: process.env.GITHUB_ID!, clientSecret: process.env.GITHUB_SECRET! }),
Google({ clientId: process.env.GOOGLE_ID!, clientSecret: process.env.GOOGLE_SECRET! }),
Credentials({
async authorize(credentials) {
const user = await prisma.user.findUnique({ where: { email: credentials.email as string } });
if (!user?.passwordHash) return null;
const valid = await bcrypt.compare(credentials.password as string, user.passwordHash);
return valid ? user : null;
},
}),
],
session: { strategy: "jwt" },
pages: { signIn: "/login", error: "/login" },
});
development
Deep web research and data extraction skill. Systematically research ANY topic by fetching URLs, reading documentation, crawling API docs, evaluating npm/pypi packages, comparing technologies, and synthesizing findings into actionable recommendations. Use when researching libraries, frameworks, APIs, solutions, or any topic requiring web investigation.
development
Design and implement comprehensive test suites. Covers unit testing, integration testing, E2E testing with Playwright, API testing, mocking strategies, test data factories, TDD workflow, snapshot testing, coverage targets, and CI integration. Use when writing tests, designing test architecture, or debugging test failures.
development
Core engineering workflow that activates on EVERY task. Enforces systematic plan-before-code methodology, multi-file refactoring safety, dependency-aware changes, pre-flight verification, and zero-placeholder quality standards. Use PROACTIVELY on all coding tasks.
tools
Implement production styling systems with Tailwind CSS, vanilla CSS, or CSS-in-JS. Covers CSS architecture (BEM, utility-first, modules), design tokens, responsive patterns, animation systems, dark mode, container queries, print styles, and performance optimization. Use when implementing designs or building CSS architectures.