From 9ff8454dafa8efa18fde070ef3fc2749a4ae12c7 Mon Sep 17 00:00:00 2001 From: beo3000 Date: Mon, 9 Feb 2026 15:35:51 +0100 Subject: [PATCH] feat: add /new-project command for project bootstrapping Guides through project creation: path, name, optional dotnet template, runs init-project.ps1 and git init. Co-Authored-By: Claude Opus 4.6 --- home-claude/commands/new-project.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 home-claude/commands/new-project.md diff --git a/home-claude/commands/new-project.md b/home-claude/commands/new-project.md new file mode 100644 index 0000000..3589459 --- /dev/null +++ b/home-claude/commands/new-project.md @@ -0,0 +1,21 @@ +--- +allowed-tools: Bash(mkdir:*), Bash(powershell:*), Bash(dotnet new:*), Bash(git init:*), Bash(git add:*), Bash(git commit:*), AskUserQuestion +description: 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 ` +3. If .NET template chosen: `dotnet new