Claude-code-blueprint init-project
Scaffold a new project with standard structure, configs, and CLAUDE.md
git clone https://github.com/faizkhairi/claude-code-blueprint
T=$(mktemp -d) && git clone --depth=1 https://github.com/faizkhairi/claude-code-blueprint "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/init-project" ~/.claude/skills/faizkhairi-claude-code-blueprint-init-project && rm -rf "$T"
skills/init-project/SKILL.mdBefore using: Replace
,{PROJECTS_ROOT}, and{BOILERPLATE_NAME}with your actual paths in your copy of this skill.{MEMORYCORE_PATH}
Initialize a new project at {PROJECTS_ROOT}/$ARGUMENTS:
-
Parse arguments: Extract project name and type (default: nuxt)
-
Create project based on type (before copying any boilerplate: verify the template directory exists with
. If missing, fall back to framework CLI scaffolding — npx nuxi, npx create-next-app, etc.):test -d- nuxt (or from template): Use
as template — copy or clone into new directory, then replace app name in package.json/README. Alternatively:{PROJECTS_ROOT}/{BOILERPLATE_NAME}
then add Tailwind, Prisma, Vitest.npx nuxi@latest init [name] - next: Use
as template — copy into new directory, update package name and README.{PROJECTS_ROOT}/{BOILERPLATE_NAME} - vue-springboot: Use
as template — copy into new directory, update backend/frontend names and README.{PROJECTS_ROOT}/{BOILERPLATE_NAME} - expo: Use
as template — copy into new directory, update app.json name and README.{PROJECTS_ROOT}/{BOILERPLATE_NAME} - node: Create Express/Fastify project with TypeScript, Prisma, Vitest
- library: Create npm package with TypeScript, Vitest, tsup bundler
- nuxt (or from template): Use
-
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.
-
Generate standard files (if not from template or if template is minimal):
with project-specific instructions, commands, and stack descriptionCLAUDE.md
with required environment variables.env.example
tailored to the stack.gitignore
with sensible defaults (for JS/TS projects)vitest.config.ts
-
Initialize git:
and create initial commit (if not already a git repo)git init -
Register in MemoryCore: Create project entry in
using the coding template at{MEMORYCORE_PATH}/projects/active/{MEMORYCORE_PATH}/templates/coding-template.md -
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.