Init Project
Initialize new project with essential structure, configuration, and development environment setup
Before you use this component
This is a third-party source bundle, not an installation into your account. UI Discovery has checked the available redistribution license evidence; runtime behavior has not been tested. Review all files, use a disposable project first, and do not enable scripts or hooks until you understand their permissions.
Some integrations require separately installed software, API keys or paid services. Credentials and subscriptions are not included. These are Claude Code resources; other clients may require adaptation.
Extract the ZIP into a temporary folder, inspect its entry file and supporting resources, then follow the original instructions. Do not overwrite an existing project configuration blindly. Keep the bundled license and attribution notices.
- Source publisher
- Claude Code Templates
- Creator supplied by source
- Not listed in source
- Pinned source version
- a344359459263d73d8948651c789244093c02e4e
- License evidence
- LICENSE
Source preview
cli-tool/components/commands/project-management/init-project.md
---
allowed-tools: Read, Write, Edit, Bash, Glob
argument-hint: [project-type] [framework] | --react | --vue | --api | --cli
description: Initialize new project with essential structure, configuration, and development environment setup
---
# Initialize New Project
Initialize new project with essential structure: **$ARGUMENTS**
## Instructions
1. **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
2. **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
3. **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
4. **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
5. **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
6. **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
7. **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
8. **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
9. **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
10. **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 structurePreview capped at 60,000 characters. Download the bundle for every original file and notice.
Read the redistribution license
MIT License Copyright (c) 2025 Daniel (San) Ávila Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Bundle SHA-256: d597d03cda190077369b91ce79d73983c9dff54b7ea8777b120327b94d54e037. Files are served as downloads and are never executed by this page.