project-bootstrap
Initialize new backend/frontend projects with opinionated defaults.
When & Why to Use This Skill
The Project Bootstrap skill is designed to accelerate the initial phase of software development by automating the creation of new backend and frontend projects. It provides a standardized, opinionated foundation using shell scripts and templates for frameworks like Laravel and Next.js. By incorporating built-in best practices for linting, testing, and documentation, it ensures consistency across team projects and eliminates the overhead of repetitive manual configuration.
Use Cases
- Rapidly scaffolding a new Laravel backend project with Pest testing, Pint linting, and standard directory structures already in place.
- Initializing a Next.js frontend application with TypeScript, Tailwind CSS, and ESLint pre-configured for immediate development.
- Standardizing project documentation and collaboration workflows by automatically generating consistent README files and Pull Request templates.
- Reducing 'time-to-code' for developers by automating environment setup and dependency initialization through simple command-line scripts.
- Ensuring all new team repositories follow the same CI/CD and formatting conventions from day one.
| name | project-bootstrap |
|---|---|
| description | Initialize new backend/frontend projects with opinionated defaults. |
Project Bootstrap Skill
Purpose
Use this Skill when you need to quickly scaffold new projects with consistent configurations, best practices, and team conventions already built-in. This eliminates repetitive setup work and ensures all projects start with the same foundation.
How this Skill works
This Skill provides:
- Shell scripts for automated project initialization (Laravel, Next.js)
- Template files for README and PR templates
- Pre-configured settings for linting, formatting, and CI/CD
Scripts
| Script | Description |
|---|---|
scripts/init-laravel.sh |
Initialize a new Laravel project with Pest, Pint, and standard structure |
scripts/init-nextjs.sh |
Initialize a new Next.js project with TypeScript, ESLint, and Tailwind |
Templates
| Template | Description |
|---|---|
templates/README.template.md |
Standard README structure for new projects |
templates/PR_TEMPLATE.template.md |
Pull request template with checklist |
Requirements
- Laravel: PHP 8.2+, Composer, Node.js 18+
- Next.js: Node.js 18+, npm or yarn
- General: Git configured with user name/email
Environment Variables
None required. Scripts will prompt for project-specific values.
Example invocation
Initialize a Laravel project
# From the skills directory
./scripts/init-laravel.sh my-laravel-app
# Or specify a path
./scripts/init-laravel.sh my-app ~/projects/
Initialize a Next.js project
# From the skills directory
./scripts/init-nextjs.sh my-nextjs-app
# With TypeScript (default)
./scripts/init-nextjs.sh my-app --typescript
Using with Claude
When working with Claude, you can reference this Skill:
"Use the project-bootstrap Skill to scaffold a new Laravel API project called 'inventory-api' with Pest testing framework."
"Bootstrap a new Next.js application using the project-bootstrap Skill. Include TypeScript and Tailwind CSS."
Customization
To adapt these scripts for your team:
- Edit the scripts in
scripts/to match your conventions - Update templates in
templates/with your project structure - Add additional scripts for other frameworks (Rails, Django, etc.)
Related Skills
code-review-checklist- Review standards for projects created with this Skill