agentleFS
faizkhairifaizkhairi/claude-code-blueprint/skills/scaffold-project/SKILL.md

scaffold-project

Skill73 starsChanged 4 months agoMITView on GitHub

Scaffold a new project with standard structure, configs, and CLAUDE.md

  • Reads credentials

11 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    next: Use {PROJECTS_ROOT}/{BOILERPLATE_NAME} as template, copy into new directory, update package name and README.

    line 18
  2. Very specific:

    vue-springboot: Use {PROJECTS_ROOT}/{BOILERPLATE_NAME} as template, copy into new directory, update backend/frontend names and README.

    line 19
  3. Very specific:

    expo: Use {PROJECTS_ROOT}/{BOILERPLATE_NAME} as template, copy into new directory, update app.json name and README.

    line 20
  4. Distinctive:

    node: Create Express/Fastify project with TypeScript, Prisma, Vitest

    line 21
  5. Distinctive:

    library: Create npm package with TypeScript, Vitest, tsup bundler

    line 22
  6. Very specific:

    Register in memory: Create project entry in ./memory/projects/active/ using the coding template at ./memory/templates/coding-template.md

    line 34

“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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)
  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, such as 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 memory: Create project entry in ./memory/projects/active/ using the coding template at ./memory/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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.