scaffolding-nextjs-foundation
Installation
SKILL.md
Objective
Establish the baseline directory structure and dependencies for the modern rewrite of the legacy application.
Instructions for the Scaffold Subagents
Copy this checklist and track your progress:
Task Progress:
- [ ] Step 1: Initialize Next.js
- [ ] Step 2: Initialize UI
- [ ] Step 3: Install Core Dependencies
- [ ] Step 4: Clean the Scaffold
- [ ] Step 5: Verification
Step 1. Initialize Next.js
Execute the create-next-app command in the designated modernization directory (usually the root of the new repo).
* Command: npx -y create-next-app@latest . --typescript --tailwind --eslint --app --src-dir --import-alias "@/*"
* Note: Ensure you are running this in the correct output directory (e.g., modern-app/) and not inside the legacy legacy-app/ folder.