Project Init
Project scaffolding — creates CLAUDE.md, docs/, datarim/ structure for new or existing projects. Loaded by /dr-init when project intent is detected.
Overview
Project Init scaffolds a standardized project structure when you run /dr-init create project "Name". It creates CLAUDE.md with Laws of Robotics and Datarim pipeline integration, documentation stubs, ephemeral working directories, and Datarim workflow state — everything a new project needs to start working with the framework.
What Gets Created
- CLAUDE.md — from template with Laws of Robotics, Datarim pipeline reference, project-specific placeholders
- docs/ — architecture.md, testing.md, deployment.md, gotchas.md (structured stubs)
- docs/ephemeral/ — plans/, research/, reviews/ (transient working directories)
- datarim/ — backlog.md, backlog-archive.md, activeContext.md (workflow state)
- documentation/archive/ — for completed task archives
- .gitignore — standard for the detected tech stack, with datarim/ excluded
Intent Detection
The skill activates when /dr-init detects project creation keywords in the user's prompt: "create project", "new project", "scaffold project" (English) or "создай проект", "новый проект" (Russian). Without these keywords, /dr-init follows the standard task flow — fully backward compatible.
Tech Stack Integration
The skill loads tech-stack.md to auto-detect the appropriate tech stack from the project description. This determines .gitignore contents, build commands for CLAUDE.md, and suggested dependencies. For documentation-only projects, tech stack detection is skipped.
Idempotency
Safe to run on existing projects. Every file and directory is checked before creation — existing files are never overwritten, only missing ones are created. The post-scaffold report lists what was created and what was skipped.
When It's Used
Loaded by the planner agent during /dr-init Step 0 when project creation intent is detected. After scaffolding completes, the command exits — it does not continue to the task creation flow.