by hmohamed01
适用于 Claude、Codex 和 Claude Code 的 AI 技能
1. 打开 Claude 聊天界面
2. 点击下方 "📋 复制" 按钮
3. 粘贴到 Claude 聊天框中并发送
4. 输入 "使用 project-scaffolding 技能" 开始使用
=== project-scaffolding 技能 === 作者: hmohamed01 描述: 适用于 Claude、Codex 和 Claude Code 的 AI 技能 使用方法: 1. 调用技能: "使用 project-scaffolding 技能" 2. 提供相关信息: 根据技能要求提供必要参数 3. 查看结果: 技能会返回处理结果 示例: "使用 project-scaffolding 技能,帮我分析一下这段代码"
这种方法适用于所有 Claude 用户,不需要安装额外工具。
productivity
medium
Professional-grade project scaffolding comparable to WebStorm/PyCharm project wizards. Creates fully configured projects with SDK setup, framework options, database configuration, linting, and CI/CD.
When a user requests a new project, follow this interactive workflow:
Present the project type menu. Ask the user to select a category and type:
| Category | Types |
|---|---|
| Static Websites | HTML/CSS, HTML+Sass, HTML+Tailwind, Landing Page, Multi-page Site |
| Frontend Web | React, Next.js, Vue, Nuxt, Svelte, Angular, Astro, Remix, Solid, Qwik, Preact |
| Mobile/Desktop | React Native, Expo, Flutter, Tauri, Electron, Ionic |
| Backend (JS/TS) | Express, NestJS, Fastify, Hono, Elysia, tRPC, Koa |
| Backend (Python) | FastAPI, Django, Django REST, Flask, Litestar |
| Backend (Go) | Gin, Fiber, Echo, Chi |
| Backend (Rust) | Axum, Actix, Rocket |
| Backend (Java) | Spring Boot, Quarkus, Ktor, Micronaut |
| Backend (Other) | Laravel, Rails, .NET Web API |
| Libraries | TypeScript NPM, Python PyPI, Go Module, Rust Crate |
| CLI Tools | Node CLI, Python CLI (Typer/Click), Go CLI (Cobra), Rust CLI (Clap) |
| Extensions | Chrome Extension, Firefox Extension, VS Code Extension, Figma Plugin, Obsidian Plugin |
| Serverless | AWS Lambda, Cloudflare Workers, Vercel Functions, Supabase Functions |
| Full-Stack | T3 Stack, MERN, PERN, MEAN |
| Monorepos | Turborepo, Nx Workspace, pnpm Workspace |
Gather for ALL projects:
Load references/wizard-options.md for detailed configuration options based on the selected project type. Key decisions include:
Use scripts/scaffold.py or native CLI tools to create the project structure.
Prefer native CLI tools when available:
| Framework | CLI Command |
|---|---|
| Next.js | npx create-next-app@latest |
| React (Vite) | npm create vite@latest -- --template react-ts |
| Vue | npm create vue@latest |
| Nuxt | npx nuxi@latest init |
| Astro | npm create astro@latest |
| Remix | npx create-remix@latest |
| SvelteKit | npm create svelte@latest |
| Solid | npm create solid@latest |
| Expo | npx create-expo-app@latest |
| React Native | npx @react-native-community/cli init |
| Flutter | flutter create |
| Tauri | npm create tauri-app@latest |
| NestJS | npx @nestjs/cli new |
| Spring Boot | spring init or start.spring.io |
| Go | go mod init |
| Rust | cargo new |
| Chrome Ext | npm create plasmo@latest |
| T3 Stack | npx create-t3-app@latest |
mkdir my-website && cd my-website
touch index.html style.css
# Or use boilerplate:
npx degit h5bp/html5-boilerplate my-website
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Website</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-100">
<h1 class="text-3xl font-bold">Hello World</h1>
</body>
</html>
npx create-t3-app@latest my-app
npx create-expo-app@latest my-app --template tabs
npm create tauri-app@latest my-app -- --template react-ts
npm create plasmo@latest my-extension
User: Create a simple website with HTML and CSS
Claude: I'll create a static HTML/CSS website:
- Multi-page (Home, About, Contact)
- Mobile-first responsive CSS
- BEM naming convention
- Live Server for development
Structure:
my-website/
├── index.html
├── about.html
├── contact.html
├── css/style.css
├── js/main.js
└── images/
Shall I create this?
User: Create a mobile app for iOS and Android
Claude: I recommend Expo for the easiest setup:
- TypeScript
- Expo Router (file-based navigation)
- NativeWind (Tailwind for RN)
- Tab navigation template
Ready to scaffold?
User: Create a full-stack app with type-safe API
Claude: I recommend the T3 Stack:
- Next.js 14 (App Router)
- tRPC (type-safe API)
- Prisma (type-safe ORM)
- Tailwind CSS
- NextAuth.js
- PostgreSQL with docker-compose
This gives you full type safety from database to frontend!
User: Build a Chrome extension
Claude: What features do you need?
- Popup UI
- Content script (modifies pages)
- Background service worker
- Side panel
Tech stack: React + Vite + TypeScript + Manifest V3
I recommend using Plasmo framework for easier development.
Load reference files based on what you need:
| Resource | When to Load | Purpose |
|---|---|---|
references/wizard-options.md | During Step 3 (gathering user preferences) | Configuration choices and defaults for each framework |
references/frameworks.md | When generating code | Project structures, code examples, configuration files |
references/best-practices.md | For architecture decisions | Directory organization, naming conventions, patterns |
scripts/scaffold.py | For custom scaffolding | Python engine when CLI tools aren't suitable |
Workflow:
wizard-options.md to gather user preferencesframeworks.md for code patterns and project structure when generatingbest-practices.md for architecture decisions| Category | Recommendation |
|---|---|
| JS Runtime | Node.js 22 LTS |
| Package Manager | pnpm |
| Python Version | 3.12 |
| Go Version | 1.23 |
| Rust Edition | 2021 |
| Java Version | 21 LTS |
| CSS Framework | Tailwind CSS |
| State (React) | Zustand + TanStack Query |
| ORM (Node) | Prisma |
| ORM (Python) | SQLAlchemy 2.0 |
| ORM (Go) | sqlc |
| Testing (JS) | Vitest |
| Testing (Python) | pytest |
| E2E Testing | Playwright |
| Linting (JS) | ESLint + Prettier |
| Linting (Python) | Ruff |
| CI/CD | GitHub Actions |
| Containerization | Multi-stage Dockerfile |
View Count
0
Download Count
0
Favorite Count
0
Quality Score
58