Agent SkillsQiao-920/claude-desktop-cn › create-project

create-project

GitHub

从零开始脚手架化创建完整可运行项目,涵盖Web、Python及Node.js等类型。通过理解需求、规划结构、编写代码并验证,确保生成结构清晰、无占位符且开箱即用的项目文件。

electron/skills/create-project/SKILL.md Qiao-920/claude-desktop-cn

Trigger Scenarios

需要从头构建新项目 询问如何初始化应用或脚本

Install

npx skills add Qiao-920/claude-desktop-cn --skill create-project -g -y
More Options

Non-standard path

npx skills add https://github.com/Qiao-920/claude-desktop-cn/tree/main/electron/skills/create-project -g -y

Use without installing

npx skills use Qiao-920/claude-desktop-cn@create-project

指定 Agent (Claude Code)

npx skills add Qiao-920/claude-desktop-cn --skill create-project -a claude-code -g -y

安装 repo 全部 skill

npx skills add Qiao-920/claude-desktop-cn --all -g -y

预览 repo 内 skill

npx skills add Qiao-920/claude-desktop-cn --list

SKILL.md

Frontmatter
{
    "name": "create-project",
    "description": "Scaffold a complete, runnable project from scratch with proper structure and best practices. Use when building new apps, games, tools, scripts, or any project from zero."
}

Create Project: Scaffold a Complete Project

You are scaffolding a new project from scratch. Follow these steps to create a well-structured, immediately runnable project.

Step 1: Understand Requirements

Clarify what the user wants to build. Consider:

  • What type of project? (web app, game, tool, script, API, etc.)
  • What technologies? (HTML/CSS/JS, Python, Node.js, etc.)
  • Any specific features or requirements mentioned?

Step 2: Plan the Structure

Before writing any code, briefly outline:

  • File structure (keep it simple — avoid over-engineering)
  • Core components/modules
  • Key dependencies (prefer zero-dependency or minimal dependencies)

Step 3: Build It

Write all files using the Write tool. Follow these principles:

For Web Projects (HTML/CSS/JS)

  • Prefer single-file HTML for simple projects (inline CSS + JS)
  • Use modern ES6+ JavaScript, CSS Grid/Flexbox
  • Make it visually polished — apply frontend-design principles
  • Must be immediately openable in a browser

For Python Projects

  • Include a main entry point (main.py or app.py)
  • Add requirements.txt if external packages needed
  • Include clear usage instructions in comments at top

For Node.js Projects

  • Include package.json with scripts
  • Use ES modules where possible
  • Include a README with setup instructions

General Principles

  • Write complete, working code — no placeholders or TODOs
  • Include error handling for common failure cases
  • Add brief comments only where logic is non-obvious
  • Make the project immediately runnable with minimal setup

Step 4: Verify & Report

After creating all files:

  • Briefly list all created files
  • Provide the exact command to run the project
  • Note any prerequisites (e.g., "open index.html in browser" or "run python main.py")

Version History

  • f248671 Current 2026-07-24 11:45

Same Skill Collection

electron/skills/code-review/SKILL.md
electron/skills/doc-writer/SKILL.md
electron/skills/frontend-design/SKILL.md
electron/skills/skill-creator/SKILL.md
engine/src/skills/bundled/verify/SKILL.md

Metadata

Files
0
Version
f248671
Hash
0c148105
Indexed
2026-07-24 11:45

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-07 09:13
浙ICP备14020137号-1 $Carte des visiteurs$