create-next-app-existing-dir

Community

Scaffold Next.js in existing folders

Authorpmarashian
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the process of initializing a Next.js application within a directory that already contains files, preventing common errors and saving development time.

Core Features & Use Cases

  • Handles Existing package.json: Automatically manages conflicts when create-next-app encounters an existing package.json.
  • Absolute Path Preference: Ensures reliable project scaffolding by using absolute paths for the target directory.
  • API-Only Setup Optimization: Facilitates setting up Next.js for API-only backends by stripping unnecessary UI files and clearing build artifacts.
  • Use Case: You need to add a Next.js frontend to an existing backend project. This Skill ensures a smooth setup without manual intervention for common issues.

Quick Start

Use the create-next-app-existing-dir skill to scaffold a Next.js app in the current directory, preferring an absolute path for the target.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: create-next-app-existing-dir
Download link: https://github.com/pmarashian/cursor-agent-skills/archive/main.zip#create-next-app-existing-dir

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.