agentsclimarketplace

Project init

Skill u9401066/template-is-all-you-need/.claude/skills/project-init

Initialize new projects using this template. Triggers: init, new, 新專案, 初始化, create project, 建立專案, bootstrap, scaffold project, setup, 設定, 起始, start, 從頭, from scratch, template, 模板, 範本, clone, fork.From its SKILL.md

Install
npx -y skills add u9401066/template-is-all-you-need --skill project-init

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
  • runs commandsInstructs the agent to run 7 commands, including `git init` and 6 more.

SKILL.md

5.0 KB, ~1.7k tokens by cl100k_base, as published. Nobody here has run it

專案初始化技能

描述

將此專案作為模板,快速初始化新專案,完整繼承法規系統和 Skills 架構。

觸發條件

  • 「初始化新專案」「init」「新專案」
  • 「從模板建立專案」「template」
  • 「create new project」「bootstrap」

🔧 操作步驟

Step 1: 收集專案資訊

詢問使用者:

請提供新專案資訊:

1. **專案名稱**:my-awesome-project
2. **專案描述**:一句話描述
3. **專案類型**:
   - [ ] Python 後端
   - [ ] Node.js 後端
   - [ ] React 前端
   - [ ] Vue 前端
   - [ ] 全端 (Monorepo)
4. **授權類型**:MIT / Apache-2.0 / GPL-3.0
5. **目標路徑**:~/projects/my-awesome-project

Step 2: 建立目錄結構

# 建立專案目錄
New-Item -ItemType Directory -Path "C:\projects\my-awesome-project" -Force

# 建立核心目錄
$dirs = @(
    ".github\bylaws",
    ".github\workflows",
    ".github\ISSUE_TEMPLATE",
    ".claude\skills",
    "memory-bank",
    "docs",
    "tests"
)

foreach ($dir in $dirs) {
    New-Item -ItemType Directory -Path "C:\projects\my-awesome-project\$dir" -Force
}

Step 3: 複製法規系統

檔案/目錄動作說明
CONSTITUTION.md複製憲法
.github/bylaws/*.md複製所有子法
.github/copilot-instructions.md複製並修改更新專案名稱

Step 4: 複製 Skills

# 複製整個 skills 目錄
Copy-Item -Path "D:\template\.claude\skills\*" -Destination "C:\projects\my-awesome-project\.claude\skills" -Recurse

Step 5: 初始化 Memory Bank

建立空的 Memory Bank 檔案:

$memoryFiles = @(
    "activeContext.md",
    "progress.md",
    "decisionLog.md",
    "architect.md",
    "productContext.md",
    "projectBrief.md",
    "systemPatterns.md"
)

foreach ($file in $memoryFiles) {
    New-Item -ItemType File -Path "C:\projects\my-awesome-project\memory-bank\$file" -Force
}

初始內容範例(activeContext.md):

# Active Context

> Last updated: 2026-01-15

## 🎯 當前焦點

專案剛初始化,尚未開始開發。

## 📁 相關檔案

- 待新增

## ⚠️ 待解決問題

- [ ] 設定開發環境
- [ ] 定義領域模型

Step 6: 初始化專案檔案

README.md:

# {專案名稱}

> {專案描述}

## ✨ 功能特色

- 待新增

## 📦 安裝

\`\`\`bash
# 待補充
\`\`\`

## 🚀 快速開始

\`\`\`bash
# 待補充
\`\`\`

## 📄 授權

{授權類型} License

CHANGELOG.md:

# Changelog

All notable changes to this project will be documented in this file.

## [Unreleased]

### Added
- 專案初始化

Step 7: 初始化 Git

cd "C:\projects\my-awesome-project"
git init
git add .
git commit -m "chore: 初始化專案 (使用 template-is-all-you-need)"

Step 8: 依專案類型設定

Python 專案

# 建立 pyproject.toml
Copy-Item "D:\template\pyproject.toml.template" "pyproject.toml"

# 建立虛擬環境
uv venv
uv sync --all-extras

Node.js 專案

npm init -y
npm install --save-dev typescript @types/node

📁 複製內容對照表

來源目標動作
CONSTITUTION.mdCONSTITUTION.md複製
.github/bylaws/*.md.github/bylaws/*.md複製
.github/copilot-instructions.md.github/copilot-instructions.md複製並編輯
.claude/skills/*.claude/skills/*複製
memory-bank/*.mdmemory-bank/*.md建立空檔
README.mdREADME.md重新生成
CHANGELOG.mdCHANGELOG.md重新生成
.gitignore.gitignore複製
.git/.git/重新初始化

📊 輸出格式

🚀 專案初始化完成

專案資訊:
- 名稱:my-awesome-project
- 類型:Python 後端
- 位置:C:\projects\my-awesome-project

已建立:
- ✅ 目錄結構
- ✅ 憲法與子法 (CONSTITUTION.md + 4 bylaws)
- ✅ Claude Skills (19 個)
- ✅ Memory Bank (7 個空檔案)
- ✅ README.md / CHANGELOG.md
- ✅ Git 初始化

下一步:
1. cd C:\projects\my-awesome-project
2. code .
3. 執行「更新 memory bank」記錄專案目標

⚠️ 注意事項

  1. 不要複製 data/ 目錄:這是模板專案的暫存資料
  2. 重設所有版本號:CHANGELOG 從 Unreleased 開始
  3. 清空 Memory Bank:不要複製模板的記憶內容
  4. 更新專案名稱:搜尋並替換所有 "template-is-all-you-need"

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.