init-project
Initialize new project with essential structure, configuration, and development environment setup
Imported description, not reviewed yet
This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.
Download
Install
After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.
For this project
It goes in: .claude/commands/
mkdir -p .claude/commands && unzip ~/Downloads/init-project.zip -d .claude/commandsFor your account on the whole machine
It goes in: ~/.claude/commands/
mkdir -p ~/.claude/commands && unzip ~/Downloads/init-project.zip -d ~/.claude/commands
Instructions
Initialize New Project
Initialize new project with essential structure: $ARGUMENTS
Instructions
-
Project Analysis and Setup
- Parse the project type and framework from arguments:
$ARGUMENTS - If no arguments provided, analyze current directory and ask user for project type and framework
- Create project directory structure if needed
- Validate that the chosen framework is appropriate for the project type
- Parse the project type and framework from arguments:
-
Base Project Structure
- Create essential directories (src/, tests/, docs/, etc.)
- Initialize git repository with proper .gitignore for the project type
- Create README.md with project description and setup instructions
- Set up proper file structure based on project type and framework
-
Framework-Specific Configuration
- Web/React: Set up React with TypeScript, Vite/Next.js, ESLint, Prettier
- Web/Vue: Configure Vue 3 with TypeScript, Vite, ESLint, Prettier
- Web/Angular: Set up Angular CLI project with TypeScript and testing
- API/Express: Create Express.js server with TypeScript, middleware, and routing
- API/FastAPI: Set up FastAPI with Python, Pydantic models, and async support
- Mobile/React Native: Configure React Native with navigation and development tools
- Desktop/Electron: Set up Electron with renderer and main process structure
- CLI/Node: Create Node.js CLI with commander.js and proper packaging
- Library/NPM: Set up library with TypeScript, rollup/webpack, and publishing config
-
Development Environment Setup
- Configure package manager (npm, yarn, pnpm) with proper package.json
- Set up TypeScript configuration with strict mode and path mapping
- Configure linting with ESLint and language-specific rules
- Set up code formatting with Prettier and pre-commit hooks
- Add EditorConfig for consistent coding standards
-
Testing Infrastructure
- Install and configure testing framework (Jest, Vitest, Pytest, etc.)
- Set up test directory structure and example tests
- Configure code coverage reporting
- Add testing scripts to package.json/makefile
-
Build and Development Tools
- Configure build system (Vite, webpack, rollup, etc.)
- Set up development server with hot reloading
- Configure environment variable management
- Add build optimization and bundling
-
CI/CD Pipeline
- Create GitHub Actions workflow for testing and deployment
- Set up automated testing on pull requests
- Configure automated dependency updates with Dependabot
- Add status badges to README
-
Documentation and Quality
- Generate comprehensive README with installation and usage instructions
- Create CONTRIBUTING.md with development guidelines
- Set up API documentation generation (JSDoc, Sphinx, etc.)
- Add code quality badges and shields
-
Security and Best Practices
- Configure security scanning with npm audit or similar
- Set up dependency vulnerability checking
- Add security headers for web applications
- Configure environment-specific security settings
-
Project Validation
- Verify all dependencies install correctly
- Run initial build to ensure configuration is working
- Execute test suite to validate testing setup
- Check linting and formatting rules are applied
- Validate that development server starts successfully
- Create initial commit with proper project structure
Files
- LICENSE1 KB
- init-project.md3.6 KB
What the automatic scan found
We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.
- Needs a lookAllowed tools with no limits
In file cli-tool/components/commands/project-management/init-project.md
Comments (0)
No comments yet. Be the first.
Sign in to comment. Commenting comes at level 1 (Member).