claude-meta/home-claude/commands/new-project.md

925 B

allowed-tools description
Bash(mkdir:*), Bash(powershell:*), Bash(dotnet new:*), Bash(git init:*), Bash(git add:*), Bash(git commit:*), AskUserQuestion Bootstrap a new project with claude-meta template and optional dotnet scaffold

Context

  • claude-meta repo: C:\work\claude-meta
  • Init script: C:\work\claude-meta\scripts\init-project.ps1

Your task

  1. Ask user via AskUserQuestion:
    • Project path (e.g. C:\work\my-project)
    • Project name (e.g. "My Project")
    • .NET template (console/webapi/blazorserver/none)
  2. Create project directory if it doesn't exist: mkdir <path>
  3. If .NET template chosen: dotnet new <template> -o <path>
  4. Run init script: powershell -ExecutionPolicy Bypass -File C:\work\claude-meta\scripts\init-project.ps1 <path> "<name>"
  5. Initialize git: git init in project directory
  6. Report what was created and suggest editing CLAUDE.md with project-specific info