Scaffold project

From faizkhairi/claude-code-blueprint · View interactive version

Scaffold project is an AI agent skill from the GitHub repository faizkhairi/claude-code-blueprint. Scaffold a new project with standard structure, configs, and CLAUDE.md

How to use this skill

Skill file

Before using: Replace {PROJECTS_ROOT} and {BOILERPLATE_NAME} with your actual paths in your copy of this skill. (./memory/ is the built-in memory folder, no replacement needed.)

Example only, these scaffolds target JS/TS stacks (Nuxt, Next, Node, npm library). This is a project generator, so its type menu is intentionally stack-specific. Replace the type: list and the per-type steps below with your own stack's scaffolds, such as rails new, django-admin startproject, cargo new, dotnet new, go mod init, mvn archetype:generate, etc.

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

  1. Parse arguments: Extract project name and type (default: nuxt)
  1. 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, such as npx nuxi, npx create-next-app, etc.):
  1. 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.
  1. Generate standard files (if not from template or if template is minimal):
  1. Initialize git: git init and create initial commit (if not already a git repo)
  1. Register in memory: Create project entry in ./memory/projects/active/ using the coding template at ./memory/templates/coding-template.md
  1. 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.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.