# Init Project

> Init Project

- Skill: `lethilu4796/init-project` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lethilu4796/init-project`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lethilu4796/init-project/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: lethilu4796 (https://skillmd.com/u/lethilu4796)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/lethilu4796/init-project

---


> **Before using:** Replace `{PROJECTS_ROOT}`, `{BOILERPLATE_NAME}`, and `{MEMORYCORE_PATH}` with your actual paths in your copy of this skill.

Initialize a new project at {PROJECTS_ROOT}/$ARGUMENTS:

1. **Parse arguments**: Extract project name and type (default: nuxt)

2. **Create project** based on type (before copying any boilerplate: verify the template directory exists with `test -d`. If missing, fall back to framework CLI scaffolding — npx nuxi, npx create-next-app, etc.):
   - **nuxt** (or from template): Use `{PROJECTS_ROOT}/{BOILERPLATE_NAME}` as template — copy or clone into new directory, then replace app name in package.json/README. Alternatively: `npx nuxi@latest init [name]` then add Tailwind, Prisma, Vitest.
   - **next**: Use `{PROJECTS_ROOT}/{BOILERPLATE_NAME}` as template — copy into new directory, update package name and README.
   - **vue-springboot**: Use `{PROJECTS_ROOT}/{BOILERPLATE_NAME}` as template — copy into new directory, update backend/frontend names and README.
   - **expo**: Use `{PROJECTS_ROOT}/{BOILERPLATE_NAME}` as template — copy into new directory, update app.json name and README.
   - **node**: Create Express/Fastify project with TypeScript, Prisma, Vitest
   - **library**: Create npm package with TypeScript, Vitest, tsup bundler

3. **When using a boilerplate template**: Copy the template folder to {PROJECTS_ROOT}/[project-name], then update any project-specific names (package.json name, README title, app.json slug, etc.). Skip step 4 if template already has CLAUDE.md and .env.example.

4. **Generate standard files** (if not from template or if template is minimal):
   - `CLAUDE.md` with project-specific instructions, commands, and stack description
   - `.env.example` with required environment variables
   - `.gitignore` tailored to the stack
   - `vitest.config.ts` with sensible defaults (for JS/TS projects)

5. **Initialize git**: `git init` and create initial commit (if not already a git repo)

6. **Register in MemoryCore**: Create project entry in `{MEMORYCORE_PATH}/projects/active/` using the coding template at `{MEMORYCORE_PATH}/templates/coding-template.md`

7. **Report**: Show project structure and next steps. For templates, remind user to set env vars (e.g. DATABASE_URL, NEXTAUTH_SECRET, JWT_SECRET) per template README.

