dotnet-init
Interactive project initialization. Detects project type, asks architecture questions, and generates a customized CLAUDE.md — no manual template copying. Use when: "init project", "setup project", "initialize", "new project setup", "generate CLAUDE.md", "configure for dotnet-claude-kit", or starting
By codewithmukesh · 1,152 installs
npx skills add codewithmukesh/dotnet-claude-kit --skill dotnet-init
Source repository · Upstream listing
/dotnet init
What
Interactively initializes a .NET project for use with dotnet claude kit. Detects the project type, asks targeted questions about architecture and tech stack, then generates a fully customized CLAUDE.md in the project root.
No manual template copying required.
When
Starting a new .NET project with Claude Code
Adding dotnet claude kit to an existing project
"init project", "setup project", "generate CLAUDE.md", "configure for dotnet claude kit"
How
Step 1: Detect or Ask Project Type
Analyze the current directory to determine if this is an existing or greenfield project:
Step 2: Architecture Questionnaire
Load the architecture advisor skill and ask targeted questions:
1. Domain complexity — CRUD heavy, moderate business rules, or rich domain?
2. Team size — Solo, small team, or large team?
3. Module boundaries — Single deployable or multiple bounded contexts?
4. Existing patterns — (existing projects only) Detect conventions via convention learner skill
→ Recommend: VSA, Clean Architecture, DDD, or Modular Monolith with rationale.
Step 3: Tech Stack Selection
Ask about specific technology choices:
Database : PostgreSQL, SQL Server, SQLite, or none yet
Auth : JWT, OIDC, Cookie, or none yet
Caching : HybridCache, Redis, or none yet
Messaging : Wolverine, MassTransit, or none yet
Testing : Confirm xUnit + Testcontainers defaults
Step 4: Generate CLAUDE.md
Load the appropriate template from templates/ as a base, then customize:
Replace [ProjectName] with the actual project/solution name
Set the chosen architecture
Configure the tech stack section
For existing projects: add project specific conventions detected in Step 2
For greenfield: add recommended conventions based on architecture choice
Before writing, check for an existing CLAUDE.md . Never overwrite it silently.
Step 5: Verify Setup
Skills invoked: project setup , architecture advisor , convention learner
Agent: dotnet architect
Example — Existing Project
Example — Greenfield Project
Example — Existing Project With a CLAUDE.md
Related
/plan — Plan before building features
/health check — Assess project health after init
/scaffold — Scaffold features using the chosen architecture