Skip to content
Development
Command

/init-project

Initialize a new project with CLAUDE.md and folder structure.

From plugin
5712 skills12 commands1 hooks
shell
$ npx -y skills add b33eep/claude-code-setup --agent claude-code

Ships with claude-code-setup. Installing the plugin gets this command.

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/init-project

Context preview

What this command does when you run it.

Initialize a new project with CLAUDE.md and folder structure.

Command definition

init-project.md

Init Project: Set Up New Project

Initialize a new project with CLAUDE.md and folder structure.

Tasks

1. **Analyze project**

  • Check for existing files (package.json, pyproject.toml, Cargo.toml, etc.)
  • Detect tech stack and framework
  • Check if Git repository

2. **Ask about sharing mode**

Ask the user:

   How will you use CLAUDE.md in this project?

   1) Solo - Add to .gitignore (personal workflow, not shared)
   2) Team - Track in Git (shared context for all developers)
  • **Solo**: Add `CLAUDE.md` to `.gitignore`
  • **Team**: Keep `CLAUDE.md` tracked in Git

3. **Create CLAUDE.md**

  • Read template from `~/.claude/templates/CLAUDE.template.md`
  • Fill in detected project info
  • Add common development commands

4. **Create folder structure**

  • Create `docs/records/` if it doesn't exist
  • Create `docs/notes/` if it doesn't exist

5. **Update .gitignore**

  • Add `docs/notes/` to `.gitignore` (always, for private notes)
  • If Solo mode: Also add `CLAUDE.md` to `.gitignore`
  • Create `.gitignore` if it doesn't exist

6. **Git commit (if Git repo)**

  • Stage CLAUDE.md (if Team mode), .gitignore, and docs/records/
  • Commit: `chore: add CLAUDE.md project setup`

Output

  • Summary of what was created
  • Detected tech stack
  • Sharing mode (Solo/Team)
  • Suggested next steps
Read it on GitHub โ†—
Ships withclaude-code-setup

Persistent memory for Claude Code via Markdown files. ๐Ÿ“– Read the Documentation for detailed guides, tutorials, and reference.

Get the whole plugin, auto-invoked
Stats
57
Stars
0
Views
6
Forks
Maintained
Maintenance
Shell
Language
MIT
License
2mo ago
Last commit
6mo ago
Created

Repo: b33eep/claude-code-setup