Back to skills
SKILL.md
Project Setup
ASecuritySet up new projects with proper structure, configuration, and best practices. Use this skill when creating new projects or initializing new codebases.
- 33 stars
- 0 votes
- 0 copies
- 1 view
- Added February 10, 2026
Works with
Security analysis
96/100- Installs packages at runtime which could introduce malicious dependencies
npx -y skills add lovedragonball/power-ranger-toolkit --skill project-setup --agent claude-codeAre you the author of Project Setup?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/lovedragonball-project-setup)---
name: project-setup
description: Set up new projects with proper structure, configuration, and best practices. Use this skill when creating new projects or initializing new codebases.
---
# π Project Setup Skill
## Web Project Structure
```
π project-name/
π src/
π components/ β UI Components
π pages/ β Page Components
π hooks/ β Custom Hooks
π utils/ β Utility Functions
π types/ β TypeScript Types
π services/ β API Services
π stores/ β State Management
π assets/ β Images, Fonts
π public/ β Static files
π tests/ β Test files
π .gitignore
π .env.example
π package.json
π README.md
π tsconfig.json
```
## Essential Files
### .gitignore
```
node_modules/
dist/
.env
*.log
.DS_Store
```
### .env.example
```
# Server
PORT=3000
# Database
DATABASE_URL=
# API Keys (replace with your own)
API_KEY=
```
### package.json scripts
```json
{
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"test": "vitest",
"lint": "eslint src/",
"format": "prettier --write src/"
}
}
```
## Setup Checklist
### 1. Initialize
```powershell
# Create project
npx -y create-vite@latest ./ --template react-ts
# Install dependencies
npm install
```
### 2. Configure Linting
```powershell
# ESLint + Prettier
npm install -D eslint prettier eslint-config-prettier
```
### 3. Git Setup
```powershell
git init
git add .
git commit -m "Initial commit"
```
### 4. Environment
```powershell
# Copy example env
Copy-Item .env.example .env
```
## Framework-Specific Setup
### React + Vite
```powershell
npx -y create-vite@latest ./ --template react-ts
```
### Next.js
```powershell
npx -y create-next-app@latest ./ --typescript --tailwind --eslint
```
### Chrome Extension
```
π extension/
π manifest.json β V3 manifest
π src/
π background.js
π content.js
π popup.html
```
## Post-Setup Verification
- [ ] `npm run dev` works
- [ ] `npm run build` succeeds
- [ ] `npm run test` passed
- [ ] `.env` is in `.gitignore`
- [ ] README has setup instructions
Attribution
Comments
Loading commentsβ¦