Skip to content

Conversation

@deerdear
Copy link

Summary

What's included

  • /new-project <project-name> command that:
    • Creates a named directory
    • Initializes git repository
    • Creates CLAUDE.md template for project context
    • Creates .gitignore with common defaults
    • Makes initial commit

Usage

/new-project my-awesome-app

Creates:

my-awesome-app/
├── .git/
├── .gitignore
└── CLAUDE.md

Test plan

  • Install plugin with claude --plugin-dir plugins/project-init
  • Run /new-project test-project
  • Verify directory is created with correct structure
  • Verify git is initialized with initial commit
  • Verify CLAUDE.md and .gitignore are created

🤖 Generated with Claude Code

Add a new plugin that creates project directories with a single command:
- Creates named directory
- Initializes git repository
- Creates CLAUDE.md template
- Creates .gitignore with common defaults
- Makes initial commit

This provides a workaround for the feature request to add project name
argument to the init command (anthropics#18024).

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant