agentleFS
u9401066u9401066/template-is-all-you-need/.claude/skills/project-init/SKILL.md

project-init

Skill3 starsChanged 9 months agoApache-2.0View on GitHub

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

  • Installs packages

43 other projects use a version of this, 4 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use harness-audit, workflow and 2 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • sattva2020Skill

    harness-audit

    Audits a codebase for "AI-agent harness" maturity across six layers (context engineering, tools & MCP, memory & state, tests & evals, observability, guardrails & approvals). Scores each layer, flags AGENTS.md/CLAUDE.md drift, gives prioritized fixes. Use for "audit harness", "оцени харнес", "check agent readiness", "is this project agent-ready", "проверь готовность к AI-агентам".

    Also in 3 projects that use this

  • VercelSkill

    workflow

    Creates durable, resumable workflows using Vercel's Workflow SDK. Use when building workflows that need to survive restarts, pause for external events, retry on failure, or coordinate multi-step operations over time. Triggers on mentions of "workflow", "durable functions", "resumable", "workflow sdk", "queue", "event", "push", "subscribe", or step-based orchestration.

    Also in 3 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 3 projects that use this

  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 3 projects that use this

The file

Files
SKILL.md

專案初始化技能

描述

將此專案作為模板,快速初始化新專案,完整繼承法規系統和 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"

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.