Skip to content

claude-commands/command-init-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

command-init-project

A Claude Code slash command for initializing new projects with best practices.

Installation

# Clone to your preferred location
git clone git@github.com:claude-commands/command-init-project.git <clone-path>/command-init-project

# Symlink (use full path to cloned repo)
ln -s <clone-path>/command-init-project/init-project.md ~/.claude/commands/init-project.md

Usage

/init-project my-app                  # Interactive project setup
/init-project my-api --type=node      # Node.js project
/init-project my-service --type=go    # Go project
/init-project my-cli --type=rust      # Rust project
/init-project my-app --template=react # Use specific template

What it does

  1. Gathers project requirements interactively
  2. Creates directory structure
  3. Initializes package manager and dependencies
  4. Sets up linting, formatting, and testing
  5. Configures git and CI/CD
  6. Generates documentation scaffolding

Supported Languages

Language Templates
Node.js API, CLI, React, Next.js
Go API, CLI
Python API, CLI
Rust CLI

Output Format

Project Initialized: my-app

Type: Node.js (TypeScript API)
Location: /path/to/my-app

Created:
- Project structure (src/, tests/, docs/)
- Package configuration
- Linting (ESLint, Prettier)
- Testing (Vitest)
- CI/CD workflow

Next Steps:
1. cd my-app
2. npm run dev

Includes

  • Language-specific best practices
  • Linting and formatting configuration
  • Testing framework setup
  • GitHub Actions CI workflow
  • README template
  • .gitignore

Requirements

  • Package managers (npm, go, cargo, etc.)
  • Claude Code with Opus 4.5 model access

Updates

cd <clone-path>/command-init-project && git pull

About

Initialize new project with best practices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published